Revision 11dcce87

b/lib/cmdlib.py
2300 2300
               self.ENODERPC, pnode, "instance %s, connection to"
2301 2301
               " primary node failed", instance)
2302 2302

  
2303
      if pnode_img.offline:
2304
        inst_nodes_offline.append(pnode)
2303
      _ErrorIf(pnode_img.offline, self.EINSTANCEBADNODE, instance,
2304
               "instance lives on offline node %s", inst_config.primary_node)
2305 2305

  
2306 2306
      # If the instance is non-redundant we cannot survive losing its primary
2307 2307
      # node, so we are not N+1 compliant. On the other hand we have no disk
......
2350 2350

  
2351 2351
      # warn that the instance lives on offline nodes
2352 2352
      _ErrorIf(inst_nodes_offline, self.EINSTANCEBADNODE, instance,
2353
               "instance lives on offline node(s) %s",
2353
               "instance has offline secondary node(s) %s",
2354 2354
               utils.CommaJoin(inst_nodes_offline))
2355 2355
      # ... or ghost/non-vm_capable nodes
2356 2356
      for node in inst_config.all_nodes:

Also available in: Unified diff