- 01 Apr, 2014 3 commits
-
-
Helga Velroyen authored
This patch fixes a little glitch in 'gnt-cluster verify'. If LVM-based storage was disabled, it would still check LVM-related verification results and print a confusing error message. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This patch fixes the wording of a couple of messages, including two typos of the word 'existing'. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Thomas Thrainer authored
After migrating a DRBD based instance, the output of gnt-instance info was wrong wrt. DRBD minors. This patch fixes the output in such cases. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 31 Mar, 2014 1 commit
-
-
Klaus Aehlig authored
As the attempt to convert the dict used as json representation of the configuration into a configuration object already makes assumptions about the internal representation, verify the version before such an attempt. Fixes issue 783. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 27 Mar, 2014 4 commits
-
-
Hrvoje Ribicic authored
* stable-2.9 Fix failing gnt-node list-drbd command * stable-2.8 Add reason parameter to RAPI client functions Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com> Conflicts: lib/rapi/client.py: Add both parameters
-
Hrvoje Ribicic authored
* stable-2.8 Add reason parameter to RAPI client functions Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Hrvoje Ribicic authored
The UUID/name switch avoided this particular bit of code, and as a result the list-drbd command failed as it tried to compare UUIDs and names. This patch fixes the retrieval, converts the newly returned UUIDs to names, and modifies the QA to the results and not only the invocation are checked. Signed-off-by:
Gerard Oskamp <gjo@google.com> Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Klaus Aehlig authored
Commit 580b1fdd incorrectly assumes that disk parameters are just the standard ones, whereas the man page explicitly states that additional parameters can be passed as well, if they make sense for the chosen storage type. Fix this. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com> Cherry-picked from b26a275a . Fixes issue 779. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 26 Mar, 2014 18 commits
-
-
Hrvoje Ribicic authored
The get/put QA test could be used for instances as well, but unlike other objects, instances have a very large number of discrepancies and missing fields. To avoid enumerating every discrepancy and testing almost nothing, only a unit test is used to verify the last patch. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
Much like the groups before, this patch allows custom_* params to be submitted under the same name they can be retrieved as in the info call. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch invokes the RAPI symmetry tests for groups. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch allows users to specify specific parameter aliases enabled by RAPI, and test whether their value can be retrieved and set. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch introduces a simple test checking if a custom_* parameter is renamed and passed to the opcode correctly. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch adds the ability to set the group-specific parameters in the same way they are described when returned by the info command - with the "custom_" prefix. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch adds the RAPI symmetry test for nodes. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch adds a single alias for the secondary_ip property of the node. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
The original design of the RAPI symmetry test assumed that all RAPI calls that modify parameters use the PUT method. This is not true in the case of the node parameter modification method, and while that itself should be addressed or at least examined, the test method has to change to accomodate both PUT and POST requests. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch adds the test for RAPI symmetry at the cluster level. There are some fields that have not been exposed yet, and their absence was noted. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch makes a mock use a dictionary instead of an object, allowing alias finding to work on it. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch adds aliases for two cluster parameters. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch extends the metaclass used to generate RAPI handlers to allow creating aliases of certain values returned by GET methods. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
The RAPI should allow all the parameters of objects to be gotten and set under the same names. This patch adds a test that checks if this is the case by using the underlying opcode arguments. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
This patch does some housecleaning and sorts imports. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Michele Tartara authored
Only the functions for starting, stopping and rebooting a VM had a reason parameter. Now, all the RAPI client functions generating opcodes do. Also, one test is expanded to verify that a RAPI request with both body and query supports the reason parameter properly. Fixes Issue 776. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Klaus Aehlig authored
If the query fields don't require live data, we use the shortcut and don't request live data. However, we cannot take this shortcut if the fields the filter depends on requires live data. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com> Cherry-picked from a8551d9c . Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Apollon Oikonomopoulos authored
KVM NIC hotplugging requires python-fdsend to be installed, but this is only reported in the hotplug design document. We add mentions in INSTALL and NEWS. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 24 Mar, 2014 2 commits
-
-
Klaus Aehlig authored
* stable-2.9 Make watcher submit queries low priority Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
Make the watcher collect its data using low-priority jobs, to avoid blocking user/admin jobs. Note that repair jobs are still submitted normal priority. Fixes issue 772. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 20 Mar, 2014 6 commits
-
-
Thomas Thrainer authored
Change the release version to 2.10.2 in configure.ac. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Mention all relevant changes / fixes which go into this release. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
With the really slow QA's it makes sense to schedule releases more than 3 days in advance, like in this case where the release on Monday is scheduled on Thursday. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
* stable-2.8 Include qa/patch in Makefile Handle empty patches better Move message formatting functions to separate file Add optional ordering of QA patch files Allow multiple QA patches Refactor current patching code Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
* stable-2.8 Include qa/patch in Makefile Handle empty patches better Move message formatting functions to separate file Add optional ordering of QA patch files Allow multiple QA patches Refactor current patching code Conflicts: Makefile.am (include all added files) qa/qa_cluster.py (trivial) Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Fix the build by including the qa/patch directory in Makefile.am. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 19 Mar, 2014 5 commits
-
-
Hrvoje Ribicic authored
The previous patch loading utilities omitted empty patches, as they were thought to be of no significance, and when no patches were used, the import and therefore dependency should not be used. If a user has added an empty patch file, and made an entry in the order file, the QA would treat this as an error as it had no means of differentiating between a patch not present and an empty patch. This patch fixes the solution by better handling empty patches, and logging warnings when they are encountered. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Hrvoje Ribicic authored
The formatting functions in qa_utils.py cannot be used by modules imported there, such as qa_config. This patch factors the function calls into a separate file. Also reorders imports in touched files. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Hrvoje Ribicic authored
To explicitly specify the order of patches executed, the QA provides an "order" file. It can contain names of patches that will be executed first, and in the order listed, before all the other patches that still follow an alphabetical order. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Hrvoje Ribicic authored
This patch allows support for multiple patches placed in the "patch" directory, which are executed in alphabetical order. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Hrvoje Ribicic authored
* Refactors the current patch code to allow for multiple patches that can be applied, yet leaves only one for now. * Rewords the message shown to the user in case the modules needed for patching are missing. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 17 Mar, 2014 1 commit
-
-
Dimitris Aragiorgis authored
With regard to PCI slot occupied by a KVM instance we have observed the following: 1) Slot 0 will always be Host bridge. 2) Slot 1 will always be ISA bridge. 3) Slot 2 will always be VGA controller (even with -display none). 4) If soundhw=hda|ac97|es1370 an extra PCI slot is occupied. This slot *MUST* be the No. 3. 5) Option '-balloon virtio' gets an extra PCI slot. Still it can take id, bus, and addr args and be placed anywhere 6) If spice is used instead of vnc we have: * No extra PCI slot gets occupied without vdagent * Otherwise we have the following extra optionsa [1] a) -device virtio-serial-pci (this can take id, bus, and addr args too) b) -device virtserialport,chardev=spicechannel0,... c) -chardev spicevmc,id=spicechannel0 This patch does the following: 1) Change _DEFAULT_PCI_RESERVATIONS to "1110...." 2) Move soundhw option early in the command line and if hda etc. reserve slot 3. 3) Add id, bus, and addr in balloon option and reserve next slot. 4) Add id, bus, and addr in -device virtio-serial-pci option and if passed reserve next slot. [1] http://www.linux-kvm.org/page/SPICE Fixes issue 757. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-