delete share network subnet on share network deletion

Bug #2037422 reported by kiran pawar
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
In Progress
kiran pawar

Bug Description

When share network is deleted, we check if only 1 share network subnet is associated with share network. But we end up deleting share network in db without deleting that single share network subnet associated with share network. This results in zombie share network subnet entries in db.

We used below query and it returns non-zero result.

MariaDB [manila]> SELECT COUNT(id) FROM share_network_subnets WHERE deleted='False' AND share_network_id IS NULL;

kiran pawar (kpdev)
Changed in manila:
assignee: nobody → kiran pawar (kpdev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master

Changed in manila:
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
milestone: none → caracal-1
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.