← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1332597] Re: multiple floating ip port delete

 

I've tried to reproduce this bug on devstack and got the folowing results:
1. launch VM:
    nova boot ... --nic net-id=my-net-id myserver
2. add fixed ip
    nova add-fixed-ip myserver my-net-id
3. associate 2 floating ips with  fixed ips
    nova add-floating-ip --fixed-address x.x.x.1 myserver y.y.y.y.1
    nova add-floating-ip --fixed-address x.x.x.2 myserver y.y.y.y.2

4. delete vm's port
   bash# neutron port-delete 1d31621f-bdb9-4745-97a6-8c49554297c1
   Deleted port: 1d31621f-bdb9-4745-97a6-8c49554297c1

So, it forks fine for now and I move it to invalid state.

If you still have this issue, please add your steps to reproduce here.

** Changed in: neutron
       Status: Confirmed => Invalid

-- 
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):
  Invalid

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


References