2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Fix routed nodeconfig in nodediscover

This commit is contained in:
Jarrod Johnson 2023-01-09 08:55:46 -05:00
parent cc0962f5e5
commit 0e18a0c141

View File

@ -1380,6 +1380,7 @@ def discover_node(cfg, handler, info, nodename, manual):
if not bmcaddr:
log.log({'error': 'Unable to get BMC address for {0]'.format(nodename)})
else:
bmcaddr = bmcaddr.split('/', 1)[0]
wait_for_connection(bmcaddr)
socket.getaddrinfo(bmcaddr, 443)
subprocess.check_call(['/opt/confluent/bin/nodeconfig', nodename] + nodeconfig)