From 6a1f7e7fa42ba322bde4d2a4150a659ddecad14f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Sep 2017 16:42:56 -0400 Subject: [PATCH] Fix for incorrect uuid format In the slp data, the data is an array, make it a string first. --- confluent_server/confluent/discovery/handlers/smm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/handlers/smm.py b/confluent_server/confluent/discovery/handlers/smm.py index 1244ed68..3f9da8e6 100644 --- a/confluent_server/confluent/discovery/handlers/smm.py +++ b/confluent_server/confluent/discovery/handlers/smm.py @@ -32,7 +32,7 @@ class NodeHandler(bmchandler.NodeHandler): # ipmi return and property value uuid = self.info.get('attributes', {}).get('uuid', None) if uuid: - uuid = fixuuid(uuid) + uuid = fixuuid(uuid[0]) self.info['uuid'] = uuid def config(self, nodename):