Reviewed:  https://review.openstack.org/501717
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=777fb2af455eea31f9c6ea1f0e260ee8d4d0dbd7
Submitter: Jenkins
Branch:    master

commit 777fb2af455eea31f9c6ea1f0e260ee8d4d0dbd7
Author: venkata anil <anilvenk...@redhat.com>
Date:   Thu Sep 7 12:36:05 2017 +0000

    Remove csnat port when DVR migrated to non-DVR
    
    When a router is migrated from DVR to HA or DVR to centralized router,
    router_centralized_snat port still exists in DB. When the router is no
    more a DVR router, this port is useless and has to be removed from DB.
    
    This patch removes router_centralized_snat port when a router is
    migrated from DVR to other modes.
    
    Closes-Bug: 1714251
    Change-Id: I124514d021ff8539ac3a628907cb49611ef66d08


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  router_centralized_snat not removed when router migrated from DVR to
  HA

Status in neutron:
  Fix Released

Bug description:
  When a router is migrated from DVR to HA, all ports related to DVR
  should be removed. But I still see port with device_owner
  router_centralized_snat not removed.

  Steps to reproduce:
  1) create a network n1, and subnet on this network with name sn1
  2) create a DVR, attach it to sn1 through router interface add and set 
gateway(router-gateway-set public)
  3) boot a vm on n1 and associate a floating ip
  4) set admin-state to False i.e neutron router-update --admin-state-up False 
<router-id>
  5) Now update the router to HA router i.e
     neutron router-update --distributed=False --ha=True <router-id>
  6) neutron port-list and also
     "select * from ports where device_id="router-id";
     will show this "network:router_centralized_snat" port

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to