Share group deletion fails due to already deleted share server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Carlos Eduardo |
Bug Description
Description
===========
During the deletion of share network subnets, we are not checking for leftover share groups and preventing the deletion in case there are share groups in the subnet.
Steps to reproduce
==================
A chronological list of steps which will help reproduce the issue you hit:
* Create a share network
* Create a share group type and a share group in a DHSS True environment
* Create a share in the share group
* Delete the share
* Delete the share network subnet
Expected result
===============
Manila should prevent the deletion of the share network subnet, as there is a share group related to it.
Actual result
=============
Manila allows the deletion of the share network subnet, thus deleting the share server. When we request the deletion of the share group, it fails due to the share server not being known to Manila anymore.
Environment
===========
1. Devstack - Dummy Driver on DHSS=True (could happen with any DHSS=True backend)
description: | updated |
Changed in manila: | |
assignee: | nobody → Carlos Eduardo (silvacarlose) |
milestone: | none → antelope-3 |
importance: | Undecided → Medium |
Changed in manila: | |
milestone: | antelope-3 → antelope-rc1 |
Changed in manila: | |
milestone: | antelope-rc1 → bobcat-1 |
Changed in manila: | |
milestone: | bobcat-1 → bobcat-2 |
Changed in manila: | |
milestone: | bobcat-2 → bobcat-3 |
Changed in manila: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/872330
Review: https:/