- 02 Oct, 2013 5 commits
-
-
Jose A. Lopes authored
Constants 'IALLOCATOR_NEVAC_*' are duplicates of 'NODE_EVAC_*' and are no longer being used so they can be removed. Fixes issue 583. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Replace uses of 'IALLOCATOR_NEVAC_PRI', 'IALLOCATOR_NEVAC_SEC', 'IALLOCATOR_NEVAC_ALL', and 'IALLOCATOR_NEVAC_MODES', with 'NODE_EVAC_PRI', 'NODE_EVAC_SEC', 'NODE_EVAC_ALL', and 'NODE_EVAC_MODES', given that these constants are repeated. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Raffa Santi authored
This allows XEN hypervisors to enable sound support, if the host machines has required support. This has been tested only up to the point of making sure the xen config file has the required configuration values as per: http://xenbits.xen.org/docs/4.2-testing/man/xl.cfg.5.html This feature may or may not be available on xen versions prior to 4.2 Signed-off-by:
Santi Raffa <rsanti@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Santi Raffa authored
Ease instance migration between heterogeneous nodes by letting system administrators hide CPU capabilities as needed. Signed-off-by:
Santi Raffa <rsanti@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
* stable-2.9 Version bump for 2.9.0 rc1 Update NEWS for 2.9.0 rc1 configure: check for hslogger Document hslogger dependency in NEWS Update INSTALL: hslogger is mandatory Update installation instruction for Debian Add documentation for diskstats collector Make the inst-status-xen collector more resilient Use secondary IP when moving instances * stable-2.8 Fix wrong release date in the NEWS file Version bump for 2.8.0 Add daemon split design doc * stable-2.7 Version bump for 2.7.2 Conflicts: NEWS configure.ac doc/design-draft.rst configure.ac: ignore version bump on stable-2.9 rest: take both additions. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 30 Sep, 2013 15 commits
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
Make the main 2.9 entry now describe 2.9.0 rc1 and a short "Since 2.9.0 beta1" section. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Jose Lopes <jabolopes@google.com>
-
Klaus Aehlig authored
As hslogger is, from 2.9 onwards, a mandatory dependency, check for it unconditionally. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
hslogger is now no longer optional (as it used to be in 2.8). Update the NEWS file accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
hslogger is a mandatory Haskell dependency form 2.9 onwards. Hence update the INSTALL instructions accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
In the instructions on how to install Ganeti on Debian, have the commands for Wheezy as default and mention the commands for Squeeze as other versions, rather than defaulting to Squeeze. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
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>
-
Spyros Trigazis authored
Implement functionality to import MonD data from a mock file to HTools (mainly for testing purposes) with the --mond-data option. 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
Implement readJSON functions for DCCategory, DCVersion and DCKind in Data Collectors's Types to be parsable from a JSON formatted file. Also, implement a utility function to capitalize the first character of a string. 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
Contact all MonDs from HTools to fetch data from its Data Collectors (only CPUload Data Collector is queried at the moment). This information is available to all HTools with the --mond option and can be ignored if the --ignore-dynu option is enabled. This functionality is implemented in ExtLoader.hs. 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 version number from MonD's own file into the constants file, so that is can be accessed from other parts of the system as well (e.g.: to perform queries over the MonD protocol). 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
Update hail, hbal and htools man-pages to include the use of data provided by MonD. Signed-off-by:
Spyros Trigazis <strigazi@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
The data collector for /proc/diskstats was undocumented. Add an entry for it in the mon-collector man page. Also, remove some end of line whitespaces from the file. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
* stable-2.8 Fix wrong release date in the NEWS file Version bump for 2.8.0 Add daemon split design doc * stable-2.7 Version bump for 2.7.2 Conflicts: Makefile.am NEWS configure.ac doc/design-draft.rst configure.ac: ignore version change in stable-2.8 rest: take both additions Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 27 Sep, 2013 8 commits
-
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Also, update the NEWS file accordingly. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Accessing private methods of parent classes is bad, but it is sometimes the best approach for classes mocking them for testing reasons. Selectively disable the related lint error just for the few functions that need to do it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Michele Tartara authored
Newer versions of pylint are more strict regarding indentation rules. This commit fixes a couple of indentations that they consider wrong. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
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>
-
Michele Tartara authored
The data collectors should be able to provide as much information as possible even when the system is badly degraded. This patch modifies the instance status collector for xen so that it can keep providing as much data as possible, even when some of the queries it performs fail, by removing exitIfBad calls and substituting them with logging and returning empty fields instead. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Thomas Thrainer authored
All data traffic usually goes over the secondary network, but gnt-instance move didn't. This patch corrects this problem by using the target nodes secondary IP as move target. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> (cherry picked from commit f56ab6d1)
-
Thomas Thrainer authored
All data traffic usually goes over the secondary network, but gnt-instance move didn't. This patch corrects this problem by using the target nodes secondary IP as move target. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 26 Sep, 2013 7 commits
-
-
Jose A. Lopes authored
Modify Hs2Py constants to include a comment in the generated comments describing the source of those constants. Fixes issue 588. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Thomas Thrainer authored
Adding a disk to an instance used to leave the disk behind activated, no matter how the disks_active flag of the instance was. This changes make sure that new disks are only active if the other disks of the instance are active too. Tests are included. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
As the default behavior of adding disks has changed (now waiting for disk synchronization is done per default), mention this change in the NEWS file. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
The already present option '--no-wait-for-sync' in `gnt-instance modify` is now also mentioned in the part which describes adding a disk. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Thomas Thrainer authored
When creating an instance, gnt-instance waits for instance disks to sync. Inconsistently, this was not the case for adding a disk to an instance. This patch changes the default behavior to wait for sync when adding a disk, but honor the --no-wait-for-sync option which `gnt-instance modify` already supports. Also adapt unit tests to mock the additional RPC call. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Michele Tartara authored
Conflicts are trivially solved. * stable-2.7 Version bump for 2.7.2 (updated NEWS file) Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Conflicts: NEWS configure.ac
-
Michele Tartara authored
Change the version number and the NEWS file for the 2.7.2 bugfix release. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 25 Sep, 2013 5 commits
-
-
Klaus Aehlig authored
* stable-2.9 Including missing RST files in packaging Update supported lint tools version numbers Fix some wrong indentations in the code Disable parenthesis indentation check Fix an improperly escaped string Make QaConfig a proper container Make QmpMessage a proper container Prevent static field checking for dynamic classes Fix metaclasses support in recent pylint versions * stable-2.8 Add additional tests for utils.Retry Make retry tests independent of actual time Fix corner-case in handling of remaining retry time Perform proper cleanup on termination of Haskell daemons Conflicts: Makefile.am doc/devnotes.rst In doc/devnotes.rst, take version updates from stable-2.9 while keeping the addition of mock from master. In Makefile.am take both additions. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Jose A. Lopes authored
Haskell test modules contain functions which have names containing underscore. Add hlint annotation to disable this check. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
* stable-2.8 Add additional tests for utils.Retry Make retry tests independent of actual time Fix corner-case in handling of remaining retry time Perform proper cleanup on termination of Haskell daemons Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
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>
-