- 17 Oct, 2013 1 commit
-
-
Hrvoje Ribicic authored
For legacy reasons, some instance fields are aliased. The aliases have the same definition but appear under different names. Support for such fields has been added to Query/Common.hs As aliases can cause somewhat harder to find bugs, a new test was added as well. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
- 16 Oct, 2013 2 commits
-
-
Hrvoje Ribicic authored
Add basic instance querying capabilities to the Haskell codebase. Several fields are present, more to come. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
Bump versions in various places to 2.11 and remove the downgrade code from cfgupgrade. Also adapt cfgupgrade tests. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 15 Oct, 2013 5 commits
-
-
Thomas Thrainer authored
- Bump version numbers to 2.10 in various files - Move implemented designs to design-2.10 Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
This patch adds unit tests for LUBackupPrepare. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
This patch adds unit tests for LUBackupQuery. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Jose A. Lopes authored
Add test suite for some names in 'AutoConf' to test whether the values generated from 'configure' and the 'Makefile' are valid filepaths, user names, group names, among others. Fixes issue 601. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Fix several search path configure options to properly handle separators. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 14 Oct, 2013 1 commit
-
-
Klaus Aehlig authored
This design document describes a new htool, hsqueeze, to be used to move the externally-mirrored instances in such a way that as few nodes as possible host instances at all. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Martin Zobel-Helas <zobel@debian.org> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 11 Oct, 2013 1 commit
-
-
Helga Velroyen authored
This patch removes an obsolete configure option related to shared file storage. It was remove a while ago, but accidentally reintroduced through a merge. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
- 09 Oct, 2013 1 commit
-
-
Klaus Aehlig authored
Propagate the information on whether we have the GNU version of ln to all programs by making it available as a constant. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 08 Oct, 2013 2 commits
-
-
Jose A. Lopes authored
Update target 'src/Ganeti/ListContants.hs' to disregard comments in 'src.Ganeti.HsContants' when extracting the names of the constants that need to be generated from Haskell to Python. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
This adds a cluster config example for version 2.9 to the test data collection. It will be used in subsequent tests. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 04 Oct, 2013 3 commits
-
-
Klaus Aehlig authored
Depending on configure options, the version string used in the name of the version specific directory differs. Provide this string also as a constant, as it is needed for the upgrade procedure, in order to be able to roll back. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Klaus Aehlig authored
This path is needed to construct the link target for $(sysconfdir)/ganeti/share for a different version. The latter will happen in the automated upgrade procedure. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Klaus Aehlig authored
The new 'gnt-cluster upgrade' command will get a Ganeti version as argument. So provide a function able to parse it. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
- 30 Sep, 2013 1 commit
-
-
Spyros Trigazis authored
Test if the input file imported with the --mond-data option is parsed properly. Signed-off-by:
Spyros Trigazis <strigazi@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 27 Sep, 2013 1 commit
-
-
Michele Tartara authored
This describes the future planned structure of Ganeti daemons. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 25 Sep, 2013 7 commits
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@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>
-
Robin H. Johnson authored
Signed-off-by:
Robin H. Johnson <robbat2@gentoo.org> The patch was released by the author into the public domain. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
More recent versions of pep8 check for the indentation level of closing parenthesis in a way that is incompatible with the way we use in our code. Our style is still pep8 compliant, and was re-allowed in even more recent versions of the tool, but still we have to disable the check, for the time being. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 23 Sep, 2013 2 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
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
- 20 Sep, 2013 2 commits
-
-
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
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>
-
- 19 Sep, 2013 7 commits
-
-
Jose A. Lopes authored
Because the Hs2Py constant generation infrastructure is transitional, there are two generated 'autoconf' modules, namely, 'src/AutoConf.hs' and 'lib/_autoconf.py'. However, conflicting values were being generated for Haskell and Python concerning the variables 'OS_SEARCH_PATH', 'ES_SEARCH_PATH', and 'IALLOCATOR_SEARCH_PATH'. This patch fixes this problem by placing these variables only on the Haskell side and generate Python constants holding the correct value. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
Before the layout change, the corresponding scripts used to be part of PYTHON_BOOTSTRAP, hence were already considered as generated. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
Some paths set that are set at configure time are needed at run time. These are exported by the Makefile. Change this to export the "canonical", unversioned, ones. This also has the advantage, that tools do not have to know which programs are python scripts (where, after following all the symbolic links, you end up under $(prefix)/share/ due to the private-module layout) and which are binaries (where you end up under $(prefix)/lib/). Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
With the latest change of our update design, there are only two symbolic links left, that are specific to a particular version. Those are only installed, if requested. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
According to our new upgrade design, a couple of links are version-independent, and should be installed always. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
From 2.10 onwards, all files are installed into versioned directories. As everything stays compatible between revisions, it is not technically necessary, to have revisions included in the directories. Nevertheless, there are situations where this is desirable. So make it available at configure time, disabled by default. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
The file layout described in the upgrades design document has changed. Adapt the base directories accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 18 Sep, 2013 1 commit
-
-
Jose A. Lopes authored
Fix missing dependency on target 'src/hs2py-constants' in 'Ganeti.ConstantUtils'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 17 Sep, 2013 1 commit
-
-
Sebastian Gebhard authored
This patch adds node_unittest.py containing the framework for unit testing LUNodeAdd. At this point, only test setup and tests for OpenvSwitch are implemented. 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>
-
- 12 Sep, 2013 2 commits
-
-
Klaus Aehlig authored
In the example, we have two nodes and 6 instances, all using external storage. There are four small instances on one node, and two big instances, requiring twice the amount of resources of a small instance, on the other node. So, with respect to static data, the cluster is already perfectly balanced. Using the default assumption of dynamic usage, however, the cluster can be improved by moving one small instance to the other node. The reason is, that by default, all instances are assumed to use the same resources, and this measure dominates, as all static resources are greatly underutilized. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Thomas Thrainer authored
This patch provides rudimentary unit test coverage for LUInstanceQuery and LUInstanceQueryData. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-