From df41f0b538f69545dbe4d085ab277593d24eb6b2 Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Fri, 1 Aug 2014 01:12:00 +0000 Subject: [PATCH] Fix not attribute '_periodic_last_run' The ConductorManager class wasn't calling __init__ from its parent object, causing an AttributeError exception to be raised when accessing the attribute _periodic_last_run. This attribute was initialized in the PeriodicTasks class. Change-Id: Ieb850bf448f4b04be33c2cfecbac2de5925d6fda Closes-Bug: #1351114 --- ironic/conductor/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ironic/conductor/manager.py b/ironic/conductor/manager.py index 6a7d558ee0..35b1faf2d0 100644 --- a/ironic/conductor/manager.py +++ b/ironic/conductor/manager.py @@ -138,6 +138,7 @@ class ConductorManager(periodic_task.PeriodicTasks): target = messaging.Target(version=RPC_API_VERSION) def __init__(self, host, topic): + super(ConductorManager, self).__init__() if not host: host = CONF.host self.host = host