"lbaas delete l7 rule & policy" could leave dirty data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
"lbaas delete l7 rule & policy" could leave dirty data
In lbaas plugin side, the logic for deleting l7 rule and l7 policy is as follows:
If the l7 rule(or policy) attached to a load balancer, plugin only calls drivers to delete data (without any database operations); otherwise plugin deletes the data in database.
The codes are as follows:
if l7policy_
driver = self._get_
else:
As a result:
When try to delete the l7 rule(or policy) attached to a load balancer, dirty data will be left in the database.
neutron-lbaas issues are tracked on storyboard, can you file the bug there?
https:/ /storyboard. openstack. org/#!/ project/ openstack/ neutron- lbaas