Activity log for bug #1615919

Date Who What changed Old value New value Message
2016-08-23 05:13:18 LIU Yulong bug added bug
2016-08-23 05:17:08 LIU Yulong description ENV: stable/mitaka When A DVR floating IP associate to a port, the `floatingip_update_callback` will immediately start a `start_route_advertisements` to notify DR agent that FIP bgp route. But this bgp route is not right, its next_hop is set to snat gateway IP address. And then after `periodic_interval` seconds, then the DR agent will resync that DVR fip route with new next_hop to the correct FIP namespace fip-device IP address. Reproduce: 1. create a DVR router 1, set gateway 2. create a network/subnet, and connected to the DVR router 1 3. create a VM 1 4. bind a floating IP to that VM 1 5. in DR agent LOG, you may see the following infos: 2016-08-23 13:08:26.301 13559 INFO bgpspeaker.api.base [req-829d21e2-98c3-49f3-9ba5-bd626aaf782e - - - - -] API method network.add called with args: {'prefix': u'172.16.10.68/32', 'next_hop': u'172.16.6.154'} 2016-08-23 13:08:26.302 13559 INFO neutron.services.bgp.driver.ryu.driver [req-829d21e2-98c3-49f3-9ba5-bd626aaf782e - - - - -] Route cidr=172.16.10.68/32, nexthop=172.16.6.154 is advertised for BGP Speaker running for local_as=2345. 2016-08-23 13:08:37.131 13559 INFO bgpspeaker.api.base [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] API method network.del called with args: {'prefix': u'172.16.10.68/32'} 2016-08-23 13:08:37.131 13559 INFO neutron.services.bgp.driver.ryu.driver [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] Route cidr=172.16.10.68/32 is withdrawn from BGP Speaker running for local_as=2345. 2016-08-23 13:08:37.132 13559 INFO bgpspeaker.api.base [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] API method network.add called with args: {'prefix': u'172.16.10.68/32', 'next_hop': u'172.16.10.66'} 2016-08-23 13:08:37.132 13559 INFO neutron.services.bgp.driver.ryu.driver [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] Route cidr=172.16.10.68/32, nexthop=172.16.10.66 is advertised for BGP Speaker running for local_as=2345. ENV: stable/mitaka When A DVR floating IP associate to a port, the `floatingip_update_callback` will immediately start a `start_route_advertisements` to notify DR agent that FIP bgp route. But this bgp route is not right, its next_hop is set to snat gateway IP address. And then after `periodic_interval` seconds, then the DR agent will resync that DVR fip route with new next_hop to the correct FIP namespace fg-device IP address. Reproduce: 1. create a DVR router 1, set gateway 2. create a network/subnet, and connected to the DVR router 1 3. create a VM 1 4. bind a floating IP to that VM 1 5. in DR agent LOG, you may see the following infos: 2016-08-23 13:08:26.301 13559 INFO bgpspeaker.api.base [req-829d21e2-98c3-49f3-9ba5-bd626aaf782e - - - - -] API method network.add called with args: {'prefix': u'172.16.10.68/32', 'next_hop': u'172.16.6.154'} 2016-08-23 13:08:26.302 13559 INFO neutron.services.bgp.driver.ryu.driver [req-829d21e2-98c3-49f3-9ba5-bd626aaf782e - - - - -] Route cidr=172.16.10.68/32, nexthop=172.16.6.154 is advertised for BGP Speaker running for local_as=2345. 2016-08-23 13:08:37.131 13559 INFO bgpspeaker.api.base [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] API method network.del called with args: {'prefix': u'172.16.10.68/32'} 2016-08-23 13:08:37.131 13559 INFO neutron.services.bgp.driver.ryu.driver [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] Route cidr=172.16.10.68/32 is withdrawn from BGP Speaker running for local_as=2345. 2016-08-23 13:08:37.132 13559 INFO bgpspeaker.api.base [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] API method network.add called with args: {'prefix': u'172.16.10.68/32', 'next_hop': u'172.16.10.66'} 2016-08-23 13:08:37.132 13559 INFO neutron.services.bgp.driver.ryu.driver [req-fa420676-2ddd-4b24-9c36-932c2c8b1bef - - - - -] Route cidr=172.16.10.68/32, nexthop=172.16.10.66 is advertised for BGP Speaker running for local_as=2345.
2016-08-23 05:21:30 LIU Yulong tags l3-bgp
2016-08-24 01:11:47 Armando Migliaccio neutron: status New Confirmed
2016-08-24 01:11:50 Armando Migliaccio neutron: importance Undecided Low
2016-08-24 01:12:13 Armando Migliaccio tags l3-bgp l3-bgp mitaka-backport-potential
2016-09-19 08:19:31 OpenStack Infra neutron: status Confirmed In Progress
2016-09-19 08:19:31 OpenStack Infra neutron: assignee LIU Yulong (dragon889)
2016-10-07 16:18:13 Ihar Hrachyshka tags l3-bgp mitaka-backport-potential l3-bgp
2016-11-29 18:29:01 OpenStack Infra neutron: assignee LIU Yulong (dragon889) Ryan Tidwell (ryan-tidwell)
2016-12-07 11:08:20 OpenStack Infra neutron: status In Progress Fix Released