mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-09 13:05:49 +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:
parent
c649aa2a40
commit
b1951b3d86
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user