Revision 1d4a4b26 lib/cmdlib/node.py
b/lib/cmdlib/node.py | ||
---|---|---|
1549 | 1549 |
""" |
1550 | 1550 |
# Check whether any instance on this node has faulty disks |
1551 | 1551 |
for inst in _GetNodeInstances(self.cfg, self.op.node_name): |
1552 |
if inst.admin_state != constants.ADMINST_UP:
|
|
1552 |
if not inst.disks_active:
|
|
1553 | 1553 |
continue |
1554 | 1554 |
check_nodes = set(inst.all_nodes) |
1555 | 1555 |
check_nodes.discard(self.op.node_name) |
Also available in: Unified diff