Allow instance disc activation with offline secondaries
authorIustin Pop <iustin@google.com>
Fri, 6 Jul 2012 13:59:19 +0000 (15:59 +0200)
committerIustin Pop <iustin@google.com>
Sat, 7 Jul 2012 08:16:12 +0000 (10:16 +0200)
commitd908ba61bc613fb9b032c89f78c51ec1df59f71b
tree5950abb7e0d472f5e6e191cf589fc74377dcfc73
parent28a45bfc73f34cafdaaecd5bcf0a3ab9d2476c35
Allow instance disc activation with offline secondaries

Currently, this is not allowed, so one can't run a replace-disks; this
breaks any non-invasive method of recovering the redundancy of the
instance if its disks are already stopped (but it still works if the
disks on the primary are active). So let's fix this inconsistency.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
lib/cmdlib.py