Migration of legacy router to distributed router should remove the original gateway port

Bug #1405528 reported by Xurong Yang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Xu Han Peng

Bug Description

In the case of update legacy router to distributed router, if hosting to the same node, qg port can not be added to snat router because it have not been removed from original centralized router, otherwise, qg port remains in the original centralized router. I think original qg port should be removed when updating the legacy router to distributed router.

operation defined as follow:
neutron router-create dvr
neutron router-gateway-set dvr ext-net

neutron router-interface-add dvr vxlan-subnet1

neutron router-update dvr --distributed=true

we can find qg port is still in qrouter after updating operation.

Xurong Yang (idopra)
Changed in neutron:
assignee: nobody → Xurong Yang (idopra)
tags: added: l3-dvr-backlog
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
Swaminathan Vasudevan (swaminathan-vasudevan) wrote :

Are you currently working on this patch. If not please let us know and we can take up this patch.

Revision history for this message
Mike Smith (michael-smith6) wrote :

The router needs to be disabled via 'admin_state_up=False' prior to migration. Your steps should look like this -
neutron router-create dvr
neutron router-gateway-set dvr ext-net

neutron router-interface-add dvr vxlan-subnet1

neutron router-update dvr --admin_state_up=False
neutron router-update dvr --distributed=true
neutron router-update dvr --admin_state_up=True

Can you try to reproduce with the steps above? Otherwise I think this is not a bug.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Xu Han Peng (xuhanp) wrote :

I am seeing the same problem during migration.

Changed in neutron:
status: Incomplete → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/151181

Changed in neutron:
assignee: Xurong Yang (idopra) → Xu Han Peng (xuhanp)
status: Confirmed → In Progress
ZongKai LI (zongkai)
Changed in neutron:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Kyle Mestery (<email address hidden>) on branch: master
Review: https://review.openstack.org/151181
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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