This series implements a first part of the spindle support outlined in
design-partitioned.rst. Spindles can be specified when creating an instance
disk with exclusive storage enabled. Support for spindles in policies and
htools will come soon in further patches. The first two patches are not
related to spindles, but are included because there are patches depending
on them. QA is expanded to cover more disk creation cases.
Bernardo Dal Seno (10):
cfgupgrade: Downgrade is a NO-OP
Fix style inconsistencies in gnt-instance man page
Add "spindles" option to instance disk creation commands
Check that spindles are not given when they are not allowed
Add spindles field to disk object
Document disk device Create() functions
Spindles are used in creating new disks
gnt-instance info prints information about spindles
cfgupgrade: Remove spindles on downgrade
QA for spindles in creating disks
Makefile.am | 2 +-
lib/cli.py | 3 +
lib/client/gnt_instance.py | 2 +
lib/cmdlib/instance.py | 27 +++++-
lib/cmdlib/instance_query.py | 1 +
lib/cmdlib/instance_storage.py | 33 +++++--
lib/constants.py | 2 +
lib/objects.py | 13 ++-
lib/storage/base.py | 18 +++-
lib/storage/bdev.py | 26 ++++--
lib/storage/drbd.py | 2 +-
man/gnt-instance.rst | 23 +++--
qa/qa-sample.json | 2 +
qa/qa_config.py | 13 +++
qa/qa_instance.py | 29 +++++-
qa/qa_instance_utils.py | 7 ++
src/Ganeti/Objects.hs | 2 +
...downgraded_2.7.json => cluster_config_2.8.json} | 103 +++++++++++++--------
test/hs/Test/Ganeti/Objects.hs | 5 +-
test/py/cfgupgrade_unittest.py | 7 +-
tools/cfgupgrade | 63 ++++---------
21 files changed, 256 insertions(+), 127 deletions(-)
rename test/data/{cluster_config_downgraded_2.7.json =>
cluster_config_2.8.json} (88%)
--
1.8.2.1