diff --git a/lib/cmdlib.py b/lib/cmdlib.py index f36ec45245e729c661222b79931e8d31e370852e..50123f99dfd22ee82fb1e1fc29c89da6384d11c6 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -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" % - (utils.CommaJoin(inst_groups), + raise errors.OpPrereqError("Instance %s's node groups changed since" + " locks were acquired, current groups" + " are '%s', owning groups '%s'; retry the" + " operation" % + (instance_name, + utils.CommaJoin(inst_groups), utils.CommaJoin(owned_groups)), errors.ECODE_STATE)