yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25780
[Bug 1197176] Re: plugin subnets are not deleted when delete network is called
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1197176
Title:
plugin subnets are not deleted when delete network is called
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
QuantumDbPluginV2 should delete plugin subnets when delete_network is
being called. It just deletes subnets at the DB level but not at
plugin one.
On delete_network, subnets are also deleted from the DB with the
following code:
# clean up subnets
subnets_qry = context.session.query(models_v2.Subnet)
subnets_qry.filter_by(network_id=id).delete()
context.session.delete(network)
There should be a call to self.delete_subnet() as well to properly
delete any subnet operation created by the plugins.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1197176/+subscriptions