2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-07-31 18:19:44 +00:00

Enhance message for enclosure based discovery

If nodes are accidentally omitted, but present, provide a hint that may clarify
the situation.
This commit is contained in:
Jarrod Johnson
2025-09-19 15:46:18 -04:00
parent d7879bad5b
commit ac7fdb3ef7
+2 -1
View File
@@ -1362,7 +1362,8 @@ def eval_node(cfg, handler, info, nodename, manual=False):
errorstr = 'The detected node {0} was detected using switch, ' \
'however the relevant port has too many macs learned ' \
'for this type of device ({1}) to be discovered by ' \
'switch.'.format(nodename, handler.devname)
'switch. If this should be an enclosure, make sure there are ' \
'defined nodes for the enclosure'.format(nodename, handler.devname)
log.log({'error': errorstr})
return
if not discover_node(cfg, handler, info, nodename, manual):