projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug-144 -- set the URL for loganalyzer
[osm/SO.git]
/
common
/
python
/
rift
/
mano
/
utils
/
juju_api.py
diff --git
a/common/python/rift/mano/utils/juju_api.py
b/common/python/rift/mano/utils/juju_api.py
index
3d7b369
..
b452b8a
100644
(file)
--- a/
common/python/rift/mano/utils/juju_api.py
+++ b/
common/python/rift/mano/utils/juju_api.py
@@
-360,8
+360,8
@@
class JujuApi(object):
# Optimizing calls to Juju, as currently we deploy only 1 unit per
# service.
# Optimizing calls to Juju, as currently we deploy only 1 unit per
# service.
- if self.service == service and len(self.units):
- return self.units
+
#
if self.service == service and len(self.units):
+
#
return self.units
if env is None:
env = self._get_env()
if env is None:
env = self._get_env()
@@
-693,9
+693,7
@@
class JujuApi(object):
except Exception as e:
msg = "{}: Resolve on unit {}: {}". \
format(self, unit, e)
except Exception as e:
msg = "{}: Resolve on unit {}: {}". \
format(self, unit, e)
- self.log.error(msg)
- self.log.exception(e)
- raise JujuResolveError(msg)
+ self.log.warn(msg)
@asyncio.coroutine
def resolve_error(self, service=None, status=None, env=None):
@asyncio.coroutine
def resolve_error(self, service=None, status=None, env=None):