- 29 May, 2013 2 commits
-
-
Thomas Thrainer authored
Document the newly added network field of node groups, and also update the missing documentation for the other fields of node groups. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
IAllocators should not put instances on nodes in nodegroups which are not connected to the network the instance should be connected to. Therefore, export the networks a node group is connected to to the IAllocator, so it can account for this restriction. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 28 May, 2013 4 commits
-
-
Thomas Thrainer authored
The watcher process previously (incorrectly) examined the admin_state field to figure out if the disks of an instance should be activated after a node reboot. This is changed to use the disks_active field of instances, which always holds the correct information (even if the instance should not be started, but only its disks activated). Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
gnt-instance list now also supports the disks_active field. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
The disks_active flag is updated when masterd reads the configuration. Also, cfgupgrade now removes the disks_active flag during downgrades. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
This flag tracks if the disks of an instace are supposed to be active. That's the case when an instance is running or when its disks got activated explicitly (and in a couple of other cases). It will be used by watcher to re-activate disks after a node reboot. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 25 May, 2013 1 commit
-
-
Bernardo Dal Seno authored
Also, fix some uses of keyword arguments for arguments with a default value, as required by the style guide, and a typo. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 24 May, 2013 2 commits
-
-
Guido Trotter authored
* stable-2.7: Bump up version for 2.7.0~rc2 release Add NEWS entry for SO_PEERCRED fix Workaround missing SO_PEERCRED Add debugging clause to _ExpandCheckDisks error Mention hail network incompatibility in manpages Remove obsolete Debian-related documentation Update NEWS for 2.7.0 rc2 Improve installation documentation Fix owner of the OS log dir Conflicts: lib/cmdlib.py: port to cmdlib/instance_storage.py lib/tools/ensure_dirs.py: trivial Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 23 May, 2013 2 commits
-
-
Michele Tartara authored
Also, cleanup the list of draft designs. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 22 May, 2013 7 commits
-
-
Guido Trotter authored
This bug happens in a few new distributions, so we workaround it by defining the constant ourselves, if it's missing. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Guido Trotter authored
This has been reported by users, so we should have the extra debugging available. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Thomas Thrainer authored
The longest Python files we still have are around 4200 lines long. In order to prevent future growth, limit the maximum file length (checked by pylint) to 4500 lines. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
We can't fix this in the 2.7 version, so it should be documented. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Thomas Thrainer authored
This part of the documentation refers to Grub instead of Grub2, but Grub2 has been the standard boot loader since Squeeze. As this part only (wrongly) repeats the preceeding documentation, it's removed completely. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
Move "local" entries at the bottom, and leave global 2.7 entries at the top, as for the other releases. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Thomas Thrainer authored
Based on user feedback the installation documentation is clarified and extended. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com> (cherry picked from commit 3913eaa7 ) Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 17 May, 2013 22 commits
-
-
Michele Tartara authored
Add the man page for the Ganeti auto-repair tool. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
This is a fix for a minor bug. Currently, a failed Xen VM start results in a stale config file left behind on the filesystem. This change introduces a new log directory, where the Xen VM config file is moved after a failed startup. Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Balazs Lecz authored
The OS log dir is used by noded, not masterd. Signed-off-by:
Balazs Lecz <leczb@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Bernardo Dal Seno authored
* stable-2.7: Update NEWS with disk creation fixes Don't fail to deactivate master IP if already down Add QA for recreating single instance disks Add QA for gnt-instance modify --disk Clean up when "gnt-instance modify" fails to create a disk recreate-disks honors the prealloc_wipe_disks flag Introduce wrapper for cmdlib._WipeDisks() Don't catch an exception that cannot be raised Wipe disks added through "gnt-instance modify" Support /var/run being a symlink in upload Final NEWS and configure.ac update for 2.7.0~rc1 gnt-job list: deal with non-ascii encoding in jobs Conflicts: NEWS lib/cmdlib.py qa/ganeti-qa.py qa/qa-sample.json NEWS, qa/ganeti-qa.py and qa/qa-sample.py had trivial conflicts. But I've updated QA changes to use the new interfaces. lib/cmdlib.py was renamed and split, so I had to semi-manually apply the changes to the new files. I had to change the names of some functions by removing or adding the initial underscore and update the imported names. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Bernardo Dal Seno authored
Also document a couple more fixes. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Thomas Thrainer authored
Files in the cmdlib directory are sorted alphabetically in Makefile.am. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All functions/classes which are used outside of their defining module (with tests as an exception) no longer have a leading underscore. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
Split instance.py further by extracting instance querying related logical units and functions to instance_query.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
Split instance.py further by extracting instance operations (start/stop/reboot/etc.) related logical units and functions to instance_operation.py. The extracted operations have in common that they affect the operating system in a running instance directly. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
Split instance.py further by extracting migration related logical units and functions to instance_migration.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
Split instance.py further by extracting storage related logical units and functions to instance_storage.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
cmdlib/__init__.py now simply defines the interface of the cmdlib module by importing all classes which should be visible to clients. Also don't ignore C0302 (Too many lines in module) any more. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All remaining classes in __init__.py are extracted to misc.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUOs* classes are extracted to operating_system.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUQuery* classes are extracted to query.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUBackup* classes are extracted to backup.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUInstance* classes are extracted to instance.py. Common functions are moved to common.py if used by non-instance logical units as well. Additionally, helper functions which are only used by LUBackup* and LUInstance* are moved to instance_utils.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUNode* classes are extracted to node.py. Common functions are moved to common.py if used by non-node logical units as well. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUGroup* classes are moved to group.py. Common functions are extracted to common.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
All LUCluster* classes are extracted to cluster.py. Shared functions are extracted to common.py, helper functions only used by LUCluster* are extracted to cluster.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Thomas Thrainer authored
LUTest* are moved to test.py. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
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>
-