- 05 Aug, 2013 2 commits
-
-
Spyros Trigazis authored
Introduce the Parser and Types for a new Data Collector. Signed-off-by:
Spyros Trigazis <strigazi@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Spyros Trigazis authored
Extract the utility functions of Diskstats's collector Parser so other collector Parsers can be able to use them. Signed-off-by:
Spyros Trigazis <strigazi@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 30 Jul, 2013 1 commit
-
-
Jose A. Lopes authored
Makefile.am rule for doc/html/index.html and doc/man-html/index.html requires executing sphinx-wrapper. However, sphinx-wrapper was not in the dependency list for this rule. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 24 Jul, 2013 2 commits
-
-
Klaus Aehlig authored
This is a design document detailing the semantics of the fine-grained control of jobs in Ganeti. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Dimitris Aragiorgis authored
This is a design document detailing the implementation of device hotplugging in Ganeti. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 23 Jul, 2013 2 commits
-
-
Apollon Oikonomopoulos authored
Add an example logrotate snippet, along with the relevant documentation. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch implements consistent usage and behavior of the --file-storage-dir option in 'gnt-cluster init' and 'gnt-cluster modify'. It includes a bunch of unit tests as well. Additionally, it enables the previously written unit tests for 'instance_storage', which were forgotten to be included in the Makefile so far. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 19 Jul, 2013 1 commit
-
-
Michele Tartara authored
Add a 2.9 configuration file and modify the test to use it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 17 Jul, 2013 6 commits
-
-
Thomas Thrainer authored
As queryd will, in the future, handle all LUXI request, queue jobs and most likely perform various other tasks, it is renamed to luxid already. This will safe some headache when upgrading Ganeti installations, as we don't have to deal with a daemon rename. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
A while ago, the execution of python unit tests was accidentally disabled for distcheck. This patch enables them again. This will lead to a couple of tests failing, but we decided to submit this first and then fix the broken tests in separate patches. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Thomas Thrainer authored
Add a man page for ganeti-queryd and update the documentation for ganeti-confd in various places. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
queryd is added as a new daemon which handles configuration queries over LUXI. This functionality was removed from confd, which now only queries over the network. The queryd user is added to the master group such that it can access server.pem. The confd user no longer needs to be in the master group. This fixes issue 292. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Confd's functionality to watch the Ganeti configuration file is extracted to the ConfigReader module. No functional changes are introduced. This extraction makes will enable us to split queryd from confd, as queryd will have to use the same functionality. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
This unit test checks for proper parsing of the output from `drbdsetup show` when re-attaching the local disk. In this case, disk parameters are not (yet) set, so the corresponding dict is empty. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 15 Jul, 2013 3 commits
-
-
Helga Velroyen authored
This patch removes the option to configure the file storage path at configure time, because it is now replaced by a runtime option for gnt-cluster init. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This patch removes the ENABLE_FILE_STORAGE completely from the remaining files, such as Makefile, configure, constants, pathutils and objects. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
The purpose of this patch is to remove the usage of the 'ENABLE_FILE_STORAGE' constant. To get there, we do some refactoring, add unit tests and add a FIXME for a forgotten test regarding the file storage location. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 10 Jul, 2013 1 commit
-
-
Jose A. Lopes authored
Add Makefile.am target hs-test-% for single-execution of Haskell tests. Add Makefile.am target hs-shell-% for single-execution of Haskell shelltests. Update documentation on running individual tests. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 04 Jul, 2013 2 commits
-
-
Michele Tartara authored
This commit enables the logical volume data collector to get information about the instances and to link it to the information about logical volumes. The list of parameters accepted by the collector is expanded to allow proper testing and connections to Confd in non-standard locations. The shelltest test is updated accordingly. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
The getInstances function can be useful in general, but is defined inside the InstStatus data collector. This commit takes it out and adds it to a proper (newly created) library. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 01 Jul, 2013 5 commits
-
-
Bernardo Dal Seno authored
This tests that VCPUs used by both instances and node OS are correctly accounted in allocation. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
This commit adds the LV data collector. Also, the lvCommand function was not providing the correct value as expected by the readProcess function, so it was fixed. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Add unit tests and Quickcheck tests for the LV parser. Also, fix the alphabetic order of some imports in htest.hs. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Add the parser for getting the information about the logical volumes in the system. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Klaus Aehlig authored
In this example cluster, there are four pairs of nodes, each hosting two instances. Each node has disk capacity for an additional instance. Therefore, for normal online rolling reboots, there are two node groups, of four nodes each, whereas for full evacuation, these have to be refined to four groups, of two nodes each. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 28 Jun, 2013 1 commit
-
-
Dimitris Aragiorgis authored
Add new script vif-ganeti that could be used instead of default vif-bridge in order NIC customization can be more flexible. Extract common code from kvm-ifup and insert it in a new file net-common that is being sourced by kvm-ifup and vif-ganeti and located under package lib dir (/usr/lib/ganeti/). Install vif-ganeti properly with make under /usr/lib/ganeti too. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 27 Jun, 2013 1 commit
-
-
Helga Velroyen authored
In order to extend the Haskell version of the NodeInfo query, we need some utility functions to deal with disk templates and storage types. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 24 Jun, 2013 1 commit
-
-
Michele Tartara authored
The recently introduced check for python libraries required only for testing (commit 27df5b73) was not correct. This patch fixes the issue. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 21 Jun, 2013 1 commit
-
-
Michele Tartara authored
Some python libraries are only needed for the tests, but not for running Ganeti. If those libraries are missing, just disable the Python tests. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 18 Jun, 2013 1 commit
-
-
Helga Velroyen authored
This reverts commit 88d27b8a. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 17 Jun, 2013 3 commits
-
-
Helga Velroyen authored
In order to extend the Haskell version of the NodeInfo query, we need some utility functions to deal with disk templates and storage types. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
This patch renames the 'Block' directory to 'Storage' in the Haskell code base. The same rename was done in the python code base earlier this quarter. We generalize the name, because we needed a place for general storage utility functions and storage code for other storage types like for example file storage. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
In this example, memory prevents adding more than one instance on the first node. Yet, on the other nodes, 2 instances can be placed each, if disks are shrunk appropriately. This, however, requires to courageous decision to shrink disks next, even though more nodes fail to allocate more due to memory than to disk. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 14 Jun, 2013 5 commits
-
-
Michele Tartara authored
Alpha versions should not check for version numbers in READMEs and documentation. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Unit tests verifying the behaviour of the check-news script are added. This required adding a new make target, "autotools-check" directly called from "commit-check", because the usual tests are executed in the build directory, whereas these, being relative to the autotools, cannot be executed there because the files of the autotools/ directory are not copied do not belong in the build directory. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
There was a typo in the name of the script for launching offline tests. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
Handling various storage types for the free space reporting requires some utility functions. They will be invoked in later patches. Unit tests are included. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
In this example, the instance policy for disks prevents allocation of more than one instance per node. The test verifies that tiered allocation still respects this and doesn't attempt to place policy violating instances on the cluster. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 13 Jun, 2013 1 commit
-
-
Thomas Thrainer authored
No longer index nodes by their name but by their UUID in the cluster config. This change changes large parts of the code, as the following adjustments were necessary: * Change the index key to UUID in the configuration and the ConfigWriter, including all methods. * Change all cross-references to nodes to use UUID's. * External interfaces (command line interface, IAllocator interface, hook scripts, etc.) are kept stable. * RPC-calls can resolve UUID's as target node arguments, if the RPC runner is based on a ConfigWriter instance. The result dictionary is presented in the form the nodes are addressed: by UUID if UUID's were given, or by name if names were given. * Node UUID's are resolved in ExpandNames and then stored in the OpCode. This allows to check for node renames if the OpCode is reloaded after a cluster restart. This check is currently only done for single node parameters. * Variable names are renamed to follow the following pattern: - Suffix is 'node' or 'nodes': Variable holds Node objects - Suffix is 'name' or 'names': Variable holds node names - Suffix is 'uuid' or 'uuids': Variable holds node UUID's * Tests are adapted. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 07 Jun, 2013 1 commit
-
-
Bernardo Dal Seno authored
hspace is run on clusters with exclusive storage enabled. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-