Commit c87470bf9c4fbd622ff443a786b96d8c2dc619b9 in fuel-web introduced a change in API, which was not taken into account in fuelclient.
Running fuel network --env-id 1 --upload ends up with an error:
Traceback (most recent call last):
File "/usr/bin/fuel", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.6/site-packages/fuelclient/cli/error.py", line 114, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/fuelclient/cli/parser.py", line 266, in main
parser.parse()
File "/usr/lib/python2.6/site-packages/fuelclient/cli/parser.py", line 143, in parse
actions[parsed_params.action].action_func(parsed_params)
File "/usr/lib/python2.6/site-packages/fuelclient/cli/actions/base.py", line 62, in action_func
method(params)
File "/usr/lib/python2.6/site-packages/fuelclient/cli/actions/network.py", line 58, in upload
if task_result['status'] == 'error':
KeyError: 'status'
Here is the revert: https:/ /review. openstack. org/238030
1) Many, many times it was mentioned to do not change what this API is returning if you do not get rid of "task" from this API handler. So it is completly wrong approach.
2) Nobody check if fuelclient working. You change API, you need to check it.