diff --git a/confluent_server/confluent/discovery/handlers/imm.py b/confluent_server/confluent/discovery/handlers/imm.py index a8468c19..9cabec9d 100644 --- a/confluent_server/confluent/discovery/handlers/imm.py +++ b/confluent_server/confluent/discovery/handlers/imm.py @@ -12,9 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +import codecs import confluent.discovery.handlers.bmc as bmchandler import pyghmi.exceptions as pygexc import pyghmi.ipmi.private.util as pygutil +import confluent.util as util import struct class NodeHandler(bmchandler.NodeHandler): @@ -37,8 +39,9 @@ class NodeHandler(bmchandler.NodeHandler): if wronguuid: # we need to fix the first three portions of the uuid uuidprefix = wronguuid.split('-')[:3] - uuidprefix = struct.pack( - '