Thanks Melanie!
From what you explained I get it that working with openstackclient is fine but how about Horizon operation?
Now whenever I browse the /project/ url of Horizon for example I get the "cannot access" error in Horizon and in the nova.log I see
2015-12-03 17:45:05.815 17457 ERROR nova.compute.manager [req-bc22b21c-cf6a-4dbd-97f2-772301d65a80 – – – – -] [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] An error occurred while refreshing the network cache. 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] Traceback (most recent call last): 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/compute/manager.py”, line 5596, in _heal_instance_info_cache 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] self._get_instance_nw_info(context, instance) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/compute/manager.py”, line 1360, in _get_instance_nw_info 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] return self.network_api.get_instance_nw_info(context, instance) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py”, line 747, in get_instance_nw_info 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] preexisting_port_ids) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py”, line 763, in _get_instance_nw_info 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] preexisting_port_ids) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py”, line 1515, in _build_network_info_model 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] client = get_client(context, admin=True) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py”, line 205, in get_client 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] auth_token = _ADMIN_AUTH.get_token(_SESSION) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py”, line 104, in get_token 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] return self.get_access(session).auth_token 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py”, line 144, in get_access 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] self.auth_ref = self.get_auth_ref(session) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py”, line 78, in get_auth_ref 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] authenticated=False, log=False) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/session.py”, line 497, in post 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] return self.request(url, ‘POST’, **kwargs) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/utils.py”, line 318, in inner 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] return func(*args, **kwargs) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] File “/usr/lib/python2.7/site-packages/keystoneclient/session.py”, line 397, in request 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] raise exceptions.from_response(resp, method, url) 2015-12-03 17:45:05.815 17457 TRACE nova.compute.manager [instance: eaec87f9-6e7c-46c8-8936-39f882843b52] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-9f014d4a-1fcb-4c5b-98bd-1ed6b16f2099)
How shall I fix that one? Or shall I stick to Keystone V2 in nova.conf? Is it possible to have Horizon running the SSO and Keystone V3 but leave Nova to contact Keystone via v2 API?
Thanks Melanie!
From what you explained I get it that working with openstackclient is fine but how about Horizon operation?
Now whenever I browse the /project/ url of Horizon for example I get the "cannot access" error in Horizon and in the nova.log I see
2015-12-03 17:45:05.815 17457 ERROR nova.compute. manager [req-bc22b21c- cf6a-4dbd- 97f2-772301d65a 80 – – – – -] [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] An error occurred while refreshing the network cache. manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] Traceback (most recent call last): manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/compute/ manager. py”, line 5596, in _heal_instance_ info_cache manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] self._get_ instance_ nw_info( context, instance) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/compute/ manager. py”, line 1360, in _get_instance_ nw_info manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] return self.network_ api.get_ instance_ nw_info( context, instance) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/network/ neutronv2/ api.py” , line 747, in get_instance_ nw_info manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] preexisting_ port_ids) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/network/ neutronv2/ api.py” , line 763, in _get_instance_ nw_info manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] preexisting_ port_ids) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/network/ neutronv2/ api.py” , line 1515, in _build_ network_ info_model manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] client = get_client(context, admin=True) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ nova/network/ neutronv2/ api.py” , line 205, in get_client manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] auth_token = _ADMIN_ AUTH.get_ token(_ SESSION) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ auth/identity/ base.py” , line 104, in get_token manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] return self.get_ access( session) .auth_token manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ auth/identity/ base.py” , line 144, in get_access manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] self.auth_ref = self.get_ auth_ref( session) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ auth/identity/ v2.py”, line 78, in get_auth_ref manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] authenticated= False, log=False) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ session. py”, line 497, in post manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] return self.request(url, ‘POST’, **kwargs) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ utils.py” , line 318, in inner manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] return func(*args, **kwargs) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] File “/usr/lib/ python2. 7/site- packages/ keystoneclient/ session. py”, line 397, in request manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] raise exceptions. from_response( resp, method, url) manager [instance: eaec87f9- 6e7c-46c8- 8936-39f882843b 52] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-9f014d4a- 1fcb-4c5b- 98bd-1ed6b16f20 99)
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
2015-12-03 17:45:05.815 17457 TRACE nova.compute.
How shall I fix that one?
Or shall I stick to Keystone V2 in nova.conf?
Is it possible to have Horizon running the SSO and Keystone V3 but leave Nova to contact Keystone via v2 API?