Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NeutronAdminCredentialConfigurationInvalid raised when 'Launch instance'

Dear All ...

I got nova error about 'NeutronAdminCredentialConfigurationInvalid'.

What I do is, login to horizon as admin, and try to create an instance.

Here is from /var/log/nova/nova-api.log right after I click 'launch instance' button.

2019-02-08 15:56:16.138 19148 INFO nova.osapi_compute.wsgi.server [req-914666f9-5a2d-4323-9f92-515276f75565 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1 HTTP/1.0" status: 302 len: 300 time: 3.1299040



2019-02-08 15:56:19.252 19148 INFO nova.osapi_compute.wsgi.server [req-a53933c1-f157-4c24-ab87-5f5b14839e84 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1/ HTTP/1.0" status: 200 len: 771 time: 3.1098912





2019-02-08 15:56:39.069 19147 ERROR nova.network.neutronv2.api [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Neutron client was not able to generate a valid admin token, please verify Neutron admin credential located in nova.conf: Unauthorized: 401-{u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Unexpected exception in API method: NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 576, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     **create_kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     rv = f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1714, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     trusted_certs=trusted_certs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1161, in _create_instance
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     reservation_id, max_count)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 772, in _validate_and_build_base_options
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._check_requested_secgroups(context, security_groups))
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 382, in _check_requested_secgroups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     secgroup_dict = self.security_group_api.get(context, secgroup)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/security_group/neutron_driver.py", line 143, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     neutron, 'security_group', name, context.project_id)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 61, in find_resourceid_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     parent_id, fields='id')['id']
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 53, in find_resource_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 474, in find_resource
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 430, in find_resource_by_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     data = obj_lister(**params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 976, in list_security_groups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     retrieve_all, **_params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 369, in list
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     for r in self._pagination(collection, path, **params):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     res = self.get(path, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 354, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._handle_fault_response(status_code, replybody, resp)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 142, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     raise exception.NeutronAdminCredentialConfigurationInvalid()
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi 
2019-02-08 15:56:39.072 19147 INFO nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'>
2019-02-08 15:56:39.074 19147 INFO nova.osapi_compute.wsgi.server [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "POST /v2.1/servers HTTP/1.0" status: 500 len: 661 time: 19.7083759

NeutronAdminCredentialConfigurationInvalid raised when 'Launch instance'

Dear All ...

I got nova error about 'NeutronAdminCredentialConfigurationInvalid'.

What I do is, login to horizon as admin, and try to create an instance.

Here is from /var/log/nova/nova-api.log right after I click 'launch instance' button.

2019-02-08 15:56:16.138 19148 INFO nova.osapi_compute.wsgi.server [req-914666f9-5a2d-4323-9f92-515276f75565 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1 HTTP/1.0" status: 302 len: 300 time: 3.1299040



2019-02-08 15:56:19.252 19148 INFO nova.osapi_compute.wsgi.server [req-a53933c1-f157-4c24-ab87-5f5b14839e84 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1/ HTTP/1.0" status: 200 len: 771 time: 3.1098912





2019-02-08 15:56:39.069 19147 ERROR nova.network.neutronv2.api [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Neutron client was not able to generate a valid admin token, please verify Neutron admin credential located in nova.conf: Unauthorized: 401-{u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Unexpected exception in API method: NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 576, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     **create_kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     rv = f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1714, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     trusted_certs=trusted_certs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1161, in _create_instance
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     reservation_id, max_count)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 772, in _validate_and_build_base_options
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._check_requested_secgroups(context, security_groups))
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 382, in _check_requested_secgroups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     secgroup_dict = self.security_group_api.get(context, secgroup)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/security_group/neutron_driver.py", line 143, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     neutron, 'security_group', name, context.project_id)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 61, in find_resourceid_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     parent_id, fields='id')['id']
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 53, in find_resource_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 474, in find_resource
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 430, in find_resource_by_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     data = obj_lister(**params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 976, in list_security_groups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     retrieve_all, **_params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 369, in list
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     for r in self._pagination(collection, path, **params):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     res = self.get(path, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 354, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._handle_fault_response(status_code, replybody, resp)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 142, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     raise exception.NeutronAdminCredentialConfigurationInvalid()
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi 
2019-02-08 15:56:39.072 19147 INFO nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'>
2019-02-08 15:56:39.074 19147 INFO nova.osapi_compute.wsgi.server [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "POST /v2.1/servers HTTP/1.0" status: 500 len: 661 time: 19.7083759

Here is [neutron] part of my nova.conf

[neutron]
ovs_bridge=br-int
default_floating_pool=public
extension_sync_interval=600
service_metadata_proxy = True
metadata_proxy_shared_secret = e56f01795df72d6fffff
timeout=60
auth_type=password
auth_url=http://127.0.0.1:7001/v3
project_name=service
username=neutron
user_domain_name=Default
password=L3tM31n
region_name=RegionOne
endpoint_override = http://127.0.0.1:9696

here is my project and security_group list :

[root@ceph-node1 ~]# openstack security group list -f json
[
  {
    "Project": "08e8804b14e2462783f75492f33f9b12", 
    "Description": "Default security group", 
    "Tags": [], 
    "ID": "4e99ba09-d89f-4218-8212-b3dc4d9687a5", 
    "Name": "default"
  }, 
  {
    "Project": "2568b941b3a54c13b57c930fe3805d3c", 
    "Description": "Default security group", 
    "Tags": [], 
    "ID": "7d69eb09-dc23-482f-be06-7eb56ad8eb55", 
    "Name": "default"
  }
]
[root@ceph-node1 ~]# openstack project list -f json
[
  {
    "ID": "2568b941b3a54c13b57c930fe3805d3c", 
    "Name": "admin"
  }, 
  {
    "ID": "08e8804b14e2462783f75492f33f9b12", 
    "Name": "service"
  }, 
  {
    "ID": "d2d08463b58a4be49ed1303a94763781", 
    "Name": "testing"
  }
]

Sincerely -bino-

NeutronAdminCredentialConfigurationInvalid raised when 'Launch instance'

Dear All ...

I got nova error about 'NeutronAdminCredentialConfigurationInvalid'.

What I do is, login to horizon as admin, and try to create an instance.

Here is from /var/log/nova/nova-api.log right after I click 'launch instance' button.

2019-02-08 15:56:16.138 19148 INFO nova.osapi_compute.wsgi.server [req-914666f9-5a2d-4323-9f92-515276f75565 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1 HTTP/1.0" status: 302 len: 300 time: 3.1299040



2019-02-08 15:56:19.252 19148 INFO nova.osapi_compute.wsgi.server [req-a53933c1-f157-4c24-ab87-5f5b14839e84 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "GET /v2.1/ HTTP/1.0" status: 200 len: 771 time: 3.1098912





2019-02-08 15:56:39.069 19147 ERROR nova.network.neutronv2.api [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Neutron client was not able to generate a valid admin token, please verify Neutron admin credential located in nova.conf: Unauthorized: 401-{u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] Unexpected exception in API method: NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 576, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     **create_kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     rv = f(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1714, in create
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     trusted_certs=trusted_certs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1161, in _create_instance
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     reservation_id, max_count)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 772, in _validate_and_build_base_options
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._check_requested_secgroups(context, security_groups))
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 382, in _check_requested_secgroups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     secgroup_dict = self.security_group_api.get(context, secgroup)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/security_group/neutron_driver.py", line 143, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     neutron, 'security_group', name, context.project_id)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 61, in find_resourceid_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     parent_id, fields='id')['id']
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 53, in find_resource_by_name_or_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 474, in find_resource
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     cmd_resource, parent_id, fields)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 430, in find_resource_by_id
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     data = obj_lister(**params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 976, in list_security_groups
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     retrieve_all, **_params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 369, in list
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     for r in self._pagination(collection, path, **params):
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     res = self.get(path, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 354, in get
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     headers=headers, params=params)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 126, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     self._handle_fault_response(status_code, replybody, resp)
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 142, in wrapper
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi     raise exception.NeutronAdminCredentialConfigurationInvalid()
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi NeutronAdminCredentialConfigurationInvalid: Networking client is experiencing an unauthorized exception.
2019-02-08 15:56:39.070 19147 ERROR nova.api.openstack.wsgi 
2019-02-08 15:56:39.072 19147 INFO nova.api.openstack.wsgi [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'>
2019-02-08 15:56:39.074 19147 INFO nova.osapi_compute.wsgi.server [req-bc73b885-bab4-4116-8497-96bbe782ea4d 69a638fb9e5d4788b6f23d67180f85da 2568b941b3a54c13b57c930fe3805d3c - default default] 127.0.0.1 "POST /v2.1/servers HTTP/1.0" status: 500 len: 661 time: 19.7083759

Here is [neutron] part of my nova.conf

[neutron]
ovs_bridge=br-int
default_floating_pool=public
extension_sync_interval=600
endpoint_override = http://127.0.0.1:9696
auth_url = http://127.0.0.1:7001/v3
auth_version = 3
auth_type = password
project_domain_name = Default
user_domain_name = Default
region_name = RegionOne
project_name = service
username = neutron
password = L3tM31n
service_metadata_proxy = True
metadata_proxy_shared_secret = e56f01795df72d6fffff
timeout=60
auth_type=password
auth_url=http://127.0.0.1:7001/v3
project_name=service
username=neutron
user_domain_name=Default
password=L3tM31n
region_name=RegionOne
endpoint_override = http://127.0.0.1:9696
e56f01795df72d63c6a0
ovs_bridge = br-int

here is my project and security_group list :

[root@ceph-node1 ~]# openstack security group list -f json
[
  {
    "Project": "08e8804b14e2462783f75492f33f9b12", 
    "Description": "Default security group", 
    "Tags": [], 
    "ID": "4e99ba09-d89f-4218-8212-b3dc4d9687a5", 
    "Name": "default"
  }, 
  {
    "Project": "2568b941b3a54c13b57c930fe3805d3c", 
    "Description": "Default security group", 
    "Tags": [], 
    "ID": "7d69eb09-dc23-482f-be06-7eb56ad8eb55", 
    "Name": "default"
  }
]
[root@ceph-node1 ~]# openstack project list -f json
[
  {
    "ID": "2568b941b3a54c13b57c930fe3805d3c", 
    "Name": "admin"
  }, 
  {
    "ID": "08e8804b14e2462783f75492f33f9b12", 
    "Name": "service"
  }, 
  {
    "ID": "d2d08463b58a4be49ed1303a94763781", 
    "Name": "testing"
  }
]

Sincerely -bino-