← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540103] [NEW] ERROR nova.api.openstack.extensions NotFound: The resource could not be found. (HTTP 404)

 

Public bug reported:

root@jzhu-HP-Z400-Workstation:~# dpkg -l | grep nova
ii  nova-api                                              2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - API frontend
ii  nova-cert                                             2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - certificate management
ii  nova-common                                           2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - common files
ii  nova-compute                                          2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node base
ii  nova-compute-kvm                                      2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node (KVM)
ii  nova-compute-libvirt                                  2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node libvirt support
ii  nova-conductor                                        2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - conductor service
ii  nova-consoleauth                                      2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                                       2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - NoVNC proxy
ii  nova-scheduler                                        2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - virtual machine scheduler
ii  python-nova                                           2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute Python libraries
ii  python-novaclient                                     2:2.30.1-1~cloud0                                   all          client library for OpenStack Compute API


==> nova/nova-api.log <==
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] Unexpected exception in API method
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     **create_kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions NotFound: The resource could not be found. (HTTP 404)
2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions 
2016-01-31 23:55:00.608 3626 INFO nova.api.openstack.wsgi [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.NotFound'>
2016-01-31 23:55:00.609 3626 INFO nova.osapi_compute.wsgi.server [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] 192.168.1.100 "POST /v2/2615b8d7bae443bfaca8b31d144b3e1d/servers HTTP/1.1" status: 500 len: 439 time: 0.3248730

** 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/1540103

Title:
  ERROR nova.api.openstack.extensions NotFound: The resource could not
  be found. (HTTP 404)

Status in OpenStack Compute (nova):
  New

Bug description:
  root@jzhu-HP-Z400-Workstation:~# dpkg -l | grep nova
  ii  nova-api                                              2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - API frontend
  ii  nova-cert                                             2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - certificate management
  ii  nova-common                                           2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - common files
  ii  nova-compute                                          2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node base
  ii  nova-compute-kvm                                      2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node (KVM)
  ii  nova-compute-libvirt                                  2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - compute node libvirt support
  ii  nova-conductor                                        2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - conductor service
  ii  nova-consoleauth                                      2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                                       2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                                        2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                                           2:12.0.0-0ubuntu2~cloud0                            all          OpenStack Compute Python libraries
  ii  python-novaclient                                     2:2.30.1-1~cloud0                                   all          client library for OpenStack Compute API


  ==> nova/nova-api.log <==
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] Unexpected exception in API method
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions NotFound: The resource could not be found. (HTTP 404)
  2016-01-31 23:55:00.606 3626 ERROR nova.api.openstack.extensions 
  2016-01-31 23:55:00.608 3626 INFO nova.api.openstack.wsgi [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneclient.exceptions.NotFound'>
  2016-01-31 23:55:00.609 3626 INFO nova.osapi_compute.wsgi.server [req-67eabf6a-1d67-49bc-afa7-1811654fb013 203df9cb49494c748b42934ddd722af5 2615b8d7bae443bfaca8b31d144b3e1d - - -] 192.168.1.100 "POST /v2/2615b8d7bae443bfaca8b31d144b3e1d/servers HTTP/1.1" status: 500 len: 439 time: 0.3248730

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


Follow ups