Commit f0570f60 authored by Paul Rich's avatar Paul Rich
Browse files

fix for alps having nodes in one query but not the other

parent da96b175
......@@ -230,7 +230,11 @@ class CraySystem(BaseSystem):
node.managed = True
nodes[node.node_id] = node
for node_id, nodespec in system.iteritems():
except KeyError:
continue #ignore the partial node information, this node is disabled. This is a 6.0UP03/UP04 bug
# Should this be a different status?
nodes[node_id].role = nodespec['role'].upper()
if nodes[node_id].role.upper() not in ['BATCH']:
......@@ -464,7 +468,7 @@ class CraySystem(BaseSystem):
# Apparently, we CAN add nodes on the fly. The node would
# have been disabled. We need to add a new node and update
# it's state.
_logger.warning('Unknown node %s found. Starting reconstruction.', inven_node['node_id'])
#_logger.warning('Unknown node %s found. Starting reconstruction.', inven_node['node_id'])
if recon_inventory is None:
recon_inventory = ALPSBridge.fetch_inventory()
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