Commit 9b99be28 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

verify-disks: Explicitely state nothing has to be done

Example output:
$ gnt-cluster verify-disks
Submitted jobs 4327
Waiting for job 4327 ...
No disks need to be activated.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 40309ed7
......@@ -670,6 +670,8 @@ def VerifyDisks(opts, args):
ToStdout("You need to replace or recreate disks for all the above"
" instances if this message persists after fixing broken nodes.")
retcode = constants.EXIT_FAILURE
elif not instances:
ToStdout("No disks need to be activated.")
return retcode
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment