Check network connectivity from instance via floating IP ClientException: Unexpected API Error.

Bug #1537108 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Undecided
MOS Nova

Bug Description

OSTF test fails due to error in nova:

https://packaging-ci.infra.mirantis.net/job/8.0-pkg-systest-ubuntu/1981/console

There is traceback from ostf.log:

016-01-21 22:54:11 DEBUG (test_mixins) Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/fuel_health/common/test_mixins.py", line 177, in verify
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/fuel_health/nmanager.py", line 733, in _create_floating_ip
    pool=floating_ips_pool[0].name)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/floating_ips.py", line 41, in create
    return self._create("/os-floating-ips", {'pool': pool}, "floating_ip")
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 169, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 449, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 424, in _cs_request
    resp, body = self._time_request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 397, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 391, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.FloatingIpNotFoundForAddress'> (HTTP 500) (Request-ID: req-77015522-b906-48a7-909d-f3560ea6c6dc)

There is a corresponding log in nova:
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions [req-77015522-b906-48a7-909d-f3560ea6c6dc 2c751375851147058057a0359033cde4 5eb60e70bfdf429c9814eb437bbd32ff - - -] Unexpected exception in API method
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/floating_ips.py", line 131, in create
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions ip = self.network_api.get_floating_ip_by_address(context, address)
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1395, in get_floating_ip_by_address
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions fip = self._get_floating_ip_by_address(client, address)
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1469, in _get_floating_ip_by_address
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions raise exception.FloatingIpNotFoundForAddress(address=address)
2016-01-21 22:54:11.123 12251 ERROR nova.api.openstack.extensions FloatingIpNotFoundForAddress: Floating ip not found for address 10.109.38.130.

Revision history for this message
Sergey Kraynev (skraynev) wrote :
Changed in fuel:
assignee: nobody → MOS Nova (mos-nova)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.