Revision c4ff2275

b/lib/cmdlib.py
12005 12005

  
12006 12006
      inst_groups = self.cfg.GetInstanceNodeGroups(instance_name)
12007 12007
      if not owned_groups.issuperset(inst_groups):
12008
        raise errors.OpPrereqError("Instance's node groups changed since locks"
12009
                                   " were acquired, current groups are '%s',"
12010
                                   " owning groups '%s'; retry the operation" %
12011
                                   (utils.CommaJoin(inst_groups),
12008
        raise errors.OpPrereqError("Instance %s's node groups changed since"
12009
                                   " locks were acquired, current groups"
12010
                                   " are '%s', owning groups '%s'; retry the"
12011
                                   " operation" %
12012
                                   (instance_name,
12013
                                    utils.CommaJoin(inst_groups),
12012 12014
                                    utils.CommaJoin(owned_groups)),
12013 12015
                                   errors.ECODE_STATE)
12014 12016

  

Also available in: Unified diff