Public bug reported:

unable to launch compute resource getting issue "Unexpected API
Error.<class 'neutronclient.common.exceptions.Unauthorized'> (HTTP 500"

checked nova-api.log

018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions 
[req-e0d369b3-e59b-4433-be74-9e6e5a4a31fa 1531b2f661164b18af3330a83aebfe24 
14b50966a8584661953656392115423a - default default] Unexpected exception in API 
method: Unauthorized: Unknown auth type: None
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 336, 
in wrapped
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
f(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 
553, in create
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
**create_kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     rv = 
f(*args, **kwargs)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1635, in create
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     tags=tags)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1092, in 
_create_instance
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
reservation_id, max_count)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 838, in 
_validate_and_build_base_options
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
pci_request_info, requested_networks)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1498, in 
create_pci_requests_for_sriov_ports
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     neutron = 
get_client(context, admin=True)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 151, in 
get_client
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
_ADMIN_AUTH = _load_auth_plugin(CONF)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 74, in 
_load_auth_plugin
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     raise 
neutron_client_exc.Unauthorized(message=err_msg)
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions Unauthorized: 
Unknown auth type: None
2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1752030

Title:
  Unexpected API Error. Please report this at
  http://bugs.launchpad.net/nova/ and attach the Nova API log if
  possible. <class 'neutronclient.common.exceptions.Unauthorized'> (HTTP
  500

Status in OpenStack Compute (nova):
  New

Bug description:
  unable to launch compute resource getting issue "Unexpected API
  Error.<class 'neutronclient.common.exceptions.Unauthorized'> (HTTP
  500"

  checked nova-api.log

  018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions 
[req-e0d369b3-e59b-4433-be74-9e6e5a4a31fa 1531b2f661164b18af3330a83aebfe24 
14b50966a8584661953656392115423a - default default] Unexpected exception in API 
method: Unauthorized: Unknown auth type: None
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 336, 
in wrapped
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
f(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, 
in wrapper
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 
553, in create
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
**create_kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     rv = 
f(*args, **kwargs)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1635, in create
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
tags=tags)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1092, in 
_create_instance
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
reservation_id, max_count)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/compute/api.py", line 838, in 
_validate_and_build_base_options
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
pci_request_info, requested_networks)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1498, in 
create_pci_requests_for_sriov_ports
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     neutron 
= get_client(context, admin=True)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 151, in 
get_client
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     
_ADMIN_AUTH = _load_auth_plugin(CONF)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 74, in 
_load_auth_plugin
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions     raise 
neutron_client_exc.Unauthorized(message=err_msg)
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions 
Unauthorized: Unknown auth type: None
  2018-02-27 06:43:00.867 21904 ERROR nova.api.openstack.extensions

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1752030/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to