fuel-cli throws trace instead of error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
When using cli on master node and when api container is down, fuel-cli instead of pretty error message throws :
[root@fuel ~]# fuel provisioning --env-id 1 --default -d
Traceback (most recent call last):
File "/usr/bin/fuel", line 9, in <module>
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
entry = __import_
File "/usr/lib/
from fuelclient.
File "/usr/lib/
from fuelclient.
File "/usr/lib/
from fuelclient.
File "/usr/lib/
from fuelclient.client import APIClient
File "/usr/lib/
APIClient = Client()
File "/usr/lib/
self.
File "/usr/lib/
request = urllib2.
File "/usr/lib64/
return _opener.open(url, data, timeout)
File "/usr/lib64/
response = self._open(req, data)
File "/usr/lib64/
'_open', req)
File "/usr/lib64/
result = func(*args)
File "/usr/lib64/
return self.do_
File "/usr/lib64/
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
milestone: | none → 6.0 |
importance: | Undecided → Medium |
Changed in fuel: | |
status: | New → Confirmed |
https:/ /review. openstack. org/#/c/ 107357/ introduced nice error message:
[root@fuel ~]# dockerctl stop nginx
[root@fuel ~]# fuel provisioning --env-id 1 --default
Can't connect to Nailgun server! client/ config. yaml
Please modify "SERVER_ADDRESS" and "LISTEN_PORT"
in the file /etc/fuel/