Revision a872dae6 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
704 | 704 |
bad = True |
705 | 705 |
|
706 | 706 |
if not instanceconfig.status == 'down': |
707 |
if not instance in node_instance[node_current]: |
|
707 |
if (node_current not in node_instance or |
|
708 |
not instance in node_instance[node_current]): |
|
708 | 709 |
feedback_fn(" - ERROR: instance %s not running on node %s" % |
709 | 710 |
(instance, node_current)) |
710 | 711 |
bad = True |
Also available in: Unified diff