mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Fix routed nodeconfig in nodediscover
This commit is contained in:
parent
cc0962f5e5
commit
0e18a0c141
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user