X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2Frift%2Fmano%2Fconfig_agent%2Foperdata.py;h=94e9976419d3d69d373bc46195820b3a47d5c5cb;hb=a2e42557cbf5abfa967bee73f79c2a62ddfb141e;hp=49f5b03b5f0e0e6e7b567110507cf9f04401fb45;hpb=8dad2958cab56d275f7f24025d9f397be7da4e77;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.")