yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44963
[Bug 1536253] [NEW] nova floating-ip-list - ERROR (ClientException): Unexpected API Error
Public bug reported:
I've installed libverty openstack release on Ubuntu 14.04 with flat network.
The openstack release is 12.0.0.
dpkg -l | grep nova-common
ii nova-common 2:12.0.0-0ubuntu2~cloud0 all OpenStack Compute - common files
Everything seems to work fine, except horizon.
When I logged in , getting an error message "Error: Unable to retrieve floating IP addresses."
Provisioning of VMs is not working in horizon, failed with error. But nova boot is working fine and instance is up and running.
Also when I try to run the commands :
nova floating-ip-list
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NeutronClientException'> (HTTP 500) (Request-ID: req-c088103b-c871-480f-8741-cbb4e9139d05)
neutron floatingip-list
404 Not Found
The resource could not be found.
The nova-api.log file is looking as below :
2016-01-20 18:00:46.764 18894 INFO nova.osapi_compute.wsgi.server [req-310e6d1a-1a47-43cb-8a86-5a15ceaa9225 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] 9.148.27.248 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.5391979
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] Unexpected exception in API method
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/floating_ips.py", line 122, in index
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions floating_ips = self.network_api.get_floating_ips_by_project(context)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1402, in get_floating_ips_by_project
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions ret = self.function(instance, *args, **kwargs)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 731, in list_floatingips
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions **_params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions for r in self._pagination(collection, path, **params):
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions res = self.get(path, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions headers=headers, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions headers=headers, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions self._handle_fault_response(status_code, replybody)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions exception_handler_v20(status_code, des_error_body)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions message=message)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions NeutronClientException: 404 Not Found
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions The resource could not be found.
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.100 18894 INFO nova.api.openstack.wsgi [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NeutronClientException'>
2016-01-20 18:00:47.101 18894 INFO nova.osapi_compute.wsgi.server [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] 9.148.27.248 "GET /v2/55570ea7c23544f5b572f708390b0471/os-floating-ips HTTP/1.1" status: 500 len: 459 time: 0.1920590
Thank you.
** 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/1536253
Title:
nova floating-ip-list - ERROR (ClientException): Unexpected API Error
Status in OpenStack Compute (nova):
New
Bug description:
I've installed libverty openstack release on Ubuntu 14.04 with flat network.
The openstack release is 12.0.0.
dpkg -l | grep nova-common
ii nova-common 2:12.0.0-0ubuntu2~cloud0 all OpenStack Compute - common files
Everything seems to work fine, except horizon.
When I logged in , getting an error message "Error: Unable to retrieve floating IP addresses."
Provisioning of VMs is not working in horizon, failed with error. But nova boot is working fine and instance is up and running.
Also when I try to run the commands :
nova floating-ip-list
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NeutronClientException'> (HTTP 500) (Request-ID: req-c088103b-c871-480f-8741-cbb4e9139d05)
neutron floatingip-list
404 Not Found
The resource could not be found.
The nova-api.log file is looking as below :
2016-01-20 18:00:46.764 18894 INFO nova.osapi_compute.wsgi.server [req-310e6d1a-1a47-43cb-8a86-5a15ceaa9225 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] 9.148.27.248 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.5391979
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] Unexpected exception in API method
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/floating_ips.py", line 122, in index
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions floating_ips = self.network_api.get_floating_ips_by_project(context)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1402, in get_floating_ips_by_project
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions ret = self.function(instance, *args, **kwargs)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 731, in list_floatingips
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions **_params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions for r in self._pagination(collection, path, **params):
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions res = self.get(path, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions headers=headers, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions headers=headers, params=params)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions self._handle_fault_response(status_code, replybody)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions exception_handler_v20(status_code, des_error_body)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions message=message)
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions NeutronClientException: 404 Not Found
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions The resource could not be found.
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.098 18894 ERROR nova.api.openstack.extensions
2016-01-20 18:00:47.100 18894 INFO nova.api.openstack.wsgi [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NeutronClientException'>
2016-01-20 18:00:47.101 18894 INFO nova.osapi_compute.wsgi.server [req-dda981f3-947a-4d05-93fb-180ae2b96d9f 9840f0220bfa4542b2edb02958b84f53 55570ea7c23544f5b572f708390b0471 - - -] 9.148.27.248 "GET /v2/55570ea7c23544f5b572f708390b0471/os-floating-ips HTTP/1.1" status: 500 len: 459 time: 0.1920590
Thank you.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1536253/+subscriptions
Follow ups