- 08 Nov, 2013 2 commits
-
-
Jose A. Lopes authored
Add 'AF_INET*' constants to the Haskell 'AutoConf' module, which requires extending the 'm4' invocation with additional substitutions, in the 'Makefile' target for 'src/AutoConf.hs'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add Python script to autotools which prints socket related constants. These constants are a transitional solution for eliminating the Python to Haskell constant generation given that the final solution will require a change in the configuration and, therefore, postponed to 2.11. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 06 Nov, 2013 1 commit
-
-
Petr Pudlak authored
Before the message why a failure happened (like a parsing error) was lost. Signed-off-by:
Petr Pudlak <pudlak@google.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 05 Nov, 2013 1 commit
-
-
Klaus Aehlig authored
* stable-2.9 Revision bump for 2.9.0 Schedule release of 2.9.0 * stable-2.8 Improve error message for replace-disks Conflicts: NEWS: trivial configure.ac: drop suffix bump of stable-2.9 Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 04 Nov, 2013 8 commits
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
...and mention the last change pulled in from stable-2.8. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
* stable-2.8 Improve error message for replace-disks Conflicts: lib/cmdlib/instance_storage.py Resolved by manually applying the node name to uuid transition on the version of stable-2.9. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
In some conditions, replace-disks will fail if the disks are not properly activated. Improve the error message suggesting to run activate-disks before executing replace-disks. Fixes Issue 606. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Fix documentation in constants containing values in seconds. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
Remove all constant definitions in 'lib/constants.py' and re-export the module 'lib/_constants.py', which contains the generated constants. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
* separate constants and non-constants in 'lib/constants.py' to make it simple to replace their re-export definitions with a single re-export statement at the begining of the module * fix access 'CONFD_REQFIELD_*' related constants in 'tools/confd-client' to convert them to 'String', rather then doing it in 'lib/constants.py' in order to allow the replacement of the re-export definitions with a single re-export statement Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
Add constants 'hvsParameters' and 'hvsParameterTypes' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 31 Oct, 2013 2 commits
-
-
Petr Pudlak authored
Signed-off-by:
Petr Pudlak <pudlak@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Dimitris Aragiorgis authored
Introduce new RPC hotplug_supported that invokes the corresponding hypervisor's method which checks if hotplug is generally supported. Call this RPC early in CheckPrereq() and abort if hotplug is not supported. Currently only KVM hypervisor with qemu versions > 1.0. Please note that this check is unaware of target device and hotplug action. This latter check is still done during hotplug_device() RPC. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 30 Oct, 2013 8 commits
-
-
Klaus Aehlig authored
* stable-2.9 (no changes) * stable-2.8 Add all dependencies for confd as test dependencies Add snap-server to the test-relevenat packages Placate warnings on ganeti.outils_unittest.py Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
* stable-2.8 Add all dependencies for confd as test dependencies Add snap-server to the test-relevenat packages Placate warnings on ganeti.outils_unittest.py Conflicts: configure.ac: take both additions (and fix) Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
This patch removes a FIXME regarding the retrieval of the disk template for computation of the cluster information for the iallocator. After examining the code, I figured out that it is actually a quite robust way to just check if the disk template is available, in particular with respect to extensions of the iallocator. In this context, I also updated the man pages of the operations that use the iallocator, because so far it was not well documented which disk template is considered when more than one instance was allocated. The situation is not ideal (the default disk template is used), but it is still better than in 2.9. where only LVM storage was considered. With the implementation of storage pools, it would make sense to extend the iallocator protocol to include storage information for more than one template. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
Since our tests pull in confd as a dependency, all build dependencies for confd are also necessary to run the tests. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Sebastian Gebhard authored
This patch disables checking if the given master_netdev exists during cluster init. When OVS is used, the needed Open vSwitch will be created later on (with OpClusterPostInit) and is thus not available at this point of time. Signed-off-by:
Sebastian Gebhard <sege@fs.ei.tum.de> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Sebastian Gebhard authored
In case of running into a failure during Open vSwitch creation, the error is not given, but a TypeError is thrown. This is because the number of arguments for the format string was not equal to the place holders. This fixes the issue. Signed-off-by:
Sebastian Gebhard <sege@fs.ei.tum.de> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Sebastian Gebhard authored
Currently, Open vSwitch is only created on additional nodes, not on the master itself. This fixes the issue and creates and configures an Open vSwitch on the master node during cluster init. Signed-off-by:
Sebastian Gebhard <sege@fs.ei.tum.de> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Dimitris Aragiorgis authored
Sometimes, upon disk removal, corresponding file descriptors are kept briefly open by various processes (hypervisor, blkid, etc.). With this patch, we retry several times before raising the appropriate error, thus making disk removal more robust against those corner cases. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 29 Oct, 2013 1 commit
-
-
Klaus Aehlig authored
While snap-server is only needed for the optional monitoring daemon, some tests, notably those testing these optional features, still depend on it. So, if snap-server is missing, the Haskell tests should not be run, as they cannot even be build. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 28 Oct, 2013 17 commits
-
-
Petr Pudlak authored
Currently the error message doesn't say which key is affected, which makes it kind of useless. Signed-off-by:
Petr Pudlak <pudlak@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This fixes issue 519. When calling 'gnt-instance modify --new-primary', an exception was raised, because a RPC call was not called with the right hypervisor parameters which caused the backend function to crash, because it could not determine which Xen toolstack (xm/xl) was configured to be used. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add 'hvcDefaults' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
* add constant 'diskDtDefaults' to the Haskell to Python constant generation * remove 2 local variables which were used only by 'DISK_DT_DEFAULTS' and are, therefore, no longer necessary Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
* add group of constants 'value*' and constant 'niccDefaults' to the Haskell to Python constant generation * add 'PythonNone' to represent the 'None' is Haskell to Python generated code Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'ipolicyDefaults' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add 'mond' latest version constant to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'sshDaemonKeyfiles' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'diskLdDefaults' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'ndcDefaults' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'becDefaults' to the Haskell to Python constant generation. An instance of 'PyValue' is added to the type 'PyValueEx' in order to allow polymorphic types, namely, 'Map's. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Remove 'Show' constraint from the 'PyValue' class which, even though it allowed to simplify the definition of instances of this class for primitive types, it made it more complicated to define instances for other types. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'drbdValidBarrierOpt' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add constant 'dtsLvm' to the Haskell to Python constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Remove unused constants from Python because they were only used by constants which are currently generated, and move Python comment to the Haskell side. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-