Add disks_active to configuration
authorThomas Thrainer <thomasth@google.com>
Wed, 15 May 2013 11:55:30 +0000 (13:55 +0200)
committerThomas Thrainer <thomasth@google.com>
Tue, 28 May 2013 13:05:35 +0000 (15:05 +0200)
commit1d4a4b26f207beaf063484448e8f2dc70cd6574c
treedbed2fdc278ef52dc49090035bf4ffef3befb187
parente75f80b90179089c9c7b08faaa494b3006634368
Add disks_active to configuration

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>
12 files changed:
lib/cmdlib/backup.py
lib/cmdlib/cluster.py
lib/cmdlib/group.py
lib/cmdlib/instance.py
lib/cmdlib/instance_migration.py
lib/cmdlib/instance_storage.py
lib/cmdlib/node.py
lib/config.py
lib/masterd/iallocator.py
lib/objects.py
src/Ganeti/Objects.hs
test/hs/Test/Ganeti/Objects.hs