floatingip status is not updated in neutron db

Bug #1682066 reported by Hong Hui Xiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
High
Hong Hui Xiao

Bug Description

Now, the fip status is updated in dnat app and only updated in df db.

When neutron gets fip, the status in df db is returned.

This way has 2 problems:

1) fip status update in dnat app might conflict with other fip udpate(e.g. in l3 plugin)
2) neutron db doesn't have the fip update event.

2) will cause the mechanism(in neutron server) based on fip status change not working.

Particularly, bgp plugin wants to monitor fip status change and update fip host routes.

Hong Hui Xiao (xiaohhui)
Changed in dragonflow:
assignee: nobody → Hong Hui Xiao (xiaohhui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

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

Changed in dragonflow:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to dragonflow (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/456619

Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/456138
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=37b6e45540bc343fb85ca6021ff25bfb3c691629
Submitter: Jenkins
Branch: master

commit 37b6e45540bc343fb85ca6021ff25bfb3c691629
Author: Hong Hui Xiao <email address hidden>
Date: Wed Apr 12 17:10:26 2017 +0800

    Use port status notifier to update fip status

    Currently, fip status will only be updated in df db. This
    causes issues when neutron server relies on the fip status
    change.

    This patch uses port status notifier to upate fip status in
    neutron server.

    TODO: (in seperate patch) rename port status notifier to a neutral
    name.

    Change-Id: I6df79a4e586f4415ba4ab6f6f0d1304cf11bf05f
    Closes-Bug: #1682066

Changed in dragonflow:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/456619
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=3ed9c29104b0a538f85256e0c7ff4ebb58396499
Submitter: Jenkins
Branch: master

commit 3ed9c29104b0a538f85256e0c7ff4ebb58396499
Author: Hong Hui Xiao <email address hidden>
Date: Thu Apr 13 21:40:34 2017 +0800

    Rename port_status_notifier to neutron_notifier

    The mechanism could be used to send updates from dragonflow controller
    to neutron server. It was used as port status notifier, but it could
    also been used as fip status notifier.

    This patch rename the class to a neutral name "neutron_notifier".

    Change-Id: I9aaf30810517ac7a53d120f9cb28b35737c76804
    Related-Bug: #1682066

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

Other bug subscribers

Remote bug watches

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