← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1523759] [NEW] Nova (liberty): Unexpected API Error.

 

Public bug reported:

Nova unexpected API Error when launching an instance from image: <class
'keystoneclient.exceptions.NotFound'> (HTTP 500) (Request-ID: req-
b0bb0881-64a2-44be-8edb-832b1e2e5abc)

yum list installed | grep nova
openstack-nova-api.noarch       1:12.0.0-1.el7         @centos-openstack-liberty
openstack-nova-cert.noarch      1:12.0.0-1.el7         @centos-openstack-liberty
openstack-nova-common.noarch    1:12.0.0-1.el7         @centos-openstack-liberty
openstack-nova-conductor.noarch 1:12.0.0-1.el7         @centos-openstack-liberty
openstack-nova-console.noarch   1:12.0.0-1.el7         @centos-openstack-liberty
openstack-nova-novncproxy.noarch
openstack-nova-scheduler.noarch 1:12.0.0-1.el7         @centos-openstack-liberty
python-nova.noarch              1:12.0.0-1.el7         @centos-openstack-liberty
python-novaclient.noarch        1:2.30.1-1.el7         @centos-openstack-liberty

nova-api.log:
[req-b0bb0881-64a2-44be-8edb-832b1e2e5abc d12d5a6f008b4291a56564c74f5d0731 0db49a1c163e4deca9d7d86b403df394 - - -] Unexpected exception in API method
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     **create_kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions NotFound: The resource could not be found. (HTTP 404)
2015-12-08 05:58:44.749 17421 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/1523759

Title:
  Nova (liberty): Unexpected API Error.

Status in OpenStack Compute (nova):
  New

Bug description:
  Nova unexpected API Error when launching an instance from image:
  <class 'keystoneclient.exceptions.NotFound'> (HTTP 500) (Request-ID:
  req-b0bb0881-64a2-44be-8edb-832b1e2e5abc)

  yum list installed | grep nova
  openstack-nova-api.noarch       1:12.0.0-1.el7         @centos-openstack-liberty
  openstack-nova-cert.noarch      1:12.0.0-1.el7         @centos-openstack-liberty
  openstack-nova-common.noarch    1:12.0.0-1.el7         @centos-openstack-liberty
  openstack-nova-conductor.noarch 1:12.0.0-1.el7         @centos-openstack-liberty
  openstack-nova-console.noarch   1:12.0.0-1.el7         @centos-openstack-liberty
  openstack-nova-novncproxy.noarch
  openstack-nova-scheduler.noarch 1:12.0.0-1.el7         @centos-openstack-liberty
  python-nova.noarch              1:12.0.0-1.el7         @centos-openstack-liberty
  python-novaclient.noarch        1:2.30.1-1.el7         @centos-openstack-liberty

  nova-api.log:
  [req-b0bb0881-64a2-44be-8edb-832b1e2e5abc d12d5a6f008b4291a56564c74f5d0731 0db49a1c163e4deca9d7d86b403df394 - - -] Unexpected exception in API method
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     **create_kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions NotFound: The resource could not be found. (HTTP 404)
  2015-12-08 05:58:44.749 17421 ERROR nova.api.openstack.extensions

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


Follow ups