- Dec 18, 2008
-
-
Michael Hanselmann authored
With a large job queue, auto-archiving jobs can take a very long time, causing timeouts on the luxi RPC layer. With this change, auto- archive returns after half of the RPC timeout has passed. The user will see how many jobs are left unchecked. Reviewed-by: ultrotter
-
- Dec 11, 2008
-
-
Iustin Pop authored
This patch should fix all outstanding epydoc parsing errors; as such, we switch epydoc into verbose mode so that any new errors will be visible. Reviewed-by: imsnah
-
- Dec 08, 2008
-
-
Iustin Pop authored
This patch changes gnt-node modify and the associated opcode/lu to allow modification of the node offline attribute. Setting a node into offline mode automatically demotes it from the master role. Reviewed-by: ultrotter
-
- Dec 05, 2008
-
-
Iustin Pop authored
Reviewed-by: ultrotter
-
- Dec 03, 2008
-
-
Guido Trotter authored
- Add a new command line option, defaulting to the constant value - Pass the value to bootstrap.InitCluster - Use it to init the new Cluster object Reviewed-by: imsnah
-
Guido Trotter authored
Currently we have to update both the ListNodes headers and the online help for the full field list. This patch uses the headers keys for the help, thus removing duplicating places to update, and adding hope that we'll have things in sync. As a downside we lose ordering of the non-default fields in the online help. Reviewed-by: imsnah
-
- Dec 02, 2008
-
-
Guido Trotter authored
On cluster init if the user specifies a default hypervisor (with -t) which is not in the default list of enabled hypervisors (currently just xen-pvm) without explicitely specifying the list we silently override the choice. With this patch we set the list by default to just the required one, and we bail out should the list be hand-specified and not contain the default one. This still has an issue when the user doesn't specify a default hypervisor but specifies a list which doesn't include xen-pvm: in this case though we give an error, rather than silently discarding choices. Reviewed-by: imsnah
-
Guido Trotter authored
If the hv/be parameter lowercase value is set to "default" we'll pass constants.VALUE_DEFAULT, if it's set to "none" we'll pass constants.VALUE_NONE. Reviewed-by: imsnah
-
Guido Trotter authored
--src-node and --src-dir are not mandatory anymore Reviewed-by: iustinp
-
Iustin Pop authored
This patch adds a new cluster paramater "candidate_pool_size" which tracks the desired size of the list of nodes with the master_candidate flag set. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds the OpCode, LogicalUnit and gnt-node command for modifying node parameters, more specifically the master candidate flag for a node. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds listing of the master_candidate field (as Y/N) and of the master role (again Y/N) for nodes. Reviewed-by: imsnah
-
- Dec 01, 2008
-
-
Michael Hanselmann authored
They're not used anymore. Reviewed-by: ultrotter
-
- Nov 28, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
- Add new "canceling" status - Notify clients when job is canceled - Give a return value from CancelJob - Handle it in the client library Reviewed-by: iustinp
-
- Nov 27, 2008
-
-
Iustin Pop authored
Currently, the node add operation uses a job to query the node name and the bootstrap function directly reads the config file for the cluster name. This patch changes to that both the cluster name and the verification of the node is done via queries to the master. Reviewed-by: ultrotter
-
Iustin Pop authored
This is mostly a copy from gnt-instance add; import works, but it's not optimal - device count/parametrs should be able to be reused. Reviewed-by: ultrotter
-
Iustin Pop authored
Currently there's no way to specify no NICs for an instance, even though this is a supported configuration. The patch adds a --no-nics option to gnt-instance add. Reviewed-by: amishchenko
-
Iustin Pop authored
The submit function was using a very old API. This patch brings it up to date. Reviewed-by: imsnah
-
Iustin Pop authored
This patch fixes the diskless and drbd/file based instances. Sorry :( Reviewed-by: ultrotter
-
- Nov 25, 2008
-
-
Iustin Pop authored
This big patch adds support for: - changing NIC/disks in the multi-device model - adding/removing NICs - adding/removing disks The patch is big and not very nice; the error checking paths are not very clear. The biggest problem is that from a simple instance.ATTR=VAL change (which didn't throw errors before) now we are creating and removing disks in this LU. Reviewed-by: imsnah
-
Iustin Pop authored
The mode parameter needs to be exported and shown in the info output. Reviewed-by: imsnah
-
Iustin Pop authored
Previously we had only one nic, so the NIC information was all on one line. This patch changes it to: - NICs: - nic/0: MAC: aa:00:00:e8:b2:ef, IP: None, bridge: None - nic/1: MAC: aa:00:00:53:ca:92, IP: None, bridge: xen-br0 - nic/2: MAC: aa:00:00:ba:e5:30, IP: None, bridge: None Reviewed-by: ultrotter
-
- Nov 23, 2008
-
-
Iustin Pop authored
This patch enables by default the old 'human-readable' option, but in a slightly different model. The option is now called "units" and takes either: - 'h' for automatic formatting - 'm', 'g' or 't' for mebi/gibi/tebibytes If 'h' is used, we add a unit suffix, otherwise nothing is added so that parsing is easy. The default value of this unit is: - 'h' if a separator is not passed - 'm' if a separator is passed Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds nicer formatting for some gnt-instance list operations. Reviewed-by: ultrotter
-
- Nov 21, 2008
-
-
Iustin Pop authored
This changes cli.py to FieldSet usage so that gnt-instance list will format nicely the disk.size/*, and the count of disks/nics. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch changes the instance.FindDisk method to take index arguments (instead of iv_names), and changes GrowDisk and list instances accordingly. Reviewed-by: ultrotter
-
Michael Hanselmann authored
ganeti-masterd: Add initialization and shutdown of RPC pool. It needs to be shutdown before forking. ganeti.cli: Add decorator function to initialize and shutdown RPC pool. ganeti.rpc: Add functions to initialize and shutdown RPC pool. Throw exception when used without proper initialization. gnt-cluster, gnt-node: Use decorator function to initialize and shutdown RPC pool. Reviewed-by: iustinp
-
- Nov 20, 2008
-
-
Iustin Pop authored
This patch changes the drbd8 replace disk only (no secondary change) to work in with multi-disk. This mode of replaces works correctly with replacing only a subset of disks. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds support for mult-disk/multi-nic in: - instance add - burnin The start/stop/failover/cluster verify work as expected. Replace disk and grow disk are TODO. There's also a change gnt-job to allow dictionaries to be listed in gnt-job info. Reviewed-by: imsnah
-
- Nov 07, 2008
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- Oct 27, 2008
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Currently gnt-backup list exits with the same error code even if can't contact som nodes for backup information. The patch changes it to return 1 instead in this case. Reviewed-by: imsnah
-
Iustin Pop authored
The patch also adds a 'return 0' to a function that was missing it. Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Oct 23, 2008
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
Alexander Schreiber authored
Reviewed-by: imsnah
-