From: krishnaa96 Date: Thu, 8 Oct 2020 07:09:44 +0000 (+0530) Subject: Fix solver startup issue X-Git-Tag: 2.1.2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=34f9514e8e825675405fdabe09e94da98821d9e5;p=optf%2Fhas.git Fix solver startup issue Issue-ID: OPTFRA-855 Signed-off-by: krishnaa96 Change-Id: Ib1acba8f9bfbf8cd8ba3f264ec66dc5af3253141 --- diff --git a/conductor/conductor/solver/service.py b/conductor/conductor/solver/service.py index e147661..d565d9f 100644 --- a/conductor/conductor/solver/service.py +++ b/conductor/conductor/solver/service.py @@ -198,7 +198,7 @@ class SolverService(cotyledon.Service): def __init__(self, worker_id, conf, **kwargs): """Initializer""" - LOG.debug({}.format(self.__class__.__name__)) + LOG.debug("{}".format(self.__class__.__name__)) super(SolverService, self).__init__(worker_id) self._init(conf, **kwargs) self.running = True @@ -277,7 +277,7 @@ class SolverService(cotyledon.Service): def run(self): """Run""" - LOG.debug({}.format(self.__class__.__name__)) + LOG.debug("{}".format(self.__class__.__name__)) # TODO(snarayanan): This is really meant to be a control loop # As long as self.running is true, we process another request. @@ -748,14 +748,14 @@ class SolverService(cotyledon.Service): def terminate(self): """Terminate""" - LOG.debug({}.format(self.__class__.__name__)) + LOG.debug("{}".format(self.__class__.__name__)) self.running = False self._gracefully_stop() super(SolverService, self).terminate() def reload(self): """Reload""" - LOG.debug({}.format(self.__class__.__name__)) + LOG.debug("{}".format(self.__class__.__name__)) self._restart() def current_time_millis(self):