OpenStack Block Storage (Cinder)
Go to file
Sofia Enriquez 51a06f3fcc Allow removing NFS snapshots in error status
The NFS driver doesn't allow to delete snapshots in error state when
snapshot support is disable.

I'm facing some scenarios where snapshots are enabled then a snapshot
is created and after that then snapshots are disabled. This results
in error state snapshots that can't be deleted.  Another scenario is
- with nfs snapshot support disable from the beginning- the API layer
allows the snapshot to be created but the NFS driver sets the status
to "error" leaving the snapshot in the DB with error state.
Because of that, I have snapshots in error state that I'm not able
to delete.

The purpose of this fix allow deleting snapshots in error state.
It makes sense to block creating snapshots when snapshot support is
False. However, when deleting snapshot we don't want to block
attempts to delete a broken snapshot DB entry, which is necessary to
clean up a failed snapshot create.

Closes-Bug: #1842088
Change-Id: Ieb19d5e3f58ae2343b6b145772fec33cb7517ab5
(cherry picked from commit 5714bdb844)
(cherry picked from commit 5a4f3ac53a)
(cherry picked from commit fb0efc4214)
(cherry picked from commit e9ef536958)
2021-09-22 15:20:14 +00:00
api-ref/source Untyped to Default Volume Type 2019-09-20 05:37:54 +00:00
cinder Allow removing NFS snapshots in error status 2021-09-22 15:20:14 +00:00
contrib/block-box Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
doc Fix typo in Dell EMC Unity driver documentation 2021-06-21 08:37:59 +00:00
etc/cinder Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
playbooks zuul: collect cinderlib logs from tempest node(s) only 2020-07-21 23:31:00 +02:00
rally-jobs Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
releasenotes PowerMax Driver - Fix for create snapshot 2021-08-26 11:17:04 +01:00
tools Move hacking checks to tests dir 2019-10-09 14:16:58 -04:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Tell reno to ignore the kilo branch 2020-02-17 20:17:53 +00:00
.gitreview Update .gitreview for stable/train 2019-09-27 09:05:11 +00:00
.pylintrc Pylint: Filter out cinder.objects and requests E1101 2019-02-21 13:28:44 -05:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Drop lower-constraints job 2021-04-13 14:00:40 -04:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Add cinder-specs link to readme.rst 2019-08-30 16:53:00 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt Add cryptsetup to bindep.txt 2020-02-19 17:12:03 +00:00
driver-requirements.txt Merge "Unity: Add replication support" 2019-09-26 06:18:55 +00:00
lower-constraints.txt Adjust requirements and lower-constraints 2020-12-23 10:27:01 -05:00
reno.yaml Tell reno to ignore the kilo branch 2020-02-17 20:17:53 +00:00
requirements.txt Adjust requirements and lower-constraints 2020-12-23 10:27:01 -05:00
setup.cfg StorPool: update the driver requirements. 2019-09-08 17:50:54 +03:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Ensure pep8/fast8 run in python 3.6 2021-01-19 16:25:48 -05:00
tox.ini Ensure pep8/fast8 run in python 3.6 2021-01-19 16:25:48 -05:00

README.rst

Team and repository tags

image

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.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

For developer information please see HACKING.rst

You can raise bugs here https://bugs.launchpad.net/cinder

Python client

https://opendev.org/openstack/python-cinderclient