Traceback (most recent call last):
File "/usr/local/bin/heat", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/heatclient/shell.py", line 443, in main
HeatShell().main(args)
File "/usr/local/lib/python2.7/dist-packages/heatclient/shell.py", line 399, in main
args.func(client, args)
File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/shell.py", line 432, in do_stack_list
utils.print_list(stacks, fields, sortby_index=3)
File "/usr/local/lib/python2.7/dist-packages/heatclient/openstack/common/cliutils.py", line 154, in print_list
for o in objs:
File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 85, in paginate
stacks = self._list(url, 'stacks')
File "/usr/local/lib/python2.7/dist-packages/heatclient/openstack/common/apiclient/base.py", line 115, in _list
body = self.client.get(url).json()
File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 259, in get
return self.client_request("GET", url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 252, in client_request
resp, body = self.json_request(method, url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 233, in json_request
resp = self._http_request(url, method, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 192, in _http_request
% resp.content)
heatclient.exc.HTTPUnauthorized: ERROR: Authentication failed. Please try again with option --include-password or export HEAT_INCLUDE_PASSWORD=1
Authentication required
debug messages are as follow when I execute `heat --debug stack-list` with auth_uri=http:// keystone_ server: 5000/v2. 0 in heat.conf:
DEBUG (v2) Making authentication request to http:// controller: 5000/v2. 0/tokens d91d63c5a04b59e a1' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-heatclient' http:// controller: 8004/v1/ c8f88a72e4e141f 29339a9d30fe93d 04/stacks? controller: 5000/v2. 0' request- id: req-7e0bea9b- 77ae-4286- ad6a-675b51e69b 72
DEBUG (http) curl -i -X GET -H 'X-Auth-Token: b97500ac1d9849b
DEBUG (http)
HTTP/1.1 401 Unauthorized
date: Wed, 08 Oct 2014 00:35:13 GMT
content-length: 23
content-type: text/plain
www-authenticate: Keystone uri='http://
x-openstack-
Authentication required
Traceback (most recent call last): bin/heat" , line 11, in <module> exit(main( )) lib/python2. 7/dist- packages/ heatclient/ shell.py" , line 443, in main ).main( args) lib/python2. 7/dist- packages/ heatclient/ shell.py" , line 399, in main func(client, args) lib/python2. 7/dist- packages/ heatclient/ v1/shell. py", line 432, in do_stack_list print_list( stacks, fields, sortby_index=3) lib/python2. 7/dist- packages/ heatclient/ openstack/ common/ cliutils. py", line 154, in print_list lib/python2. 7/dist- packages/ heatclient/ v1/stacks. py", line 85, in paginate lib/python2. 7/dist- packages/ heatclient/ openstack/ common/ apiclient/ base.py" , line 115, in _list get(url) .json() lib/python2. 7/dist- packages/ heatclient/ common/ http.py" , line 259, in get request( "GET", url, **kwargs) lib/python2. 7/dist- packages/ heatclient/ common/ http.py" , line 252, in client_request request( method, url, **kwargs) lib/python2. 7/dist- packages/ heatclient/ common/ http.py" , line 233, in json_request request( url, method, **kwargs) lib/python2. 7/dist- packages/ heatclient/ common/ http.py" , line 192, in _http_request exc.HTTPUnautho rized: ERROR: Authentication failed. Please try again with option --include-password or export HEAT_INCLUDE_ PASSWORD= 1
File "/usr/local/
sys.
File "/usr/local/
HeatShell(
File "/usr/local/
args.
File "/usr/local/
utils.
File "/usr/local/
for o in objs:
File "/usr/local/
stacks = self._list(url, 'stacks')
File "/usr/local/
body = self.client.
File "/usr/local/
return self.client_
File "/usr/local/
resp, body = self.json_
File "/usr/local/
resp = self._http_
File "/usr/local/
% resp.content)
heatclient.
Authentication required