This has been reported by users, so we should have the extra debugging available.
Signed-off-by: Guido Trotter <[email protected]> --- lib/cmdlib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 0adf0f1..e600199 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -7056,7 +7056,8 @@ def _ExpandCheckDisks(instance, disks): else: if not set(disks).issubset(instance.disks): raise errors.ProgrammerError("Can only act on disks belonging to the" - " target instance") + " target instance: %r versus %r" % + (disks, instance.disks)) return disks -- 1.7.10.4
