Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DiscoveryFailure: Could not determine a suitable URL for the plugin

I get this error on centos 7 and liberty when I try to boot a small vm. Anyone who can share what may be causing this? thanks!

$ nova boot --image Cirros --flavor m1.tiny --nic net-id=e8e69f4d-d650-4f08-1252-bd8adfc192cb \ --security-group default --key-name mykey myinstance

ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'keystoneclient.exceptions.discoveryfailure'=""> (HTTP 500) (Request-ID: req-1343e5c3-62d3-4818-a7fb-26f5c61da381)

NOVA-API.LOG ON CONTROLLER

2016-07-30 23:05:11.678 3358 WARNING oslo_config.cfg [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Option "username" from group "neutron" is deprecated. Use option "user-name" from group "neutron". 2016-07-30 23:05:11.703 3358 WARNING keystoneclient.auth.identity.generic.base [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Unexpected exception in API method 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return f(args, kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions *create_kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions rv = f(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1587, in create 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1187, in _create_instance 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 961, in _validate_and_build_base_options 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions pci_request_info, requested_networks) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1092, in create_pci_requests_for_sriov_ports 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions self._plugin = self._do_create_plugin(session) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions raise exceptions.DiscoveryFailure(msg) **2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions DiscoveryFailure: Could not determine a suitable URL for the plugin 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions