An error occurred fetching the project authors.
- Apr 29, 2010
-
-
Michael Hanselmann authored
This function will also be useful for inter-cluster instance moves for verifying certificates. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Apr 27, 2010
-
-
Michael Hanselmann authored
- Progress messages - Log output on errors - Listen timeout tests Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Until now, exactly one attempt was made to establish a connection. If it failed, the whole import/export for the disk in question aborted. Retrying will make it more reliable. Unfortunately the listening part can't be made completely resiliant against DoS attacks without larger and complex changes to the daemon and using socat's EXEC: address combined with forking. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Managing file descriptors is always a bit tricky. Having this in a separate class is better. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Apr 26, 2010
-
-
Michael Hanselmann authored
* devel-2.1: masterd: Log PID, UID and GID of connected client qa: Use qa_utils.UploadFile to upload rapi_users file devel/upload: add --no-debug option Conflicts: lib/utils.py: Trivial Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Apr 23, 2010
-
-
Michael Hanselmann authored
This can be very useful if client programs run as non-root. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Just using “echo” would use whatever umask is set in the shell, in addition to potentially showing the password in the process list. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Both of these functions, “snapshot_export” and “instance_os_import”, have been replaced by the instance import/export daemon. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Use instance data transfer utility to import instances. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
With this change, exports of several disks will occur in parallel. Error handling has also been improved. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This is yet another wrapper around the instance import/export utility classes, providing an even simpler API for instance imports/exports within the same cluster. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Interpreting the backend's import/export daemon status is a bit tricky. This utility code keeps track of multiple transfers at the same time. Users can supply callback functions to react to events. Timeouts are currently hardcoded. Intra-cluster instance moves will likely require other timeouts. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Guido Trotter authored
When this option is used the /etc/defaults/ganeti file, which sets all the daemons in debug mode, is not copied. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Apr 22, 2010
-
-
Michael Hanselmann authored
* devel-2.1: Add a basic unittest for uidpool.RequestUnusedUid Factorize LUExportInstance Use ints instead of strings to represent user-ids QA: fix reimporting instance with different name Fix broken commit 9e302a8c ssh: make quiet configurable Conflicts: lib/cmdlib.py: Mostly trivial Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Apart from moving parts of the code to separate functions, error handling is also improved by making sure snapshots are always removed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Balazs Lecz authored
Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
The X509 certificate RPC functions were also renamed, but I forgot to rename them in rpc.py. Fortunately they aren't used yet. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Since the original instance still exists, we need to use a different MAC for its NIC. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This will be used to stop the daemon without doing complete cleanup (yet). Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Commit 9e302a8c split the StopInstance function in two without properly duplicating the local variables. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
Currently both CopyFileToNode and BuildCmd hardcode "-q" in the options. This patch moves this setting as a configurable option to _BuildSshOptions. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
* devel-2.1: SSH: do not check IPs Add separate module for backported language functionality Add make commit-check target burnin: skip migration based on hypervisor support Add a hypervisor constant for migration support LUSetClusterParams: initialize needed parameters hv_chroot: move unmount to CleanupInstance() Fix indentation error utils: Add function for partial application of function arguments gnt-instance info: sort the hv parameters Only use boot=on on non-ide disks only (KVM) Add -usbdevice tablet to KVM when using vnc KVM: fix a bug in _TryReadUidFile Fix RAPI client methods return values Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Since we use the cluster name for the SSH known_hosts file, ssh will always detect a changed IP (since we never connect to the cluster master name, but the node names), and will complain about it/try to update the user known hosts file (since that is /dev/null, it doesn't matter, but it's not nice). So we disable the IP check. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 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>
-
Michael Hanselmann authored
This is useful in combination with utils.StartDaemon and will be used for reading the import/export daemon's PID file. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-