- May 17, 2013
-
-
Thomas Thrainer authored
LUNetwork* and associated helper functions are extracted to network.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
LUTags* and their base class, TagsLU, are extracted to tags.py. An additional shared function, _ShareAll, is extracted to common.py for shared usage. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
Base classes holding common functionality is extracted into base.py. Utility functions used by both base classes and subclasses is moved to common.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
- May 15, 2013
-
-
Helga Velroyen authored
This patch introduces a test to check the compatibility of the Haskell and the Python representation of instances. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This patch introduces and enhances generators for instances: - 'genInstWithNets' is split into the generation of an arbitrary instance and enhancing an instance with nets - 'genInst' calls 'genInstWithNets' with an empty set of initial networks to provide a reasonable default - the Arbitrary instance of 'Instance' uses now 'genDisks' to create instances with a reasonable set of disks Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
The Arbitrary instance of the 'Instance' object is written using the <*> syntax. Since it often uses the 'arbitrary' generator for the instance's fields it is hard to figure out which 'arbitrary' fills which instance field. This patch annotates all fields with their name to make maintenance of this code easier. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This patch adds generators for Disk instances to the Haskell test code. It uses somewhat more reasonable generators to fill the fields instead of just arbitrary values. 'genDiskWithChildren' is a generator that generates a disk with a specified number of disk children. To avoid shooting ourselves in the foot we do not generate further (grand) child disks for the child disks. 'genDisk' calls 'genDiskWithChildren' by requesting three children as a resonable default. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- May 14, 2013
-
-
Michele Tartara authored
Also, properly set the date of the last modification. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The monitoring daemon should always be alive, therefore it's added to the watcher. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Add the monitoring daemon to the command starting the node daemon, given that they both have to be started on all nodes. Note that daemon-util only supports starting one daemon at the time, so the actual command has to be composed as a sequence of two different daemon-util invocations. Also, the monitoring daemon invocation is conditional, depending on whether it was enabled at configure time. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 13, 2013
-
-
Guido Trotter authored
cmdlib.py has grown *really* too much. Move it into its own package to allow splitting it further. Signed-off-by:
Guido Trotter <ultrotter@google.com> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- May 10, 2013
-
-
Michele Tartara authored
build_chroot used to work only if launched from ./devel/, whereas now it can be launched from anywhere, and it will store the resulting files in the current directory. Fixes Issue 459. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
If the data directory is not in the expected place, the script complains with an error message and stops, instead of giving obscure messages. Partially fixes Issue 459. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 08, 2013
-
-
Weiwei Jia authored
Signed-off-by:
Weiwei Jia <harryxiyou@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 07, 2013
-
-
Michele Tartara authored
Update the script adding explicit version numbers for increased repeatability of the build environment construction process. Version numbers are aligned with those used by the external buildbot slack role. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- May 05, 2013
-
-
Bernardo Dal Seno authored
When instance tests with exclusive_storage are enabled, the number of PVs on nodes are checked to see if it's suitable for those tests. This fixes issue 437. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 03, 2013
-
-
Bernardo Dal Seno authored
The way disk templates were displayed in instance policies became confusing since the introduction of the enabled_disk_templates cluster parameter. Fix issue 440. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Bernardo Dal Seno authored
This makes sure that issue 401 doesn't come back. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Conflicts: INSTALL NEWS configure.ac src/Ganeti/Query/Group.hs test/hs/Test/Ganeti/Objects.hs test/hs/Test/Ganeti/Query/Query.hs Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Curl is not optional anymore. Remove reference to it in the optional libraries section. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 02, 2013
-
-
Helga Velroyen authored
This fixes issue 432: when setting the volume group name, the presence of the volume group was checked on all nodes. This patch now restricts the check only to the vm-capable ones. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
Inter-cluster instance moves depends on exporting an instance. For file-based instance, exporting is not supported. Therefore, this patch disables inter-cluster instance moves for file-based instances and informs the user with an expressive error message. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
Currently, when creating an instance with file storage fails, the error message is rather general. This patch adds a hint on what to do as a possible fix. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
Move the "main" 2.7 section up to rc1, and just leave the delta in beta3. Then add a new beta3 to rc1 delta. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Guido Trotter authored
- Mention the file-storage-paths config file - Add information about sharedfile and ext storage types - Change one manpage reference to a proper link Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Guido Trotter authored
It was in NEWS, but not mentioned at all in the upgrade notes. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Guido Trotter authored
-enable-kvm and -disable-kvm are deprecated in favor of accel=kvm passed as a machine specification. This fixes compatibility with newer qemu versions. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Guido Trotter authored
We had parameter validation when the runtime is generated, but in the middle of the function. Move up, before any parameter is accessed. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Guido Trotter authored
Newer versions of kvm (from 1.4) don't support -nographic with -daemonize. When -display exists, use -display none instead. This fixes Issue 389. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- May 01, 2013
-
-
Guido Trotter authored
- Remove mention of python 2.4 specific modules, as that version is not supported anymore - Add bitarray and ipaddr - Remove a double space - Add mandatory C library packages too - Mention the option of using drbd modules directly from your kernel This also fixes Issue 372. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Apr 30, 2013
-
-
Michele Tartara authored
Mon-collector kept being compiled even if monitoring was disabled during configure. Fixes Issue 441. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Some data collectors require confd data information. Therefore, monitoring is dependent on confd, but this was not checked. This commit introduces such a check and partially fixes Issue 441. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The haskell type definition of opcodes should remain aligned with the python one. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
It will be added to the haskell definition of opcodes, to keep it aligned to the python one, and it will be used for fetching the reason trail by the instance status data collector. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Now the reason field is implemented according to the reason trail design document. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Produce a personalized 404 error when the requested resource is not available. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Implement the API function of the monitoring daemon that provides the report of all the data collectors. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Allow to ask the monitoring daemon for the report of one specific data collector. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-