Could not determine a suitable URL for the plugin for Neutron
Hello,
I am following the installation guide for Queens OpenStack platform: https://docs.openstack.org/install-gu... I finished the neutron service installation and now I am at verifying operation.
I taped this command as indicated in the guide: openstack extension list --network And I got this error: Failed to retrieve extensions list from Network API
here the log file :/var/log/neutron/neutron-server.log
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors service_catalog = self.get_access(session).service_catalog
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors self.auth_ref = self.get_auth_ref(session)
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 199, in get_auth_ref
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors self._plugin = self._do_create_plugin(session)
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 194, in _do_create_plugin
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors raise exceptions.DiscoveryFailure('Could not determine a suitable URL '
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors DiscoveryFailure: Could not determine a suitable URL for the plugin
2018-06-27 17:32:55.685 14770 ERROR oslo_middleware.catch_errors
2018-06-27 17:32:55.686 14770 INFO neutron.wsgi [-] 192.168.2.116 "GET /v2.0/extensions HTTP/1.1" status: 500 len: 404 time: 0.0045609
I would be grateful if someone helps me.
I believe this could mean you misconfigured the keystone_authtoken section. See an example in the install guide.
Or does Keystone work at all? Do you get a token from
openstack token issue
?Yes I get a token
In this case check the keystone_authtoken section in the neutron configuration file.
The config is this (the same in the guide):
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = PASSWORD