dcfc2f3d5ac69e0fd0c6ecbdd6ce26ed1cecd96c
When `destroy_empty_storage_group` is enabled, the sg will be deleted after the last lun is detached from it. The issue is that the sg cache isn't updated, which caused the failure of subsequent attaching volumes to the same host because the sg in the cache will be used directly which doesn't exist any more. The fix is updating the sg with poll after deleting it. This doesn't delete the sg from cache explicitly but makes sure the sg in cache with latest status `not-exist`. Subsequent attaching will create the sg if it is `not-exist`. Closes-bug: #1817385 Change-Id: Ibb39879a77c97c6a5d885461e93116810d16b265 (cherry picked from commiteefd8302b3) (cherry picked from commit1f57f502c8) (cherry picked from commit29d42fa734)
Team and repository tags
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: https://wiki.openstack.org/Cinder
- Developer docs: https://docs.openstack.org/cinder/latest/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient
Description
Languages
Python
99.6%
Smarty
0.4%