(2.9) Gracefully handle degraded instances in verification
authorKlaus Aehlig <aehlig@google.com>
Thu, 30 Jan 2014 15:30:00 +0000 (16:30 +0100)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 08:01:06 +0000 (10:01 +0200)
commit07e2aff5c067e325a31f2aa08975cc7e22ae5127
tree9313fc5c668c8f58db2fa9ead897a7293f7d735b
parented522e8582adce32a9ec754d3bcc0c599ed51dc7
(2.9) Gracefully handle degraded instances in verification

The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the option to
remove individual disk degraded 0-disk non-diskless instances
can occur. While such instances usually are not useful, Ganeti
still should be operational in their presence.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/cmdlib/cluster.py