Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"Could not determine a suitable URL for the plugin": OpenStack Ocata in Ubuntu 16.04

Hello,

I have installed OpenStack Ocata on Ubuntu 16.04 .Each step with verification step worked fine but instance creation is failing. When I am trying to create a instance getting below error on compute node inside nova compute log.

Error log:

2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] port_response = port_client.update_port(port_id, port_req_body) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] ret = obj(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 768, in update_port 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return self.put(self.port_path % (port), body=body) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] ret = obj(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 370, in put 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] headers=headers, params=params) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] ret = obj(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 338, in retry_request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] headers=headers, params=params) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] ret = obj(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 289, in do_request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] resp, replybody = self.httpclient.do_request(action, method, body=body) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 314, in do_request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return self.request(url, method, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 302, in request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] resp = super(SessionClient, self).request(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 142, in request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return self.session.request(url, method, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return wrapped(args, *kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 491, in request 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] auth_headers = self.get_auth_headers(auth) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 818, in get_auth_headers 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return auth.get_headers(self, **kwargs) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 90, in get_headers 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] token = self.get_token(session) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 90, in get_token 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] return self.get_access(session).auth_token 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 136, in get_access 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] self.auth_ref = self.get_auth_ref(session) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 196, in get_auth_ref 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] self._plugin = self._do_create_plugin(session) 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 191, in _do_create_plugin 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] raise exceptions.DiscoveryFailure('Could not determine a suitable URL ' 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] DiscoveryFailure: Could not determine a suitable URL for the plugin 2017-08-19 10:47:49.852 1927 ERROR nova.compute.manager [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] 2017-08-19 10:47:49.854 1927 INFO nova.compute.manager [req-14996540-e1e3-422c-b0e1-163f76774103 88be5564c24343c3b5e26b0e31fd690e ba584d6a99b049109791f42b3275c793 - - -] [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] Terminating instance 2017-08-19 10:47:49.861 1927 INFO nova.virt.libvirt.driver [-] [instance: 1fe15642-9bec-4173-90fb-03fcf0494edf] Instance destroyed successfully.

I am using keystone version 3.

Any pointer on this is highly appreciated.

Thanks, Ekta