- 26 Aug, 2014 1 commit
-
-
Petr Pudlak authored
See issue #922 for the details. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 21 Aug, 2014 1 commit
-
-
Klaus Aehlig authored
This option control the number of jobs in non-finalized non-queued state and was added some time ago. Document it in the man page as well. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 19 Aug, 2014 2 commits
-
-
Klaus Aehlig authored
* stable-2.10 Fix network info in case of multi NIC instances Conflicts: lib/cmdlib/network.py: use stable-2.11 version Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Dimitris Aragiorgis authored
Network query mechanism fills inst_list field with the list of instances that are connected to the corresponding network. Fix the case of multi NIC instances where the NIC scan stopped once a matching network was found. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 18 Aug, 2014 2 commits
-
-
Klaus Aehlig authored
* stable-2.10 On upgrades, check for upgrades to resume first Pause watcher during upgrade Allow instance disks to be added with --no-wait-for-sync Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Klaus Aehlig authored
Make gnt-cluster upgrade refuse to upgrade if an upgrade to be resumed is present. For the convenience of the user, consider an upgrade command to the same target version as the upgrade to be resumed as an equivalent way of saying that the pending upgrade is to be resumed. Fixes issue 906. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 13 Aug, 2014 2 commits
-
-
Klaus Aehlig authored
As also suggested in the manual upgrade instructions, pause the watcher (for 1h) during the upgrade. Fixes issue 905. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Yuto KAWAMURA(kawamuray) authored
Fix statements which using result.Raise in invalid form. Change comma to '%' operator to provide a formatted string as these lines originally expected. Signed-off-by:
Yuto KAWAMURA(kawamuray) <kawamuray.dadada@gmail.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 12 Aug, 2014 1 commit
-
-
Hrvoje Ribicic authored
The patch 3c260845 fixed a bug where adding a new disk to an instance with deactivated disks activated the disk. However, it also introduced some erroneous behaviour, preventing disks from being added to online instances with --no-wait-for-sync. In line with the original meaning of the patch, this patch modifies the check to disallow adding disks to shutdown instances with --no-wait-for-sync, and allow doing so for online instances. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 07 Aug, 2014 6 commits
-
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Helga Velroyen authored
Basically inheriting everything from 2.10.7. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Helga Velroyen authored
Conflicts: NEWS configure.ac Resolutions: NEWS: add NEWS entry for 2.10.7 configure.ac: keep 2.11.4 as version number Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
Note the security issue with config backups and other changes. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
This fixes a lint error of the previous patch complaining about an unused variable. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 05 Aug, 2014 1 commit
-
-
Apollon Oikonomopoulos authored
Since the config backup archive contains sensitive information and is written in world-readable locations (/var/lib by default), it should be created in a safe way and with strict permissions. This commit uses a temporary file to tackle two issues: the relaxed permissions of the archive which respected the umask of the user running `gnt-cluster upgrade' and a (possible) collision attack using a pre-created file with the predictable backup filename. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 30 Jul, 2014 7 commits
-
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Helga Velroyen authored
As we will postpone the release for tomorrow, the bug will be fixed in the release. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Hrvoje Ribicic authored
From stable-2.10: Add non-cherry-pickable changes related to state "rb----" Add Xen nothing state '------' Add Xen paused state as a Ganeti running state Update usage string for 'gnt-network connect' Conflicts: lib/hypervisor/hv_xen.py - Taken the more complete 2.10 version Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Hrvoje Ribicic authored
Ganeti versions 2.11 and 2.12 have both had patches related to strange Xen domU states which are still legitimate running states, but Ganeti did not recognize them as such. The previous two cherry-picked patches bring some of these changes, but the final patch needed (79cb7ece ) cannot be cherry-picked because of a conflict with the other two patches. The changes were made on different branches, and merged together at a later time. This patch manually adds the change, merging together the descriptions of why certain states are allowed, and putting all of this into the function docstring. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Jose A. Lopes authored
... which means that a domain is in the queue behind other domains waiting to be scheduled. The domain is runnable but it is not currently running. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com> Cherry-picked from 30350df5 . Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Jose A. Lopes authored
The QA test 'TestClusterBurnin' pauses instances and the Xen state domain 'paused' was not being handled properly by Ganeti because it was not being classified as either a running or shutdown state. This patch adds the 'paused' state to the set of running states by extending the function 'ganeti.hypervisor.hv_xen._IsInstanceRunning' with the corresponding Xen state string '--p---'. This fixes the QA test 'TestClusterBurnin'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com> Cherry-picked from fd201010 . Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 29 Jul, 2014 2 commits
-
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Helga Velroyen authored
Add the developments since 2.11.3. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 24 Jul, 2014 1 commit
-
-
Klaus Aehlig authored
Commit 2243b133 removed the old, positional, passing of mode and link arguments. Adapt the documentation string accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 23 Jul, 2014 2 commits
-
-
Klaus Aehlig authored
* stable-2.10 KVM: fix NIC configuration with absent NIC VLAN Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Apollon Oikonomopoulos authored
Commit 6b47261a exported the VLAN to the KVM NIC configuration scripts. However, in doing so it assumed that the VLAN is always present in the runtime, which is not true for instances being migrated but started on Ganeti versions prior to 2.10.6. We fix this by exporting the VLAN nicparam only if it actually exists. This closes issue #893. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 17 Jul, 2014 1 commit
-
-
Petr Pudlak authored
* stable-2.10 Adapt relative path expansion in PATH to new environment * stable-2.9 Make ganeti-cleaner switch to a save working directory Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 16 Jul, 2014 3 commits
-
-
Klaus Aehlig authored
The test framework we use sets PYTHONPATH for tests so that the python module under test is used. Unfortunately, the paths in PYTHONPATH are relative paths. So we need to expand them for this test. Here we just update our fragile work around, but the only way the test is called is, well, in testing, so we can build it for our test environment. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Klaus Aehlig authored
* stable-2.9 Make ganeti-cleaner switch to a save working directory Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Klaus Aehlig authored
For some reason, find does stat the current working directory, which, when invoked via cron, may or may not be readable by the process (issue 880). Therefore, first change to a directory that is definitely accessible to the process; the directory it logs into is such a safe place. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 15 Jul, 2014 1 commit
-
-
Klaus Aehlig authored
* stable-2.10 Exclude archived jobs from configuration backup Expose early_release for ReplaceInstanceDisks Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 14 Jul, 2014 1 commit
-
-
Klaus Aehlig authored
For a cluster that existed for a long time, the archive of old jobs might be big. Additionally, this data is neither necessary for running new jobs, nor is it touched in the upgrade procedure. Hence it is safe to be excluded from the backup created on Ganeti version upgrades, thus obtaining a smaller backup. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 11 Jul, 2014 3 commits
-
-
Petr Pudlak authored
.. as it has been already implemented in 2.11. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Jose A. Lopes authored
Fixes issue 877. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Jose A. Lopes authored
... namely, the 'user-shutdown' cluster parameter. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 10 Jul, 2014 3 commits
-
-
Fabian Geisberger authored
This patch exposes the early_release argument of the jobs resource on the RAPI python wrapper, making it possible to use early_release when replacing instance disks. Signed-off-by:
Fabian Geisberger <fabi@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
* stable-2.10 Make gnt-cluster upgrade honor backup-dir Add a new --with-backup-dir configure option Fix BlockdevSnapshot in case of non lvm-based disk Fix RAPI in case split query mechanism is used Allow disk hot-remove even with chroot or SM Remove superflous loop in instance queries Conflicts: lib/cmdlib/instance_query.py: take version from 2.11 Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Klaus Aehlig authored
Make gnt-cluster upgrade honor the --with-backup-dir configure option. In this way, at configure time, it can be decided in which directory the configuration backup tar balls are put. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-