From 7bf8242aba825012766c1ff14d031ab435eafd87 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 4 Jan 2017 09:44:52 -0500 Subject: [PATCH] Assign self.ipmicmd in case we are reusing an existing object that is already logged. --- confluent_server/confluent/plugins/hardwaremanagement/ipmi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index 52fe4533..eebf1872 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -345,6 +345,7 @@ class IpmiHandler(object): if ge[0] == -2: raise exc.TargetEndpointUnreachable(ge[1]) raise + self.ipmicmd = persistent_ipmicmds([node, tenant]) bootdevices = { 'optical': 'cd'