Improve error message for replace-disks
authorMichele Tartara <mtartara@google.com>
Mon, 4 Nov 2013 15:20:07 +0000 (15:20 +0000)
committerMichele Tartara <mtartara@google.com>
Mon, 4 Nov 2013 15:30:16 +0000 (15:30 +0000)
commit34ea8da365c0900a17e97b2a05c88c8919c1be94
treef5b7d954f831f942ae4de320d58ff9ccd01c4754
parent7e360262fcd87aaeb4cf59e3c3515653c77cea18
Improve error message for replace-disks

In some conditions, replace-disks will fail if the disks are not properly
activated. Improve the error message suggesting to run activate-disks before
executing replace-disks.

Fixes Issue 606.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/cmdlib/instance_storage.py