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

Output instance name in error message instead of object representation.

Reviewed-by: iustinp
parent 79f7be7b
......@@ -2147,7 +2147,7 @@ class LUFailoverInstance(LogicalUnit):
if not rpc.call_instance_start(target_node, instance, None):
_ShutdownInstanceDisks(instance, self.cfg)
raise errors.OpExecError("Could not start instance %s on node %s." %
(instance, target_node))
(instance.name, target_node))
def _CreateBlockDevOnPrimary(cfg, node, device):
......
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