← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1544240] [NEW] disassociate floating ip 500 response

 

Public bug reported:

>From http://logs.openstack.org/88/276088/5/check/gate-grenade-
dsvm/8051980/logs/new/screen-n-api.txt.gz

2016-02-10 13:39:19.932 ERROR nova.api.openstack.extensions [req-644cea97-7d26-4e2a-984b-d346ebf96ccb cinder_grenade cinder_grenade] Unexpected exception in API method
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/extensions.py", line 478, in wrapped
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 73, in wrapper
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/compute/floating_ips.py", line 293, in _remove_floating_ip
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     disassociate_floating_ip(self, context, instance, address)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/compute/floating_ips.py", line 80, in disassociate_floating_ip
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     self.network_api.disassociate_floating_ip(context, instance, address)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/api.py", line 49, in wrapped
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(self, context, *args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/base_api.py", line 77, in wrapper
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     res = f(self, context, *args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/api.py", line 240, in disassociate_floating_ip
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     affect_auto_assigned)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/utils.py", line 1082, in wrapper
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/floating_ips.py", line 460, in disassociate_floating_ip
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     interface, host, fixed_ip.instance_uuid)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/rpcapi.py", line 324, in _disassociate_floating_ip
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     instance_uuid=instance_uuid)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     retry=self.retry)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     timeout=timeout, retry=retry)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 466, in send
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     retry=retry)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 455, in _send
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     result = self._waiter.wait(msg_id, timeout)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 338, in wait
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     message = self.waiters.get(msg_id, timeout=timeout)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 240, in get
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     'to message ID %s' % msg_id)
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions MessagingTimeout: Timed out waiting for a reply to message ID 9a8f66f646de44b3830557dd7b731640
2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions 
2016-02-10 13:39:19.934 INFO nova.api.openstack.wsgi [req-644cea97-7d26-4e2a-984b-d346ebf96ccb cinder_grenade cinder_grenade] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

The MessagingTimeout should be trapped and an appropriate error raise
instead.

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

Title:
  disassociate floating ip 500 response

Status in OpenStack Compute (nova):
  New

Bug description:
  From http://logs.openstack.org/88/276088/5/check/gate-grenade-
  dsvm/8051980/logs/new/screen-n-api.txt.gz

  2016-02-10 13:39:19.932 ERROR nova.api.openstack.extensions [req-644cea97-7d26-4e2a-984b-d346ebf96ccb cinder_grenade cinder_grenade] Unexpected exception in API method
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 73, in wrapper
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/compute/floating_ips.py", line 293, in _remove_floating_ip
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     disassociate_floating_ip(self, context, instance, address)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/api/openstack/compute/floating_ips.py", line 80, in disassociate_floating_ip
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     self.network_api.disassociate_floating_ip(context, instance, address)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/api.py", line 49, in wrapped
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(self, context, *args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/base_api.py", line 77, in wrapper
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     res = f(self, context, *args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/api.py", line 240, in disassociate_floating_ip
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     affect_auto_assigned)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/utils.py", line 1082, in wrapper
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/floating_ips.py", line 460, in disassociate_floating_ip
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     interface, host, fixed_ip.instance_uuid)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/opt/stack/new/nova/nova/network/rpcapi.py", line 324, in _disassociate_floating_ip
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     instance_uuid=instance_uuid)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     retry=self.retry)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     timeout=timeout, retry=retry)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 466, in send
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     retry=retry)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 455, in _send
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     result = self._waiter.wait(msg_id, timeout)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 338, in wait
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     message = self.waiters.get(msg_id, timeout=timeout)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 240, in get
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions     'to message ID %s' % msg_id)
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions MessagingTimeout: Timed out waiting for a reply to message ID 9a8f66f646de44b3830557dd7b731640
  2016-02-10 13:39:19.932 22992 ERROR nova.api.openstack.extensions 
  2016-02-10 13:39:19.934 INFO nova.api.openstack.wsgi [req-644cea97-7d26-4e2a-984b-d346ebf96ccb cinder_grenade cinder_grenade] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

  The MessagingTimeout should be trapped and an appropriate error raise
  instead.

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


Follow ups