- Apr 18, 2013
-
-
Helga Velroyen authored
This reverts commit 405692ef, because it breaks QA. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
When adding a 'Reviewed-by'-line, also add the reviewer passed through the REVIEWER environment variable. In that way, adding the reviewer for patch series all reviewed by the same person gets easier. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 17, 2013
-
-
Helga Velroyen authored
This does not solve the underlying problem of the rapi test not being runnable locally, but it makes it at least configurable to avoid having to patch in/out all the time. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
These lines are ok according to previous versions of hlint but trigger an error with version 1.8.43. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Fix 'move-instance' tool to preserve the instance disk and NIC names when moving instances from one cluster to another. Also, fix value error since an instance NIC is an 8-tuple, containing also name and UUID. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
This patch updates gnt-instance man page to include refering to devices by their name and UUID. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Modify existing tests to use the name option for instance disks. The configuration options 'disk' and 'disk-growth' are merged into a single 'disks' option, which is a list of dictionaries with 'size', 'growth' and 'name' items. Also, add 'instance-device-names' QA test, which tests addition, renaming and removal of named devices. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
This commits adds name to NIC and Disk modification definition. Signed-off-by:
Chris Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Add name and uuid fields to Disk and nic Haskell objects. Also, since they now have an UUID, make them instances of UuidObject. Signed-off-by:
Christor Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Since disks and NICs have UUIDs, they must be considered to _AllUUIDObjects. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Modify gnt-instance client to display the UUID and name fields of instances disks and NICs. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Extend instance queries to list 'uuid' and 'name' fields of instance's Disks and NICs. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Extend the CheckArguments phase of LUInstanceCreate and CheckPrereq phase of LUInstanceSetParams to also check if the name parameters of disks and NICs are unique and valid. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Implement renaming Disks and NICs in LUInstanceSetParams. Remove code that checked that changing disk mode was the only disk modification supported. Also, handle case of 'None' value for 'name' parameter. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Modify _ApplyContainerMods function to lookup NICs/Disks not only by their index inside the container, but also by their UUID or name. Abstract the lookup code in new GetItemFromContainer function. Make type of identifier in "opcode._TestInstSetParamsModList" to be TInt or TString. Modify gnt-instance client to not check if identifier is an integer. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Handle UUID and name fields when creating/managing NICs and Disks. Also, export NICs and Disks names to instance hooks environment. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Declare IDISK_NAME and INIC_NAME constants and add them to the IDISK_PARAMS_TYPE and INIC_PARAMS_TYPE. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
This patch adds "uuid" and "name" slots to Disk and NIC ConfigObjects. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
This commit adds the design document for adding UUID and name slots to NIC and Disk objects and the ability to refer to them by these slots. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Apr 14, 2013
-
-
Bernardo Dal Seno authored
The test failed because it was executed also in a configuration that wasn't expected, i.e., with exclusive storage enabled. Also the docstring is shortened, as it was being truncated in the QA output. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Bernardo Dal Seno authored
qa_config.IsTemplateSupported() is already used to decide which disk templates are supported by QA. Enabled templates now are part of that decision. Unit tests are updated. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 12, 2013
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
The test data for hail allocating a multi-disk instance was originally added in the 2.7 branch. On master the format of the ipolicy had changed; "min" and "max" are no longer top-level of the ipolicy, but instead below the "minmax" key. Hence change the test data accordingly after the merge to master. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- Apr 11, 2013
-
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Guido Trotter authored
* devel-2.7: (26 commits) Fix burnin install path Fix format of the NEWS file NEWS: Add news entry for the hail disk policy fix Add shelltests verifying hail applies disk ipolicy per disk Make the disks parameter available to the constructor Verify individual disks in Instance Compatibility fix for GHC 7 Properly update iv_name of disks while changing templates Limit the size of networks to /16 Check minimum size of networks on creation Fix job queue directory permission problems The disk size of a diskless instance is 0, not None Postpone non-urgent TODO from 2.7 to 2.9 Add tool for creating users and groups Backwards compatibility fix for Lucid Properly export errors while reading job list Fix typo and improve comment Fix a bug in the Runtime tests Restrict instance move to templates based on local files Introduce a constant for the copyable disk templates ... Conflicts: NEWS: trivial lib/network.py: trivial Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
This documents the new 'gnt-cluster init/modify' option '--enabled-disk-templates' in the man page. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Since storage type are supposed to represent the underlying technology of disk templates, the storage type 'sharedfile' is superfluous, because technically both disk templates 'file' and 'sharedfile' use the file system. This will be of use when implementing the storage space reporting for all disk templates. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch extends the NEWS file describing the essential user-facing changes in this patch series. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch adds consistency checks for the configuration regarding disk templates. In particular, it checks that the list of enabled disk templates is not empty, does not contain any bogus templates, and that all instances use actually enabled disk templates. Additionally, it fixes a small formatting issue regarding the list of enabled hypervisors. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch makes sure that instance creation is only possible for instances that use enabled disk templates. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This extends the QA for 'gnt-cluster modify'. It ensures that disabling of a disk template is only possible if the cluster does not have any instances using the template. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch makes sure that no instances can be created which use disk templates which are not enabled on the cluster. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch is a preparation for later patches in QA in this series it refactors the instance QA to make it more flexible regarding creation of instances with different disk templates. Right now we only support creation of instances with disk templates 'drbd', 'plain', and 'diskless'. With our current plans to improve storage handling, we should make QA more flexible to also create instances of other templates. This patch restructures the code in a way that instances can be created more easily to be used in other QA scripts. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Since managing of different storage units is now done using disk templates and not storage types, we remove the obsolete enabled storage types. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Fixes the QA of 'gnt-cluster init' and 'gnt-cluster modify' with respect to enabling disk templates. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch enhances 'gnt-cluster init' to accept a list of disk templates to be enabled. It removes the list of enabled storage types. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Adds a verification step to 'gnt-cluster modify' to make sure that no disk template is disabled that is currently in use by at least one instance. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Adds setting of the list of enabled disk templates to 'gnt-cluster modify'. Note that this does not yet include any verification regarding disk templates currently used by instances. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
Add reporting of the currently enabled disk templates to 'gnt-cluster info'. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-
Helga Velroyen authored
This patch adds constants for enabling disk templates to the constants, and the cluster configuration in haskell and python. It removes the obsolete preference list for enabled storage types. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtarara@google.com>
-