- May 07, 2010
-
-
Guido Trotter authored
* stable-2.1: Bump version for 2.1.2.1 release Update NEWS for Ganeti 2.1.2.1 KVM: only export instance tags if present Signed-off-by:
Guido Trotter <ultrotter@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>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Currently non-tagged instances fail starting with a TypeError. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Guido Trotter authored
We also create a generic SECURE_DIR_MODE constant, rather than hardcoding 0700 in the code. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Guido Trotter authored
Swap a few os.mkdir calls with utils.EnsureDirs Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Guido Trotter authored
Those directories must exist for the node daemon to run (it's in the node daemon's list of ensured directories) and those functions are only called by the node daemon, so there's no point in those checks+mkdir calls. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Guido Trotter authored
The docstring reports a wrong type for the "dirs" argument. Fixing. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- May 06, 2010
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 05, 2010
-
-
Iustin Pop authored
Just for easier history digging… Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
- Add support for sending JSON-encoded body to RAPI daemon (required to test more complex resources) - Expand names when testing resources against config Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 04, 2010
-
-
David Knowles authored
- Always check SSL certificate for validity - Actually JSON-encode HTTP content Signed-off-by:
David Knowles <dknowles@google.com> Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- May 03, 2010
-
-
Iustin Pop authored
Since utils.WriteFile requires an absolute path, cfgupgrade needs to normalize the directory it is given. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
It seems that commit d8470559 dropped the cleanup of /etc/hosts when a node is removed from the cluster. I don't know for sure, but it seems accidental. As long as we add it to /etc/hosts, we should clean it up too. The patch also adds two FIXMEs since this kind of modifications should be done via RPC calls to the master's node daemon, not directly. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
If we are told to modify /etc/hosts, then verify its consistency during cluster verify. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Let's remove the experimental message (the Ganeti side is stable nowadays) and replace it with a warning about possible hypervisor issues. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
With this, the burnin sequence on big clusters should be (much?) faster. The patch also fixes the parallel setting (before it was always enabled). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
These seem to be wrong, possibly a regression in pylint. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 28, 2010
-
-
Apollon Oikonomopoulos authored
Make instance tags available as a space-separated list during the execution of the network setup script. This allows tag-based control of things like firewall rules and/or networking setup. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
This function is not used anymore, so there's no point in keeping it around. This reverts commit 3f71b464, apart from a one empty line conflict in ssconf.py Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@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>
-
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
-
-
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>
-
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>
-
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>
-
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>
-