X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2Frift%2Fmano%2Fconfig_agent%2Foperdata.py;h=94e9976419d3d69d373bc46195820b3a47d5c5cb;hb=979dcfbc15ad4ecd3d8cd41436493361966db08f;hp=49f5b03b5f0e0e6e7b567110507cf9f04401fb45;hpb=89cd782ebbb7f7b2e6bf45ac590025383a4d26cc;p=osm%2FSO.git diff --git a/common/python/rift/mano/config_agent/operdata.py b/common/python/rift/mano/config_agent/operdata.py index 49f5b03b..94e99764 100644 --- a/common/python/rift/mano/config_agent/operdata.py +++ b/common/python/rift/mano/config_agent/operdata.py @@ -69,8 +69,12 @@ class JujuClient(object): loop=loop, )) except Exception as e: + loop.close() + msg = "JujuClient: Connection Failed: %s", str(e) self._log.error(msg) + status = "failure" + details = msg raise Exception(msg) else: self._log.error("Success reached.")