Classifier app does not delete flows

Bug #1706051 reported by Dima Kuznetsov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Critical
Omer Anson

Bug Description

Classifier app is responsible for classifying and dispatching traffic from local ports (VMs, etc).
It installs flows when it receives an event from ovsdbmonitor regarding an port.

Internally, a lookup named _ofport_unique_key_map is used to map ofport to unique_key of the representing LogicalPort.

When a delete event is received, OvsPort object arrived only with an ID, so the lookup fails (ofport is None). This prevents the flows from being deleted.

Dima Kuznetsov (dimakuz)
Changed in dragonflow:
importance: Undecided → Critical
status: New → Confirmed
Omer Anson (omer-anson)
Changed in dragonflow:
assignee: nobody → Omer Anson (omer-anson)
Changed in dragonflow:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/487021
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=07d4439aef3be4ca4a481d6af43ef0b9b9b6bad9
Submitter: Jenkins
Branch: master

commit 07d4439aef3be4ca4a481d6af43ef0b9b9b6bad9
Author: Omer Anson <email address hidden>
Date: Mon Jul 24 15:03:45 2017 +0300

    Classifier app: Delete flows when ofport changes

    Change-Id: Ib8638697b06efe63f6e3e1169c5eb99237169ae1
    Closes-Bug: #1706051

Changed in dragonflow:
status: In Progress → Fix Released
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/489126

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to dragonflow (master)

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

commit f3bc952175bc976c84fad27ac9ab016583dfb6ae
Author: Dima Kuznetsov <email address hidden>
Date: Mon Jul 31 11:11:55 2017 +0300

    Classifier: remove access to uninitialized variable

    Change-Id: Id24876292b51846db9f025343816ed659155bdc5
    Related-Bug: #1706051

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.