NVP plugin:fix delete sec group when backend is out of sync
If a security group does not exist on the NVP backend, an error
should not be raised on deletion of the security group.
This patch changes the plugin behavior by deleting the record
from the database and just logging that the security group
was not found on the NVP backend.
Reviewed: https:/ /review. openstack. org/96885 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7bada4a6763 becf2e847b11fa1 4d4cbef5d61aff
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 7bada4a6763becf 2e847b11fa14d4c bef5d61aff
Author: Salvatore Orlando <email address hidden>
Date: Fri Nov 15 03:06:19 2013 -0800
NVP plugin:fix delete sec group when backend is out of sync
If a security group does not exist on the NVP backend, an error
should not be raised on deletion of the security group.
This patch changes the plugin behavior by deleting the record
from the database and just logging that the security group
was not found on the NVP backend.
Closes-Bug: #1251422
Conflicts: tests/unit/ nicira/ test_nicira_ plugin. py
neutron/
Change-Id: Ib8adf7a830ff33 6655fd83ad4118c de641adf284 f6f66d9e5182a9a bc6b82ed53)
(cherry picked from commit ed83265bb794d38