- Nov 11, 2008
-
-
Iustin Pop authored
Currently the makefile always recreates the ganeti symlink. Make it so that it does only when it doesn't exist or it's not a symlink. Reviewed-by: imsnah
-
- Oct 20, 2008
-
-
Iustin Pop authored
Since now we use only one function from the logger module (SetupLogging), we move it to utils.py (which is already imported by all users of this function), and we remove the module. Reviewed-by: imsnah
-
- Oct 14, 2008
-
-
Michael Hanselmann authored
This was a leftover from the early days of the remote API in Ganeti 1.2. Reviewed-by: ultrotter
-
- Oct 10, 2008
-
-
Michael Hanselmann authored
This mainloop can be used in daemons like ganeti-noded. Reviewed-by: iustinp
-
- Oct 07, 2008
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- Oct 06, 2008
-
-
Iustin Pop authored
This function will be used for auto-archiving jobs via the command line. The function is pretty simple, we only support up to weeks since months and higher are not 'precise' entities, and dealing with them would require us to start using calendar functions. Reviewed-by: imsnah
-
Oleksiy Mishchenko authored
Reviewed-by: iustinp
-
- Oct 02, 2008
-
-
Michael Hanselmann authored
docbook-wrapper had the names for the docbook2* programs hardcoded. This patch changes Makefile.am and the wrapper script to pass them via another argument. Another issue where rapi.in was built before rapi-resources.sgml is also fixed. Reviewed-by: iustinp
-
- Sep 30, 2008
-
-
Michael Hanselmann authored
This patch also adds the design documents to Makefile.am. Reviewed-by: iustinp
-
- Aug 29, 2008
-
-
Guido Trotter authored
Reviewed-by: imsnah
-
- Aug 25, 2008
-
-
Michael Hanselmann authored
I forgot to remove these when converting the QA configuration from YAML to JSON. Reviewed-by: ultrotter
-
- Aug 18, 2008
-
-
Michael Hanselmann authored
The cluster no longer keeps individual host's SSH key, but rather aliases all of them to the cluster name. Reviewed-by: ultrotter
-
- Aug 15, 2008
-
-
Michael Hanselmann authored
To my knowledge they're used nowhere and it's at least slightly confusing to people adding new QA checks. Reviewed-by: ultrotter
-
- Aug 13, 2008
-
-
Guido Trotter authored
ht_kvm.py contains the code for ganeti to work under kvm. This patch also modifies Makefile.am to ship that file, and lib/hypervisor/__init__.py to import it, and add kvm to the hypervisors map. Reviewed-by: imsnah
-
Guido Trotter authored
This allows to configure a different path to the kvm binary. By default /usr/bin/kvm is used, which is the one found in debian and ubuntu. Reviewed-by: imsnah
-
- Aug 08, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Aug 04, 2008
-
-
Michael Hanselmann authored
This will be used to move common code out of jqueue. Reviewed-by: iustinp
-
- Jul 30, 2008
-
-
Iustin Pop authored
This (big) patch reworks the master startup/shutdown and the fixes the master failover. What does the patch do? For master start/stop: - remove the old ganeti-master script and its associated man page - moves the ip start/stop directly into the backend.(Start|Stop)Master - adds start/stop of the master/rapi daemon into these functions, selectively based on the start/stop arguments - makes the master call via rpc StartMaster(start_daemons=False) to the local node so that the master IP is started - and finally changes the example init.d script to directly start and stop all three daemons, since they do the right thing (depending on master/not master role) For master failover: - moves the code from LUMasterFailover into bootstrap.MasterFailover, since we need to start/stop the master during this operation and thus it can't be executed from the master - removes the LUMasterFailover and its associated opcode Notes: ubuntu's /etc/lsb-base-logging.sh is dumb, so the messages 'not master' are not seen during startup on non-master nodes. Reviewed-by: ultrotter
-
- Jul 28, 2008
-
-
Michael Hanselmann authored
All other daemons have their main code in themselves and not in a module. This patch does the same to ganeti-rapi by moving the code from lib/rapi/RESTHTTPServer.py to daemons/ganeti-rapi. Reviewed-by: iustinp
-
- Jul 24, 2008
-
-
Oleksiy Mishchenko authored
Reviewed-by: imsnah
-
- Jul 22, 2008
-
-
Oleksiy Mishchenko authored
Reviewed-by: iustinp
-
- Jul 15, 2008
-
-
Oleksiy Mishchenko authored
Reviewed-by: imsnah
-
Iustin Pop authored
The patch adds the apidoc target and the epydoc config file for it. Note that this is for epydoc 3.0 and that it will put the docs into ./doc/api/. The patch also adds a new .gitignore rule for the auto-generated rapi fragment. Reviewed-by: imsnah
-
- Jul 11, 2008
-
-
Michael Hanselmann authored
As a nice side-effect this also fixes "make distcheck". The way used to include the generated rapi-resources.sgml file only works if it's built in the same directory. That's not the case during "make distcheck". The patch changes the sed script used for variables to include the file using its absolute path. Reviewed-by: iustinp
-
Oleksiy Mishchenko authored
Reviewed-by: imsnah
-
Michael Hanselmann authored
Some of the code is adopted from the 1.2 branch (lib/rapi/RESTHTTPServer.py). This code can be used as a base for the various HTTP servers in Ganeti. Reviewed-by: iustinp
-
Oleksiy Mishchenko authored
Reviewed-by: iustinp
-
- Jul 04, 2008
-
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
- Jun 23, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Automake automatically appends "--" to @mkdir_p@. In case you have a directory named "--" in your source tree, you can remove it using the command "rm -rf -- --". Reviewed-by: iustinp
-
- Jun 19, 2008
-
-
Michael Hanselmann authored
This change allows us to use cleaner dependencies between directories. The build system is basically rewritten in large parts and may contain bugs. Reviewed-by: iustinp
-
- May 05, 2008
-
-
Michael Hanselmann authored
- Use variable with prefix instead of grep and sed - Always run with /bin/bash Reviewed-by: ultrotter
-
- Apr 28, 2008
-
-
Michael Hanselmann authored
Before it was a huge file with more than 700 lines. No code changes were made except for changing imports and class names where needed. In the future, we could even think about only importing the hypervisors we actually need. The patch finished QA scripts and distcheck successfully. Reviewed-by: iustinp
-
- Jan 18, 2008
-
-
Iustin Pop authored
In revision 459 I added a bug in the make dist rule in the sense that the archive will include *all* of test/data directory, including the .svn directory if it exists. This patch fixes that problem and adds a distcheck hook that tests for such errors in the future (files/directories matching the .svn and .git patterns). It also fixes a typo in the NEWS file. Reviewed-by: imsnah
-
- Nov 26, 2007
-
-
Iustin Pop authored
This patch adds checking for our external python modules at the ./configure stage, as it's better to check than rely on documentation. The patch adds one autoconf macro from the autoconf macro archive (http://autoconf-archive.cryp.to) Reviewed-by: imsnah
-
- Nov 14, 2007
-
-
Michael Hanselmann authored
Reviewed-by: schreiberal
-
- Oct 10, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Oct 08, 2007
-
-
Michael Hanselmann authored
- Move symlink to “ganeti” to top dir - Add ganeti.config_unittest.py to tests to be run - Make sure everything is built before tests are run Reviewed-by: iustinp
-
- Oct 04, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp, ultrotter
-