- 25 Sep, 2013 12 commits
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Jose A. Lopes authored
Fix comment for a configure parameter in 'configure.ac' to be consistent with the remaining parameters. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
This patch fixes 'Makefile.am' to include the source file of 'mon-collector' in the distribution tarball even if the monitoring daemon has been disabled at configure time. Fixes issue 587. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Functions 'BuildVersion' and 'SplitVersion' are no longer needed by the constants and, given that they are not constants, they should be moved elsewhere. Since they are only used by 'cfgupgrade' and tests, these functions are moved to 'lib/utils/version.py' and references to them updated. Note that in 'lib/server/masterd.py', local variable 'version' is renamed 'ver' to avoid redefining the import 'ganeti.utils.version'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Add 'HUnit' test for 'buildVersion'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
The previous patch has made '_autoconf' obsolete. This patch completely removes '_autoconf' and the 'Makefile' targets for it. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Update references to constants that were previously in the generated 'lib/_autoconf.py' and since the previous patch have been included in the Hs2Py constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Add remaining constants which in Python are imported from the generated 'lib/_autoconf.py'. This will allow to completely remove this module. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Update Python references to all constants that used to point to the generated 'lib/_autoconf.py', which has been superseeded by the Haskell counterpart 'src/AutoConf.hs'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Add all constants in 'AutoConf' to the Hs2Py constant generation and 'socatEscapeCode' because it is part of the group containing 'socatPath', 'socatUseCompress', and 'socatUseEscape'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Add 'buildVersion' which calculates Ganeti versions and it is the Haskell counterpart of 'BuildVersion' in 'lib/constants.py'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
The default for using the full version string in the directory is not to use it. If the option --enable-versionfull is given, its argument should default to yes. That means that everything that is not a "no" should be interpreted as yes. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 24 Sep, 2013 17 commits
-
-
Jose A. Lopes authored
Update references of Python constants in the previous patch to fetch their values from the generated Haskell to Python constants. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add 'confd' related constants to the Hs2Py constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Update references of the Python constants that were introduced in the previous patch. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add 'opcodeReason', 'diskstatsFile', 'statFile', and 'mondTimeInterval', to the Hs2Py constant generation. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Reorder Haskell constants to match the order in the Python constants module 'lib/constants.py' to make it easier to debug/trace the Hs2Py constant migration process. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
Instead of using a separate binary, add the upgrade functionality to gnt-cluster. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
The parameter format for call_blockdev_getdimensions has changed in a previous patch. Here, the correct parameter format is used for the RPC call. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
The physical_id field can't be recreated during downgrades, so don't expect it to be during the test. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Display resolved node names instead of node UUIDs in a couple of warnings and log messages. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
To make sure that the dynamic_params field is not serialized by accident to the configuration file only include it in the serialization when explicitly asked for. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Remove remaining references to the physical_id field in cluster-merge and sanitize-config. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
The physical_id field is no longer supported in disk objects, so remove it during upgrades. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Disk objects no longer support the physical_id field, so remove it from mocked disk objects. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Remove all references to the physical_id field of disk objects in tests. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
The 'physical_id' field of disk objects is no longer used, so remove it. Also, all references are removed together with the code which made sure that the physical_id is up to date when transmitted over RPC. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
The disk field 'physical_id' has to be kept up to date whenever a disk object is sent to a node via RPC. This is done with the SetDiskID method manually, which is a source of bugs. This patch replaces the use of 'physical_id' with a new field names 'dynamic_params'. The RPC code is adapted to update this field whenever a disk object is sent to a node. Furthermore, this field is only ever set on copies of disk objects which don't get written to the configuration file. On the node side, the use of 'physical_id' is removed and the new dynamic parameters are used now for the same purpose. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Fix typo in comment. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
- 23 Sep, 2013 3 commits
-
-
Klaus Aehlig authored
With the new private-module layout, python scripts using the ganeti module must end up in $(versionedsharedir) in order to see this private module. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Klaus Aehlig authored
One feature of the new private-module layout is that a python script cannot simply 'import ganeti'. The reason is that the interfaces to these modules are not stable and hence should not be used outside Ganeti. However, this is what the burnin test in the qa does. The good news is that we know that the burnin script will always be from the same version of ganeti as the one we're testing against; so we can simply provide the appropriate PYTHONPATH. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
- 20 Sep, 2013 8 commits
-
-
Jose A. Lopes authored
Fix 'AutoConf.hs.in' template substitution, namely, change 'SOCAT' to 'SOCAT_PATH' to match the value used in the invocation of 'm4' in the target 'src/AutoConf.hs' in 'Makefile.am'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
In this way, with default configuration options, running make install twice in a row succeeds. Fixes issue 567. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Update references to storage field Python constants to fetch their values from 'lib/_constants.py'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add storage fields constants to the Haskell to Python constant generation. These constants fetch their values from the Haskell data type 'StorageField'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Move 'StorageField' to 'Ganeti.Types' in order to break the circularity of 'Ganeti.Rpc' and be able to generate constants from this Haskell data type. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Remove trailing parenthesis in 'TOOLSDIR' 'configure' variable when passed to 'm4' to generate 'src/AutoConf.hs'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Hrvoje Ribicic authored
If the target cluster has a default iallocator, no allocation params are needed. The parameter checks take this into account and do not show errors anymore. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Hrvoje Ribicic authored
By using the --dest-disk-template option, the move-instance utility can change the disk template of the moved instance on-the-fly. This is done by simply altering the disk template of the instance created on the receiving end. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-