- Apr 21, 2010
-
-
Michael Hanselmann authored
utils.py, where they were before, is already huge. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
distcheck, lint and apidoc. Take three pay only one. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
The patch adds selection of hypervisor in burnin (on multi-hypervisor clusters, we always used the default) and optional hypervisor parameters, and skips migration if the hypervisor doesn't support it. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This variable can be used by other tools to determine in a generic way whether a given hypervisor supports migration or not. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
… since the opcode doesn't auto-initialize to None. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Iustin Pop authored
This allows cleanup to be done properly if the "instance" wasn't running at all (based on the CleanupInstance framework, instead of the retry in hypervisor). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
Commit 9cf4321f indented some lines by 4 spaces rather than 2, and was git-amed without noticing. Fixing. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
The function's code was mostly copied from Python's documentation and it's equivalent to “functools.partial” in Python 2.5 and above. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Apollon Oikonomopoulos authored
boot=on implies that KVM boots using extboot. This is only required to boot non-IDE disks and has the side-effect that there is at most one bootable device. This behaviour breaks some operating systems, most notably the windows installer that tries to chainload the hard-disk from the CD-ROM after the initial part of the installation. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Apollon Oikonomopoulos authored
When using VNC, it is recommended to use a tablet-style input device instead of a mouse. This allows most VNC viewers to send proper mouse coordinates to the virtual machine's desktop resulting in perfectly aligned guest and host mouse pointers. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
If the uid pool is not in use _TryReadUidFile will try to return "uid" even if it hasn't tried to read it at all. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
David Knowles authored
Ensure that all RAPI client methods that should return job ids actually return job ids. Signed-off-by:
David Knowles <dknowles@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> Signed-off-by:
Iustin Pop <iustin@google.com>
-
- Apr 20, 2010
-
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
In order not to complicate to much the _ExecuteKVMRuntime function with nested try/except/finally/else constructs we move the actual runcmd+check call in a separate _RunKVMCmd function. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
If this file exists, for an instance, we release the uid contained inside back to the uid pool, at instance shutdown. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
We can't guarantee to keep the LockedObject around, when ReleaseUid is called (because that might happen, for example, after a ganeti shutdown/restart). So we'll support releasing on just an integer uid. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
uidpool users that get passed a LockedUid by the uidpool need to know which one the uid is. Since it's not nice to make them access a private member, and we shouldn't make "uid" public either, we'll add a getter method. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Currently putting the cleanup just after the actual shutdown ensures that it never gets called, due to how the retry/shutdown cycle works. So we move those cleanups to their new dedicated place. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
It's a lot easier, when looking at the output, if you can search the parameter you're looking for alphabetically. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Currently some hypervisors (namely kvm) need to do some cleanup after making sure an instance is stopped. With the moving of the retry cycle in backend those cleanups were never done. In order to solve this we add a new optional hypervisor function, CleanupInstance, which gets called at the end of the shutdown procedure, and which interested hypervisors can implement to be sure not to miss cleanup operations. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
René Nussbaumer authored
Additionally also move to the RunWhileStopped method for the configuration merger. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
When enabling a new hypervisor, we must ensure that we have its parameters in the cluster (global) hvparams dictionary. Furthermore, we add a verify check for this case (this should be better replaced with an auto-fix?). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Commit 5fa16422 removed the checks at sed time, but only for %.7. We need to do it for %.8 too. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Apr 19, 2010
-
-
Luca Bigliardi authored
Fix options description in the documentation for gnt-node powercycle. Signed-off-by:
Luca Bigliardi <shammash@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Also, fix the string quoting style. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Michael Hanselmann authored
*.py[co] were not removed from lib/confd. Removing *.py[co] from all directories listed in $DIRS can't hurt. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 16, 2010
-
-
Iustin Pop authored
The primary IP is not used for DRBD disks, only for the job queue and internal commands. As such, it's trivial (with a quiet job queue) to re-ip the node. The patch just relaxes the checks in LUAddNode, and manual testing shows that live instances on that node keep working, and that cluster verify is happy afterwards. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-