Commit 186ec53c authored by Iustin Pop's avatar Iustin Pop
Browse files

Silence warning on node list for offline nodes

The warning in node list is meant for nodes that return wrong
information, but for offline nodes this case is normal.

Reviewed-by: imsnah
parent 7d88772a
......@@ -578,6 +578,10 @@ class RpcRunner(object):
for result in retux.itervalues():
if result.failed or not isinstance(, dict): = {}
if result.offline:
log_name = None
log_name = "call_node_info"
utils.CheckDict(, {
'memory_total' : '-',
......@@ -585,7 +589,7 @@ class RpcRunner(object):
'memory_free' : '-',
'vg_size' : 'node_unreachable',
'vg_free' : '-',
}, "call_node_info")
}, log_name)
return retux
def call_node_add(self, node, dsa, dsapub, rsa, rsapub, ssh, sshpub):
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