Commit ae549364 authored by Guido Trotter's avatar Guido Trotter
Browse files

Add debugging clause to _ExpandCheckDisks error

This has been reported by users, so we should have the extra debugging
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichele Tartara <>
parent d187780c
......@@ -7056,7 +7056,8 @@ def _ExpandCheckDisks(instance, disks):
if not set(disks).issubset(instance.disks):
raise errors.ProgrammerError("Can only act on disks belonging to the"
" target instance")
" target instance: expected a subset of %r,"
" got %r" % (instance.disks, disks))
return disks
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