Revision e9f7d26a

b/lib/cmdlib.py
2360 2360
               self.ENODERPC, pnode, "instance %s, connection to"
2361 2361
               " primary node failed", instance)
2362 2362

  
2363
      _ErrorIf(pnode_img.offline, self.EINSTANCEBADNODE, instance,
2364
               "instance lives on offline node %s", inst_config.primary_node)
2363
      _ErrorIf(inst_config.admin_up and pnode_img.offline,
2364
               self.EINSTANCEBADNODE, instance,
2365
               "instance is marked as running and lives on offline node %s",
2366
               inst_config.primary_node)
2365 2367

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

Also available in: Unified diff