- 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
-
- 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
-
- Jun 06, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
- May 31, 2008
-
-
Iustin Pop authored
This patch documents the extended HVM features. Author: schreiberal Reviewed-by: imsnah
-
- May 24, 2008
-
-
Guido Trotter authored
When creating the ganeti tarball the dumb allocator was left out. Shipping it alongside the other examples. Reviewed-by: iustinp
-
- May 05, 2008
-
-
Iustin Pop authored
Now that we have the number of cpus available from the hypervisors, we can export this to the iallocator scripts. Reviewed-by: ultrotter
-
- Apr 30, 2008
-
-
Manuel Franceschini authored
Since local_raid1 and remote_raid1 are deprecated they are removed from the docs. This patch removes some old documentation sections and bumps the documented version from 1.2 to 1.3. Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
- Apr 25, 2008
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Apr 23, 2008
-
-
Iustin Pop authored
Currently the replace_secondary mode is too restrictive. This patch changes this to a general 'relocate' mode where the node(s) to be changed are specified via a new key in the request dict ('nodes') so that we can change any of the instance's nodes. Note that for the relocate mode, len(nodes) == required_nodes, so the required nodes field is redundant, but it is provided for consistency with the allocate mode. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch allows the dumb allocator to perform the replace secondary request type. This is done simply by not allowing the current instances nodes as a valid selection, and using the existing instance data instead of the request (which doesn't have the instance info when doing the replace_secondary). Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds the 'required_nodes' field in the request dict for the iallocator. This means that the handmade-checks in the create instance can be simplified, and that the dumb allocator can be made simple. Therefore the patch also modifies it. The patch also sends the disk_space_total to the script in realocate mode and a small fix for showing errors (include stderr too). Reviewed-by: ultrotter
-
- Apr 16, 2008
-
-
Iustin Pop authored
This (final) patch allows the instance's nodes to be selected automatically based on the passed allocator algorithm. The patch changes the pnode opcode parameter from required to optional, now either the pnode or the iallocator must be passed. A possible improvement could be to organize all the _IAllocator functions into a separate class, but that can come later and the current version is functionally ok. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds the paths for searching for instance allocators and makes the LUTestAllocator code run the allocator and return the results if the direction specified is 'out'. 'out' means that the opcode will return the result of the allocator run, instead of the allocator input file ('in'). The patch unifies all names to refer to 'iallocator' instead of plain allocator. The patch also adds an example allocator that can be used for testing this new functionality. Reviewed-by: ultrotter
-
- Apr 11, 2008
-
-
Iustin Pop authored
Reviewed-by: ultrotter
-
- Apr 10, 2008
-
-
Iustin Pop authored
Currently, the example scripts (the init.d and the cron script) do not depend on the Makefile, so if configure is rerun with different parameters these scripts are not rebuild. The patch adds Makefile as a dependency so changes to installation paths or other parameters trigger the rebuild. Reviewed-by: imsnah
-
- Mar 19, 2008
-
-
Iustin Pop authored
Currently in order to deal with tmpfs /var/run, we create the BDEV_CACHE_DIR in the init script. However, that does not cover all the cases, and it's not a proper place to deal with it: for example, dealing with not initialized clusters and the master node is more complicated. Therefore, this patch does: - make ganeti-noded create the directory automatically - make ganeti-noded error out if it can't create it or it's already there but not a directory - remove the creation from the init.d script Reviewed-by: ultrotter
-
- Feb 23, 2008
-
-
Guido Trotter authored
The cron file in ganeti's example directory is now static, and executes ganeti-watcher in /usr/local/sbin no matter where it's really installed. With this patch we generate it at build time substituting the right value of @SBINDIR@ from ganeti.cron.in. We also make sure ganeti-watcher exists and is executable before running it. This is targeted at 1.2 as well. Reviewed-by: iustinp
-
- Feb 15, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Feb 06, 2008
-
-
Iustin Pop authored
This patch adds some documentation about the proposed client API. It's not yet complete, but should be a usable draft for the initial implementation. Reviewed-by: ultrotter
-
- Jan 30, 2008
-
-
Iustin Pop authored
Reviewed-by: ultrotter
-
- Jan 20, 2008
-
-
Iustin Pop authored
The script (which is geared towards Debian) is actually not fully compliant, as lintian generates a warning on it - the S runlevel is not a valid one in the "Stop" stanza. This patch removes "S" from the stop list. Reviewed-by: imsnah
-
- Jan 18, 2008
-
-
Iustin Pop authored
This a merge to trunk of revision 494. Reviewed-by: imsnah
-
- Dec 21, 2007
-
-
Alexander Schreiber authored
Update documentation to document the HVM proof-of-concept. Reviewed-by: iustinp
-
- Dec 17, 2007
-
-
Iustin Pop authored
Since 8.0.6 and lower have issues that break Ganeti's usage of drbd, this patch notes the required version of DRBD. Reviewed-by: ultrotter
-
- Dec 04, 2007
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Nov 28, 2007
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Nov 27, 2007
-
-
Iustin Pop authored
We want the name of the example OS to be nicer for packagers, so update the install documentation accordingly. Also, put in a notice about using the latest release OS version, so if we forget to update this doc, we are not completely wrong. Reviewed-by: schreiberal
-
- Nov 26, 2007
-
-
Iustin Pop authored
This reverts commit 397, as the support in autoconf for docdir is present since 2.59c, and this is too new for some distributions. Reviewed-by: imsnah
-
- Nov 22, 2007
-
-
Iustin Pop authored
The /var/run directory can be a tmpfs mount, so even if we make it at install time (or include it in the package) it can go away. Therefore, test for its existence and create it in the startup script. Reviewed-by: imsnah
-
Iustin Pop authored
The docdir variable is defined by autoconf, so we don't need to define it ourselves. This way, the target documentation directory can be changed via ./configure instead of patching Makefile.am. In truth, we should install the pdf and html files using the pdf and html targets, since configure defines pdfdir=htmldir=docdir; but installing them in docdir is good enough. Reviewed-by: imsnah
-
- Nov 16, 2007
-
-
Michael Hanselmann authored
Reviewed-by: schreiberal
-
- Nov 15, 2007
-
-
Guido Trotter authored
By default xen tries to save running virtual machines at system shutdown and restore them at reboot. Make sure we suggest to disable this feature in the installation manual. Reviewed-by: iustinp
-
Guido Trotter authored
The install manual was missing python-pyparsing and python-simplejson from the apt-get install list. Adding them. Thanks to Henning Sprang for spotting this issue. Reviewed-by: iustinp
-
- Nov 13, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Nov 12, 2007
-
-
Iustin Pop authored
This patch does: - add drbd8 information to the docs (the new disk template, examples, etc.) - fixes a section header to make it more clear - update the NEWS file by changing format (format taken by looking at /usr/sharea/doc/*/NEWS.gz) and adding more information on changes since beta1 Reviewed-by: ultrotter
-
- Nov 09, 2007
-
-
Iustin Pop authored
Currently, an unreachable node (or one that return undetermined failure) in the hooks pre-phase will abort the curren operation. This is not good, as a down node could prevent many operation on the cluster. This patch changes a RPC-level failure (and not a hook execution failure) into a warning. It also modifies the related test cases. This fixes issue 11. Reviewed-by: ultrotter
-
Michael Hanselmann authored
This makes “make distcheck” work again. Reviewed-by: schreiberal
-