how can I authenticate against heat?

asked 2015-06-05 11:42:00 -0500

kevin-michael-lloyd gravatar image

I am working on setting up Heat, and I am running into authentication errors in Horizon. This is what I am seeing in apache:

[Fri Jun 05 16:18:19.445301 2015] [:error] [pid 931:tid 139660872836864] curl -i -X GET -H 'X-Auth-Token: 2d5d594adf784ba98aafe1ea830be706' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-heatclient' http://controller-1:8004/v1/8dd1052ce0204770ad22cc4e38df88cc/stacks?
[Fri Jun 05 16:18:19.450280 2015] [:error] [pid 931:tid 139660872836864]
[Fri Jun 05 16:18:19.450358 2015] [:error] [pid 931:tid 139660872836864] HTTP/1.1 401 Unauthorized
[Fri Jun 05 16:18:19.450417 2015] [:error] [pid 931:tid 139660872836864] date: Fri, 05 Jun 2015 16:18:19 GMT
[Fri Jun 05 16:18:19.450473 2015] [:error] [pid 931:tid 139660872836864] content-length: 23
[Fri Jun 05 16:18:19.450531 2015] [:error] [pid 931:tid 139660872836864] content-type: text/plain
[Fri Jun 05 16:18:19.450599 2015] [:error] [pid 931:tid 139660872836864] www-authenticate: Keystone uri='http://controller-1:5000'
[Fri Jun 05 16:18:19.450653 2015] [:error] [pid 931:tid 139660872836864] x-openstack-request-id: req-d576e38a-0efa-4eba-83d1-404e8736d4d8
[Fri Jun 05 16:18:19.450709 2015] [:error] [pid 931:tid 139660872836864]
[Fri Jun 05 16:18:19.450762 2015] [:error] [pid 931:tid 139660872836864] Authentication required
[Fri Jun 05 16:18:19.450814 2015] [:error] [pid 931:tid 139660872836864]
[Fri Jun 05 16:18:19.451211 2015] [:error] [pid 931:tid 139660872836864] Unauthorized: ERROR: Authentication failed. Please try again with option --include-password or export HEAT_INCLUDE_PASSWORD=1
[Fri Jun 05 16:18:19.451258 2015] [:error] [pid 931:tid 139660872836864] Authentication required
[Fri Jun 05 16:18:19.451291 2015] [:error] [pid 931:tid 139660872836864] Traceback (most recent call last):
[Fri Jun 05 16:18:19.451323 2015] [:error] [pid 931:tid 139660872836864]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/stacks/views.py", line 52, in get_data
[Fri Jun 05 16:18:19.451355 2015] [:error] [pid 931:tid 139660872836864]     stacks = api.heat.stacks_list(self.request)
[Fri Jun 05 16:18:19.451386 2015] [:error] [pid 931:tid 139660872836864]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/heat.py", line 56, in stacks_list
[Fri Jun 05 16:18:19.451418 2015] [:error] [pid 931:tid 139660872836864]     return [stack for stack in heatclient(request).stacks.list()]
[Fri Jun 05 16:18:19.451454 2015] [:error] [pid 931:tid 139660872836864]   File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 82, in paginate
[Fri Jun 05 16:18:19.451488 2015] [:error] [pid 931:tid 139660872836864]     stacks = self._list(url, 'stacks')
[Fri Jun 05 16:18:19.451519 2015] [:error] [pid 931:tid 139660872836864]   File "/usr/lib/python2.7/dist-packages/heatclient/openstack/common/apiclient/base.py", line 115, in _list
[Fri Jun 05 16:18:19.451551 2015] [:error] [pid 931:tid 139660872836864]     body = self.client.get(url).json()
[Fri Jun 05 16:18:19.451582 2015] [:error] [pid 931:tid 139660872836864]   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 249, in get
[Fri Jun 05 ...
(more)
edit retag flag offensive close merge delete

Comments

What instructions did you use to install Heat?

Steve Baker gravatar imageSteve Baker ( 2015-07-05 18:44:53 -0500 )edit