Ask Your Question
0

Heat cannot get Keystone version info

asked 2014-08-13 13:22:58 -0500

jproulx gravatar image

I'm attempting to add Orchestration (heat) to an existing Icehouse clooud (Ubuntu14.04) following instructions at http://docs.openstack.org/icehouse/in...

After initial setup all CLI operations fail with:

ERROR: Authentication required

Heat logs show ERROR Unable to get version info from keystone: 404

2014-08-13 14:10:25.018 40928 DEBUG heat.api.middleware.version_negotiation [-] Processing request: GET /v1/98333a1a28e746fa8c629c83a818ad57/stacks Accept: application/json process_request /usr/lib/python2.7/dist-packages/heat/api/middleware/version_negotiation.py:53
2014-08-13 14:10:25.019 40928 DEBUG heat.api.middleware.version_negotiation [-] Matched versioned URI. Version: 1.0 process_request /usr/lib/python2.7/dist-packages/heat/api/middleware/version_negotiation.py:68
2014-08-13 14:10:25.020 40928 DEBUG keystoneclient.middleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py:569
2014-08-13 14:10:25.020 40928 DEBUG keystoneclient.middleware.auth_token [-] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role _remove_auth_headers /usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py:628
2014-08-13 14:10:25.022 40928 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTPS connection (1): keystone.domain.com
2014-08-13 14:10:25.050 40928 DEBUG requests.packages.urllib3.connectionpool [-] "GET / HTTP/1.1" 301 253 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:290
2014-08-13 14:10:25.057 40928 DEBUG requests.packages.urllib3.connectionpool [-] "GET /horizon/ HTTP/1.1" 404 93 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:290
2014-08-13 14:10:25.059 40928 ERROR keystoneclient.middleware.auth_token [-] Unable to get version info from keystone: 404
2014-08-13 14:10:25.059 40928 DEBUG keystoneclient.middleware.auth_token [-] Token validation failure. _validate_user_token /usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py:831
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token Traceback (most recent call last):
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 821, in _validate_user_token
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token     data = self.verify_uuid_token(user_token, retry)
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1169, in verify_uuid_token
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token     self.auth_version = self._choose_api_version()
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 520, in _choose_api_version
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token     versions_supported_by_server = self._get_supported_versions()
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 547, in _get_supported_versions
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token     raise ServiceError('Unable to get version info from keystone')
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token ServiceError: Unable to get version info from keystone
2014-08-13 14:10:25.059 40928 TRACE keystoneclient.middleware.auth_token 
2014-08-13 14:10 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-13 13:41:48 -0500

jproulx gravatar image

Of course moments after posting I discover the solution, specifying keystone_authtoken/auth_version=2.0 in heat.conf

[keystone_authtoken]
auth_version=2.0
auth_port=35357
auth_protocol=https
auth_host=keystone.domain.com
auth_uri=https://keystone.domain.com:5000/v2.0
admin_user=heat
admin_password=PASSWORD
admin_tenant_name=TENANT
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-13 13:22:58 -0500

Seen: 429 times

Last updated: Aug 13 '14