2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 04:56:12 +00:00

Add error on older XCC firmware

When we do hit a problem with the chained configuration and older
XCC, log a message to show why discovery will forever fail.
This commit is contained in:
Jarrod Johnson 2018-01-16 09:18:30 -05:00
parent c649aa2a40
commit b1951b3d86

View File

@ -870,6 +870,13 @@ def eval_node(cfg, handler, info, nodename, manual=False):
# to continue
nl = list(cfg.filter_node_attributes(
'enclosure.manager=' + enl[0]))
else:
errorstr = 'Chained SMM configuration with older XCC, ' \
'unable to perform zero power discovery'
if manual:
raise exc.InvalidArgumentException(errorstr)
log.log({'error': errorstr})
return
# search for nodes fitting our description using filters
# lead with the most specific to have a small second pass
nl = list(cfg.filter_node_attributes(