- Jun 13, 2008
-
-
Michael Hanselmann authored
- Shorter code - Reorder arguments to logger.SetupLogging calls to make more sense Reviewed-by: iustinp
-
Guido Trotter authored
When a Job raises a ganeti exception a message is printed but nothing is reported in the job itself. It's better to update the job status, thus notifying the client, possibly polling for the job result, of what went wrong. Reviewed-by: iustinp
-
Guido Trotter authored
s/result/op_result/ (this code was never used, so this wasn't caught) Reviewed-by: iustinp
-
- Jun 12, 2008
-
-
Michael Hanselmann authored
Not all distributions have the same version of aclocal, autoconf or automake. Users can pass the name of a specific executables via environment variables. Change configure.ac to require at least autoconf 1.9. Reviewed-by: iustinp
-
Michael Hanselmann authored
This allows us to initialize a new cluster. The code certainly contains bugs and hooks aren't implemented yet. Reviewed-by: iustinp
-
Michael Hanselmann authored
This is required for splitting the cluster initialization code. Reviewed-by: iustinp
-
Michael Hanselmann authored
This is required for the split of the cluster initialization code. Reviewed-by: iustinp, ultrotter
-
Michael Hanselmann authored
It's not needed anymore now that all opcodes require a cluster. Cluster initialization was the only exception. Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
…/run/master.sock is not specific enough. Reviewed-by: iustinp
-
- Jun 11, 2008
-
-
Guido Trotter authored
SimpleStore is instantiated anew most of the times it's used, so having a cache inside it serves no purpose. Removing it. Reviewed-by: iustinp
-
- Jun 06, 2008
-
-
Michael Hanselmann authored
- Failover back to original node in instance failure test - Exclude secondary node from list of potential nodes in replace-disks test Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Add --iallocator options - Small text fixes Reviewed-by: ultrotter
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
Michael Hanselmann authored
The remote API will use JSON for the foreseable future, so it's better to put the serialization format in the function name. We can still use another serialization format for Ganeti's core. Reviewed-by: amishchenko, schreiberal
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
- May 31, 2008
-
-
Iustin Pop authored
Currently the check for enough memory is done only on instance start command and failover command. But we also start an instance in instance create, therefore we need to check this instead of failing to start in the hypervisor phase. The patch adds a check for node memory in the case the creation command specifies that the instance should be started. It is allowed for the memory to be less than needed if the instance will not be started, in order to allow migration and other such cases. Reviewed-by: imsnah
-
Iustin Pop authored
Author: schreiberal Reviewed-by: iustinp
-
Iustin Pop authored
Another tiny fix. Anybody got a nice brown paper bag I can wear? Author: schreiberal Reviewed-by: iustinp
-
Iustin Pop authored
This fixes gnt-instance modify so it actually works with the new HVM parameters for Ganeti 1.2 Author: schreiberal Reviewed-by: iustinp
-
Iustin Pop authored
This patch modifies the code for "gnt-instance info .." to only display instance parameters that actually apply to that instance, i.e. for PVM instances no HVM parameters are shown and vice versa. Author: schreiberal Reviewed-by: iustinp
-
Iustin Pop authored
This patch documents the extended HVM features. Author: schreiberal Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds hypervisor support for the extended HVM features. Author: schreiberal Reviewed-by: iustinp
-
Iustin Pop authored
This patch adds the commandline extensions and the code to store and display the extended HVM features. Author: schreiberal Reviewed-by: iustinp
-
- May 30, 2008
-
-
Iustin Pop authored
This patch removes the last of the md and drbd 0.7 code. Cluster which have the old device types will be broken if they have this applied. Reviewed-by: imsnah
-
Iustin Pop authored
Currently: the LURemoveInstance.Exec() method uses the ignore_failures attribute of the OpRemoveInstance opcode, but it doesn't check for its existence. The patch adds this attribute to _OP_REQP and to all the places where this opcode was created. This attributes is always passed by gnt-instance, but burnin didn't pass it so it can fail if it enters the 'fail to remove disks' branch of the method (which is why it was not triggered until now). Reviewed-by: ultrotter, imsnah
-
- May 29, 2008
-
-
Iustin Pop authored
Since we have removed support for local and remote raid1, update the man pages and guides to reflect the new situation. 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 15, 2008
-
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
Guido Trotter authored
Add this recently added option to the gnt-cluster man page before releasing 1.2.4. Reviewed-by: imsnah
-
Guido Trotter authored
It turns out in some cases there can exist keywords without an associated value exported by drbdsetup show. This patch makes the value part optional in our parser, so that if it's not present the parsing result will contain an array with just the keyword in it. This is not a problem since we check all keyword names before accessing their values, so we won't mistakenly try to access the value of a valueless keyword. Reviewed-by: iustinp
-
Guido Trotter authored
Make _AssembleDisk more similar to _AssembleNet by splitting the generation of the drbdsetup command and its execution. While not changing anything this makes it easier to manipulate the command just in certain cases, which in the future we'll need to do. Reviewed-by: iustinp
-
- May 13, 2008
-
-
Iustin Pop authored
[Trunk version] Reviwed-by: imsnah
-
Iustin Pop authored
This patch adds in gnt-cluster verify checks for inter-node tcp communication checks on the node daemon port for both the primary and (if defined) secondary networks. The output looks like (4-node cluster, one with the secondary interface down): * Verifying node node1.example.com - ERROR: tcp communication with node 'node3.example.com': failure using the secondary interface(s) * Verifying node node2.example.com - ERROR: tcp communication with node 'node3.example.com': failure using the secondary interface(s) * Verifying node node3.example.com - ERROR: tcp communication with node 'node1.example.com': failure using the secondary interface(s) - ERROR: tcp communication with node 'node2.example.com': failure using the secondary interface(s) - ERROR: tcp communication with node 'node4.example.com': failure using the secondary interface(s) * Verifying node node4.example.com - ERROR: tcp communication with node 'node3.example.com': failure using the secondary interface(s) Reviewed-by: imsnah
-
Michael Hanselmann authored
qa_node.py: Fix typo in message cmdlib.py: Don't add readded node to node list ganeti-qa.py: Make sure readd isn't done for master node Reviewed-by: iustinp
-
Iustin Pop authored
This new version of the patch removes only the listing of the usage in the "gnt-X" list, but keeps the strings in since we'll want to enhance and use them in "gnt-X $cmd --help". Reviewed-by: ultrotter
-