VM flows are not getting deleted from br-sec

Bug #1493763 reported by Romil Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Committed
Undecided
Romil Gupta

Bug Description

We have an issue that after deleting a VM from ESX host,
the flows related for that VM are not getting deleted
from br-sec bridge.

Currently, the ovsvapp_agent is calling the remove_devices_filter() method at two places

https://github.com/openstack/networking-vsphere/blob/stable/kilo/networking_vsphere/agent/ovsvapp_agent.py#L1109
https://github.com/openstack/networking-vsphere/blob/stable/kilo/networking_vsphere/agent/ovsvapp_agent.py#L1200

which is landing on neutron securitygroups_rpc.py. We need to override this method in ovsvapp_sg_agent.py to remove the deleted VM related flows.

Romil Gupta (romilg)
description: updated
Changed in networking-vsphere:
assignee: nobody → Romil Gupta (romilg)
status: New → In Progress
Romil Gupta (romilg)
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (master)

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

Romil Gupta (romilg)
summary: - OVSvApp sg agent doesn't delete the stale VM's flows
+ VM flows are not getting deleted from br-sec
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/221677
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=94cba0d75369b54609e43c2d23c1bb2210adb755
Submitter: Jenkins
Branch: master

commit 94cba0d75369b54609e43c2d23c1bb2210adb755
Author: Romil Gupta <email address hidden>
Date: Wed Sep 9 02:51:23 2015 -0700

    Fix VM flows are not getting deleted from br-sec

    We have a issue that after deleting a VM from ESX host,
    the flows related for that VM are not getting deleted
    from br-sec bridge.

    This patch-set address this issues by overriding the remove_devices_filter()
    method in ovsvapp_sg_agent.py

    Change-Id: I6995a4d3c62dcf0b0ee48cc89f46821bf499640f
    Closes-Bug: #1493763

Changed in networking-vsphere:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/221783

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.