- 27 Mar, 2014 8 commits
-
-
Petr Pudlak authored
There was just a locking version, and to keep things consistent in _OpenConfig, we need also a non-locking one. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
In most cases, this is what has been already implemented manually. In some cases, the configuration write is issued even if the configuration hasn't been modified, but since WConfd checks for such cases, neither file write nor distribution to nodes is performed. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
.. so that it can be enhanced later. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
The lock is used for protecting concurrent operations on the configuration on the Python side. The lock must be last wrt to the lock ordering so that it can be always obtained regardless of other locks held by a client. During operations that hold this lock, no other locks are ever acquired. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This will be needed later to add WConfd locking for the synchronization. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This is a prerequisite for having thread-local configuration states. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This was an unnoticed regression when SSConf has been refactored into WConfd. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Petr Pudlak authored
The original 'getMasterCandidates' returns only the true candidates, without the master itself. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 26 Mar, 2014 6 commits
-
-
Petr Pudlak authored
Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Apollon Oikonomopoulos authored
This patch adds a design document describing the necessary changes to provide native systemd support by shipping the relevant unit files and changing Ganeti to use systemd for process control if applicable. Also, the possibility of adding socket activation support to various daemons is briefly discussed. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Dimitris Aragiorgis authored
Make setup_ovs() function in net-common library to use exported VLAN variable. Use it to set port's tag and trunks. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Dimitris Aragiorgis authored
The vlan nicparam is used in openvswitch mode. This patch exports it as VLAN environment variable so that NIC configuration scripts can later use it. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This will allow easier modification of the structure of a client identity later. Also add a helper method for creating a WConfd context from a context. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 24 Mar, 2014 5 commits
-
-
Klaus Aehlig authored
* stable-2.11 Rearranging entries in NEWS file Prepare NEWS file for 2.11.0 rc1 Bump version to 2.11~rc1 in configure.ac * stable-2.10 Bump version to 2.10.2 Prepare NEWS file for 2.10.2 Allow releases scheduled 5 days in advance * stable-2.9 Make watcher submit queries low priority * 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: NEWS: take all additions configure.ac: ignore revision/suffix bump qa/qa_rapi.py: trivial qa/qa_utils.py: trivial Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Klaus Aehlig authored
* stable-2.10 Bump version to 2.10.2 Prepare NEWS file for 2.10.2 Allow releases scheduled 5 days in advance Fix conflict between virtio + spice or soundhw Fix bitarray ops wrt PCI slots * stable-2.9 Make watcher submit queries low priority * 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: NEWS: take all additions configure.ac: ignore revision bump on 2.10 lib/watcher/__init__.py: ignore priority for query requests qa/qa_utils.py: trivial Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
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>
-
Dimitris Aragiorgis authored
Latest QEMU versions support various migration capabilities. Each can be enabled/disabled with 'migrate_set_capability' monitor command. Version 1.7.0 defines x-rdma-pin-all, auto-converge, zero-blocks, and xbzrle migration capabilities. Since migration capabilities are more than one, and because hvparams accept only strings/integers and not dicts we decide to provide the capabilities that should be on via a ":" separated string. In other words one can use the following to enable xbzrle and auto-converge: -H kvm:migration_caps=xbzrle:auto-converge IMPORTANT: xbzrle may result to BSOD for instances running Windows 2008r8 on drbd. Update man page of gnt-instance to include the new hvparam. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Thomas Thrainer <thomasth@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>
-
- 21 Mar, 2014 6 commits
-
-
Petr Pudlak authored
.. and update it to work with ConfigWriter instead of the 'security' module. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Petr Pudlak authored
.. to ConfigWriter as well. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Petr Pudlak authored
In particular AddNodeToCandidateCerts and RemoveNodeFromCandidateCerts. Calling 'cfg.Update(cluster)' causes problems in WConfd, as it doesn't operate on a shared configuration object any more. Also these functions modify the cluster configuration, so their calls should be properly locked. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Dimitris Bliablias authored
Update the 'info' section of the 'gnt-os' manpage. Signed-off-by:
Dimitris Bliablias <bl.dimitris@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Dimitris Bliablias authored
Extend unit test ganeti.query_unittest.py, to correspond to the changes made in the 'gnt-os info' output. Signed-off-by:
Dimitris Bliablias <bl.dimitris@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Dimitris Bliablias authored
Currently, the non-standard/modified per-OS hypervisor parameters, or OS specific parameters can be listed only by the 'gnt-cluster info' command, which is a non-standard place to show them. Extend the 'gnt-os info' command to display the available/supported OS variants in the cluster. This fixes issue 266. Signed-off-by:
Dimitris Bliablias <bl.dimitris@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 20 Mar, 2014 10 commits
-
-
Jose A. Lopes authored
Moving instances requires creating a new instance, but 'tools/move-instance' was passing an empty string for OS scripts when the source instance did not have OS scripts defined. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Jose A. Lopes authored
When an instance does not have OS scripts because, for example, it uses an OS image, do not rename the instance after an import. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Jose A. Lopes authored
When an instance does not have OS scripts because, for example, it has an OS image, then the import/export should not try to run the OS scripts. Instead, it should use raw import/export. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
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>
-
Helga Velroyen authored
After releasing 2.11.0 rc1 I realized that the order of the 2.11 entries in the NEWS file is inconsistent with the other releases. The main changes should come first and afterwards the smaller changes between the different versions. This patch rearranges the entries, but does not change the content whatsoever. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@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>
-