- 02 Feb, 2009 1 commit
-
-
Iustin Pop authored
This patch only changes some indentation in constants.py. Reviewed-by: imsnah
-
- 29 Jan, 2009 4 commits
-
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Before we used to copy the file if xen-hvm was enabled on the cluster, no we'll do that if any enabled hypervisor is in the new HTS_USE_VNC group. Reviewed-by: iustinp
-
Guido Trotter authored
HT_KVM doesn't technically require a port, but if it has one it can give vnc displays to instances. Reviewed-by: iustinp
-
Guido Trotter authored
Up until now a KVM instance was forced to have a serial port. With this change this is no longer mandatory, by default we'll use one, but if the HV_SERIAL_CONSOLE parameter is set to False we'll do without. Reviewed-by: iustinp
-
- 27 Jan, 2009 1 commit
-
-
Guido Trotter authored
This parameter allows a different path to be passed to the instance kernel. The new parameter is mandatory, and by default has the value of the old hardcoded value for both kvm and xen. Beta1 clusters will need to have this parameter added for their instances to be able to boot. Reviewed-by: iustinp
-
- 21 Jan, 2009 1 commit
-
-
Guido Trotter authored
The tcp port used for migrating KVM instances is selectable at ./configure time. We use a single port as nodes are locked anyway during a migration, so no two migrations can happen at the same time to the same node. Reviewed-by: iustinp
-
- 20 Jan, 2009 1 commit
-
-
Iustin Pop authored
This patch adds support for verification of drbd minors space in cluster verify: minors which belong to running instances and should be online but are not, and minors which do not belong to any instace but are in use. The patch requires exposing some methods from bdev.DRBD8 and config.ConfigWriter which were until now private methods. Reviewed-by: ultrotter
-
- 19 Jan, 2009 1 commit
-
-
Iustin Pop authored
Instead of having the default live in the gnt-cluster script, we move it to the constants file. The patch also fixes a typo on constants.py. Reviewed-by: ultrotter
-
- 13 Jan, 2009 1 commit
-
-
Iustin Pop authored
This is a forward-port of commit 2219 on the 1.2 branch. Reviewed-by: ultrotter
-
- 09 Jan, 2009 3 commits
-
-
Iustin Pop authored
The patch adds a new ssconf file containing the ganeti version. Reviewed-by: imsnah
-
Iustin Pop authored
This patch updates burnin to the latest replace disks constant, and changes the constants' values to be more accurate. Reviewed-by: imsnah
-
Iustin Pop authored
In 1.2, due to the md+drbd7 legacy, we had a complex choice of replace modes, and the new drbd8 modes where forced into this syntax, with some complicated rules of transition from one mode to another (if REPLACE_ALL but not new node passed, switch to REPLACE_SEC, etc.). This patch cleans this situation by making a clear separation between the two main modes: - replace on current nodes (with the two sub-cases on primary and on secondary) - change to a new node (either via manually specified node or via iallocator) Reviewed-by: imsnah
-
- 19 Dec, 2008 2 commits
-
-
Michael Hanselmann authored
Reviewed-by: amishchenko
-
Michael Hanselmann authored
Passwords are stored in "$localstatedir/lib/ganeti/rapi_users". User options specify the access permissions of a user (see docstring for ganeti.http.ReadPasswordFile), for which only "write" is supported to grant write access. Every other user has read-only access. Reviewed-by: amishchenko
-
- 17 Dec, 2008 1 commit
-
-
Michael Hanselmann authored
A job queue with too many jobs can increase memory usage and/or make the master daemon slow. The current limit is just an arbitrary number. A "soft" limit for automatic job archival is prepared. Reviewed-by: iustinp
-
- 16 Dec, 2008 2 commits
-
-
Guido Trotter authored
Call socat with a full path specified at configure time, rather than just by its name, and check for the binary to exist at hypervisor verify. Reviewed-by: iustinp
-
Guido Trotter authored
It makes sense for the default kvm kernel not to be called "xenU". Reviewed-by: iustinp
-
- 09 Dec, 2008 1 commit
-
-
Michael Hanselmann authored
Adding compression to larger amounts of data is more efficient than transferring it (len(nodes) - 1) times over the network without compression. We were able to compress a 800KB config file to about 30 KB, which is about 40 KB with Base64 encoding (required due to the way SimpleJson handles strings). Reviewed-by: ultrotter
-
- 05 Dec, 2008 1 commit
-
-
Iustin Pop authored
The patch also changes the various node list generation to be more consistent. Reviewed-by: imsnah
-
- 03 Dec, 2008 1 commit
-
-
Guido Trotter authored
This constant will be used at cluster init time. Reviewed-by: imsnah
-
- 02 Dec, 2008 5 commits
-
-
Iustin Pop authored
This partially reorganizes the cluster verify LU: - introduce constants for the node verify rpc call - move from additional rpc calls to a single rpc call, the call_node_info, which gaters all data needed Also fix a small error (self.LogWarning instead of self.Warning). Reviewed-by: imsnah
-
Iustin Pop authored
These two operations were missing from burnin. The reboot is done with all valid modes (a new constant is added), and the reinstall is done both with and without specifying the OS (to account for the two code paths in the LU). Reviewed-by: imsnah
-
Guido Trotter authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
This partially reverts the "Get rid of ssconf" patch. It adds back a simpler version of the SimpleStore class, and drops the WritableSimpleStore class. The new version of the class also has node_list as a new key, and increases the size of the keys so that big clusters will fit the node list. Also, the SS_* constants are moved to constants.py, since the ConfigWriter class will need them too in order to generate the values dictionary. It also changes the GetMasterAndMyself function to use the SimpleStore by default, and the backend._GetConfig to use it too (it has all the needed keys). Reviewed-by: imsnah
-
- 28 Nov, 2008 1 commit
-
-
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
-
- 26 Nov, 2008 1 commit
-
-
Guido Trotter authored
ganeti-noded used to create all directories under /var/run with an hard-coded mode. convert it to a constant. Reviewed-by: imsnah
-
- 25 Nov, 2008 4 commits
-
-
Guido Trotter authored
Before it was in the abstract linux namespace, where unfortunately we couldn't easily check from python the credentials of the connecting clients. Now we also have to remove the file on exit and when starting. Reviewed-by: imsnah
-
Guido Trotter authored
We want the socket dir to have a restricted permission. Reviewed-by: imsnah
-
Guido Trotter authored
This new directory under /var/run will be used for file based unix sockets. Reviewed-by: imsnah
-
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
-
- 21 Nov, 2008 1 commit
-
-
Michael Hanselmann authored
With the new SSL client certificate stuff it's no longer needed. Reviewed-by: iustinp
-
- 20 Nov, 2008 2 commits
-
-
Michael Hanselmann authored
This function will be used to write ssconf files from the node daemon. By creating a lock file, we synchronize different child processes of ganeti-noded to not overwrite each other's changes. Also, external processes could use this lock to make sure they don't read ssconf files while changes are going on. The socket module is not used (anymore) in ganeti.ssconf, removing it. Reviewed-by: iustinp
-
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
-
- 21 Oct, 2008 1 commit
-
-
Iustin Pop authored
Please configure your editors to strip it, or enable your git hooks... Reviewed-by: ultrotter
-
- 20 Oct, 2008 1 commit
-
-
Guido Trotter authored
'auto' is used in multiple place in the code with a meaning similar to 'default', 'generate' will be used to force generation of mac addresses when the default would be to reuse an old one. Forward-port-of: r1884, Reviewed-by: iustinp Reviewed-by: imsnah
-
- 18 Oct, 2008 1 commit
-
-
Alexander Schreiber authored
Reviewed-by: iustinp
-
- 17 Oct, 2008 2 commits
-
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-