manila/releasenotes/notes/bug-2004212-prevent-subnet-deletion-when-group-exists-a35355feb1bf6848.yaml
silvacarloss 2b52056721 Check share network for share groups before deletion
Share network subnets were not checking for the existence of share
groups while processing a delete request. Then, if a share network
had a share server that was tied to a share group, it would end up
deleting the share server, leaving the share group orphan. When we
triggered the deletion of the share group, it would fail, as the
share server was not known to Manila anymore.

Fix that issue by adding an extra validation step during the share
network subnet delete API.

Closes-Bug: #2004212
Depends-On: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/875981
Change-Id: I563bf925523fa44689c83f432ce5a460276afef7
2023-03-06 18:58:57 +00:00

8 lines
334 B
YAML

---
fixes:
- |
Fixed an issue that allowed share network subnets to be deleted when they
were still related to a share group. An exception will now be raised when
Manila identify such existing relationship. For more details, please refer
to `Launchpad Bug 2004212 <https://bugs.launchpad.net/manila/+bug/2004212>`_.