DVR: Moving FloatingIP between hosts can lead to Floating Agent Gateway Port not being deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Swaminathan Vasudevan |
Bug Description
Tests have show that following sequence of events on a multinode setup causes the network:
The problem is furthered complicated because any public network which has the left over port as one of its meembers may not be deleted.
Here is the list of steps to reproduce. All must be done with admin power under admin tenant
#+ Test Steps: Get ip address of all nodes
#+ Test Steps:
#+ Step: User, Tenant, Token, and Image Verification
#+ Step: Add security Rules
#+ Step: Router Creations(DVR)
#+ Step: Networks, and Subnet Attachement
#+ Step: spin up vms
#+ Step: Obtain necessary vm information
#+ Step: Create external Network and Subnet
#+ Step: Attach external network to router
#+ Step: Associate FIPs to Vm - 2 RESTfull
#+ Step: Verify floating ip pluming
#+ Step: Verify connectivity to vms from outside world
#+ Step: Verify connectivity to vms from outside world
04-25-2015 15:16:38 : #######
04-25-2015 15:16:38 : Removing all resources from system
04-25-2015 15:16:38 : #######
04-25-2015 15:16:38 : ***Getting User Token***
04-25-2015 15:16:38 : ***User Token Received***
04-25-2015 15:16:38 :
04-25-2015 15:16:38 : -- Deleting VMs
04-25-2015 15:16:39 : -- Done deleting VMs
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting Security Groups
04-25-2015 15:16:39 : 'default' Security Group deleted
04-25-2015 15:16:39 : -- Done deleting Security Groups
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : --- Deleting Floating IPs
04-25-2015 15:16:39 : --Done deleting Floating IPs
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Clearing all routes from routers
04-25-2015 15:16:39 : -- Done Clearing all routes on routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Detaching subnets from routers
04-25-2015 15:16:39 : -- Done detaching subnets from routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting Ports
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting 25337691-
04-25-2015 15:16:39 : -- Done deleting ports
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting subnets
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting 1f4059ee-
04-25-2015 15:16:39 : --Done deleting subnets
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting routers
04-25-2015 15:16:39 : --Done deleting routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : --Deleting networks
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting wjs_public_network
04-25-2015 15:16:39 : -- Done deleting networks
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : ------DONE-------
adolfo@
+------
| id | name | mac_address | fixed_ips |
+------
| 25337691-
+------
adolfo@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | devstack |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | d87ddfd4-
| device_owner | network:
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "1f4059ee-
| id | 25337691-
| mac_address | fa:16:3e:06:1c:0e |
| name | |
| network_id | b376c1a7-
| security_groups | |
| status | DOWN |
| tenant_id | |
+------
adolfo@
+------
| id | name | subnets |
+------
| b376c1a7-
+------
adolfo@
Changed in neutron: | |
assignee: | nobody → Adolfo Duarte (adolfo-duarte) |
tags: | added: l3-dvr-backlog |
summary: |
- DVR: Router Gateway Port cannot be delted in certain circumstances + DVR: Router Gateway Port cannot be deleted in certain circumstances |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → Lynn (lynn-li) |
Changed in neutron: | |
assignee: | Lynn (lynn-li) → Swaminathan Vasudevan (swaminathan-vasudevan) |
summary: |
- DVR: Floating Agent Gateway Port is not deleted on the first host when - FloatingIP is moved from one VM to another VM on a different host - without disassociating the FloatingIP. + DVR: Moving FloatingIP between hosts can lead to Floating Agent Gateway + Port not being deleted |
Changed in neutron: | |
milestone: | none → liberty-rc1 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-rc1 → 7.0.0 |
After more testing the steps to reproduced this have been refined to:
#+ Test Steps: Get ip address of all nodes
#+ Test Steps:
#+ Step: User, Tenant, Token, and Image Verification
#+ Step: Add security Rules
#+ Step: Router Creations(DVR)
#+ Step: Networks, and Subnet Attachement
#+ Step: spin up dvr_vms
#+ Step: Obtain necessary vm information
#+ Step: Create external Network and Subnet
#+ Step: Attach external network to router
#+ Step: Associate FIP to Vm1
#+ Step: Verify floating ip pluming for Vm1
#+ Step: Verify connectivity to vm1 from outside world
#+ Step: Associate FIP currently associated with vm1 to Vm2
#+ Step: Verify: Fip-show should have Vm2's port Id
#+ Step: Verify floating ip pluming for Vm2
#+ Step: Verify connectivity to vm2 from outside world
#+ Step: Verify ssh to fip from external host and check output of ifconfig have vm2's fixed ip
then
04-25-2015 15:16:38 : ####### ####### ####### ####### ####### ####### ###### ####### ####### ####### ####### ####### ###### d558-46d8- b2a2-96cbdef198 db 2b6b-48d0- 9687-b7e0fead3c ae
04-25-2015 15:16:38 : Removing all resources from system
04-25-2015 15:16:38 : #######
04-25-2015 15:16:38 : ***Getting User Token***
04-25-2015 15:16:38 : ***User Token Received***
04-25-2015 15:16:38 :
04-25-2015 15:16:38 : -- Deleting VMs
04-25-2015 15:16:39 : -- Done deleting VMs
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting Security Groups
04-25-2015 15:16:39 : 'default' Security Group deleted
04-25-2015 15:16:39 : -- Done deleting Security Groups
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : --- Deleting Floating IPs
04-25-2015 15:16:39 : --Done deleting Floating IPs
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Clearing all routes from routers
04-25-2015 15:16:39 : -- Done Clearing all routes on routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Detaching subnets from routers
04-25-2015 15:16:39 : -- Done detaching subnets from routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting Ports
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting 25337691-
04-25-2015 15:16:39 : -- Done deleting ports
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting subnets
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting 1f4059ee-
04-25-2015 15:16:39 : --Done deleting subnets
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : -- Deleting routers
04-25-2015 15:16:39 : --Done deleting routers
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : --Deleting networks
HTTP Error 409: Conflict
04-25-2015 15:16:39 : Error deleting wjs_public_network
04-25-2015 15:16:39 : -- Done deleting networks
04-25-2015 15:16:39 :
04-25-2015 15:16:39 : ------DONE-------