From 8e0bc4300839cfb3a10e51911ebdf5f58f04aaec Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 13 Dec 2024 16:15:23 -0500 Subject: [PATCH] Fix for SMMv3 onboarding --- confluent_server/confluent/discovery/handlers/redfishbmc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/handlers/redfishbmc.py b/confluent_server/confluent/discovery/handlers/redfishbmc.py index 5ecd078d..5f3c34fb 100644 --- a/confluent_server/confluent/discovery/handlers/redfishbmc.py +++ b/confluent_server/confluent/discovery/handlers/redfishbmc.py @@ -109,7 +109,7 @@ class NodeHandler(generic.NodeHandler): self.target_account_url(wc)) acctinfo = acctinfo[0] actypes = acctinfo['AccountTypes'] - candidates = acctinfo['AccountTypes@Redfish.AllowableValues'] + candidates = acctinfo.get('AccountTypes@Redfish.AllowableValues', []) if 'IPMI' not in actypes and 'IPMI' in candidates: actypes.append('IPMI') acctupd = {