CLI fails when Connection is refused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-watcherclient |
Fix Released
|
Medium
|
Alexander Stavitskiy |
Bug Description
roman@roman:~$ python
>>> from rally import osclients
>>> clients = osclients.
>>> clients
<rally.
>>> clients.watcher()
<watcherclient.
>>> watcher.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/stack/
return self._list(
File "/opt/stack/
resp, body = self.api.
File "/opt/stack/
resp, body_iter = self._http_
File "/opt/stack/
raise exc.ConnectionR
AttributeError: 'module' object has no attribute 'ConnectionRefused'
Looks like here is to be used CommunicationError instead.
https:/
affects: | watcher → python-watcherclient |
Changed in python-watcherclient: | |
milestone: | newton-3 → none |
Changed in python-watcherclient: | |
milestone: | none → newton-3 |
Fix proposed to branch: master /review. openstack. org/340935
Review: https:/