From 0e18a0c1411c581bd91ad9ece1db45d76baf4a3d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 9 Jan 2023 08:55:46 -0500 Subject: [PATCH] Fix routed nodeconfig in nodediscover --- confluent_server/confluent/discovery/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/discovery/core.py b/confluent_server/confluent/discovery/core.py index 89c97bb6..f941a37f 100644 --- a/confluent_server/confluent/discovery/core.py +++ b/confluent_server/confluent/discovery/core.py @@ -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)