Commit c4ff2275 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cmdlib: Give instance name in error message on group evacuation

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 3ddd94f9
......@@ -12005,10 +12005,12 @@ class LUGroupEvacuate(LogicalUnit):
inst_groups = self.cfg.GetInstanceNodeGroups(instance_name)
if not owned_groups.issuperset(inst_groups):
raise errors.OpPrereqError("Instance's node groups changed since locks"
" were acquired, current groups are '%s',"
" owning groups '%s'; retry the operation" %
raise errors.OpPrereqError("Instance %s's node groups changed since"
" locks were acquired, current groups"
" are '%s', owning groups '%s'; retry the"
" operation" %
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