yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40667
[Bug 1512250] [NEW] nova api crashes on floating ip creation
Public bug reported:
I'm using Openstack Liberty
2015-11-02 13:36:26.522 118707 INFO nova.osapi_compute.wsgi.server [req-3a1d6c46-a04e-452b-b5b5-240f4d8f7ff7 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 115.124.106.199 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.0321729
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] Unexpected exception in API method
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/floating_ips.py", line 122, in index
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions floating_ips = self.network_api.get_floating_ips_by_project(context)
2015-11-02 13:36:26.695 118707 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
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions ret = self.function(instance, *args, **kwargs)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 731, in list_floatingips
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions **_params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions for r in self._pagination(collection, path, **params):
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions res = self.get(path, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions headers=headers, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions headers=headers, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions self._handle_fault_response(status_code, replybody)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions exception_handler_v20(status_code, des_error_body)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions message=message)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions NeutronClientException: 404 Not Found
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions The resource could not be found.
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.697 118707 INFO nova.api.openstack.wsgi [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 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'>
2015-11-02 13:36:26.698 118707 INFO nova.osapi_compute.wsgi.server [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 115.124.106.199 "GET /v2/d8c1e9ee4f6e429199a85389ab64868d/os-floating-ips HTTP/1.1" status: 500 len: 459 time: 0.0432839
Reproduce Steps:
Clean installation of Openstack Liberty wrt
http://docs.openstack.org/liberty/install-guide-ubuntu/ and
http://docs.openstack.org/liberty/install-guide-ubuntu/neutron-
controller-install-option1.html
** 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/1512250
Title:
nova api crashes on floating ip creation
Status in OpenStack Compute (nova):
New
Bug description:
I'm using Openstack Liberty
2015-11-02 13:36:26.522 118707 INFO nova.osapi_compute.wsgi.server [req-3a1d6c46-a04e-452b-b5b5-240f4d8f7ff7 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 115.124.106.199 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.0321729
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] Unexpected exception in API method
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/floating_ips.py", line 122, in index
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions floating_ips = self.network_api.get_floating_ips_by_project(context)
2015-11-02 13:36:26.695 118707 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
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions ret = self.function(instance, *args, **kwargs)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 731, in list_floatingips
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions **_params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions for r in self._pagination(collection, path, **params):
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions res = self.get(path, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions headers=headers, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions headers=headers, params=params)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions self._handle_fault_response(status_code, replybody)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions exception_handler_v20(status_code, des_error_body)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions message=message)
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions NeutronClientException: 404 Not Found
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions The resource could not be found.
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.695 118707 ERROR nova.api.openstack.extensions
2015-11-02 13:36:26.697 118707 INFO nova.api.openstack.wsgi [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 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'>
2015-11-02 13:36:26.698 118707 INFO nova.osapi_compute.wsgi.server [req-f37d3666-00cf-4b69-bd07-1764cb5ab663 4fee825c04e04bcc8779fbc0e1c75154 d8c1e9ee4f6e429199a85389ab64868d - - -] 115.124.106.199 "GET /v2/d8c1e9ee4f6e429199a85389ab64868d/os-floating-ips HTTP/1.1" status: 500 len: 459 time: 0.0432839
Reproduce Steps:
Clean installation of Openstack Liberty wrt
http://docs.openstack.org/liberty/install-guide-ubuntu/ and
http://docs.openstack.org/liberty/install-guide-ubuntu/neutron-
controller-install-option1.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1512250/+subscriptions
Follow ups