From 9ac7158bddb43aa809a132e84f60f0014b5def8f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 7 Aug 2017 13:46:14 -0400 Subject: [PATCH] Fix SMM enablement on XCC in SD530 The form factor is, at least in one test, an array, not a string. Just in case, tolerate either way. --- confluent_server/confluent/discovery/handlers/xcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/handlers/xcc.py b/confluent_server/confluent/discovery/handlers/xcc.py index b47ea69e..ddcf2c9a 100644 --- a/confluent_server/confluent/discovery/handlers/xcc.py +++ b/confluent_server/confluent/discovery/handlers/xcc.py @@ -22,7 +22,7 @@ class NodeHandler(immhandler.NodeHandler): def preconfig(self): ff = self.info.get('attributes', {}).get('enclosure-form-factor', '') - if ff != 'dense-computing': + if ff not in ('dense-computing', [u'dense-computing']): return # attempt to enable SMM #it's normal to get a 'not supported' (193) for systems without an SMM