calling fuel-client --help without local nailgun causes traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Kamil Sambor |
Bug Description
steps to reproduce:
workon <venv>
checkout fuel-web repo
cd fuel-web/fuelclient
pip install -r requirements.txt --upgrade
python setup.py develop
fuel --help
expected resutls:
help should be printed
if i run 'fuel node'
expected result should be 'un-able to contact server...'
and some directions on how to set the value of the server
also an issue, is that it's hard to find the option to change the server address, its not in the command line help
issues (as a list)
1) fuel --help makes calls to fuel server which is silly
2) fuel client calls to non-local server raises traceback instead of useful error message
3) how to change the server value is hidden from the user, needs to be added to help.
(fuel)andreww@
Traceback (most recent call last):
File "/home/
load_
File "/home/
return get_distributio
File "/home/
return ep.load()
File "/home/
entry = __import_
File "/home/
from fuelclient.
File "/home/
from fuelclient.
File "/home/
from fuelclient.
File "/home/
from fuelclient.client import APIClient
File "/home/
APIClient = Client()
File "/home/
self.
File "/home/
request = urllib2.
File "/usr/lib/
return _opener.open(url, data, timeout)
File "/usr/lib/
response = self._open(req, data)
File "/usr/lib/
'_open', req)
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Kamil Sambor (ksambor) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
importance: | Medium → High |
milestone: | 6.0 → 5.1 |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/112220
Review: https:/