← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1332597] [NEW] multiple floating ip port delete

 

Public bug reported:

RDO icehouse on rhel6.

I have an instance that has multiple floating ip's assigned to it. when
I went to delete it, the delete fails. digging into the logs, I get:

2014-06-20 08:40:58.685 15013 ERROR neutron.api.v2.resource [req-26656337-033e-49bd-be64-ded7fd525544 None] delete failed
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 87, in resource
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 449, in delete
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     obj_deleter(request.context, id, **kwargs)
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/plugin.py", line 739, in delete_port
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     l3plugin.disassociate_floatingips(context, id)
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/db/l3_db.py", line 764, in disassociate_floatingips
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     % port_id)
2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource Exception: Multiple floating IPs found for port 4eb94a31-f622-4965-ad4c-08805bc76f98

If I pull off one of the floating ip's, the delete continues ok. The
code needs to be updated to support deleting the neutron port when
multiple floating ip's are assigned.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1332597

Title:
  multiple floating ip port delete

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  RDO icehouse on rhel6.

  I have an instance that has multiple floating ip's assigned to it.
  when I went to delete it, the delete fails. digging into the logs, I
  get:

  2014-06-20 08:40:58.685 15013 ERROR neutron.api.v2.resource [req-26656337-033e-49bd-be64-ded7fd525544 None] delete failed
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 87, in resource
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 449, in delete
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     obj_deleter(request.context, id, **kwargs)
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/plugin.py", line 739, in delete_port
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     l3plugin.disassociate_floatingips(context, id)
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/db/l3_db.py", line 764, in disassociate_floatingips
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource     % port_id)
  2014-06-20 08:40:58.685 15013 TRACE neutron.api.v2.resource Exception: Multiple floating IPs found for port 4eb94a31-f622-4965-ad4c-08805bc76f98

  If I pull off one of the floating ip's, the delete continues ok. The
  code needs to be updated to support deleting the neutron port when
  multiple floating ip's are assigned.

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


Follow ups

References