Fix get node_status of edpm node

Add allIPs to get node_status

Change-Id: I1405b54cc7237ded498ad15206745e5832872993
This commit is contained in:
Fiorella Yanac 2024-06-26 11:08:03 +01:00
parent 306f19ebbf
commit 8790e06301

View File

@ -95,7 +95,7 @@ def _get_ocp_worker_addresses(worker):
def _get_edpm_node_ctlplane_ip_from_status(hostname, node_status):
all_ips = node_status.get('AllIPs')
all_ips = node_status.get('AllIPs') or node_status.get('allIPs')
if not all_ips:
LOG.warning("No IPs found in the Nodeset status: %s",
node_status)