OpenStack Block Storage (Cinder)
Go to file
whoami-rajat a752012c92 Fix: Roll back volume status during reimage failure
When we try to reimage a volume, we update the status of
volume to 'downloading'.
We later validate the image metadata (like image is 'active',
image size is less than volume size, etc), and in case the
validation fails, we currently don't revert the volume status
back to original ('available', 'in-use' etc) and volume stays
in 'downloading' state.

This patch fixes this by catching the failure exception and
doing a DB update to restore the volume status back to it's
previous state.

Closes-Bug: #2036994
Change-Id: I05bf29e2a089b06398414b542b655a8083c9a21f
2023-11-28 19:24:36 +05:30
api-ref/source api-ref: Improve sort, pagination parameter docs 2023-08-28 15:56:03 +01:00
cinder Fix: Roll back volume status during reimage failure 2023-11-28 19:24:36 +05:30
doc Merge "Reference - Documentation correction" 2023-09-14 15:48:29 +00:00
etc/cinder Add Cinder NFS driver for Dell PowerStore 2022-07-28 01:27:22 -07:00
playbooks Add fips check jobs 2023-04-18 19:45:55 +00:00
rally-jobs Remove Block Storage API v2 2021-06-04 17:21:28 -04:00
releasenotes Fix: Roll back volume status during reimage failure 2023-11-28 19:24:36 +05:30
roles Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
tools Add fips check jobs 2023-04-18 19:45:55 +00:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore db: Enable auto-generation of database migrations 2022-02-20 19:06:01 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:48 +00:00
.pylintrc Pylint: add nvmet to ignored-modules 2023-01-20 10:28:08 -05:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Merge "Make lvm-lio-barbican a canary job" 2023-09-28 01:30:18 +00:00
bindep.txt Use openstack-tox-py311 job 2023-08-18 18:55:23 -04:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
driver-requirements.txt Add install docs for LINSTOR driver dependencies 2022-12-15 09:40:06 +01:00
HACKING.rst Use LOG.warning instead of deprecated LOG.warn 2022-02-09 08:29:02 +09:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
mypy-files.txt mypy: Cover cinder/flow_utils.py 2023-06-05 14:31:04 +00:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
reno.yaml Update release note info 2021-04-16 11:11:41 -04:00
requirements.txt Merge "db: Remove legacy migrations" 2023-05-23 10:50:52 +00:00
setup.cfg Set packages in setup.cfg 2023-03-17 21:02:58 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Bump mypy to 1.2.0 2023-04-26 11:32:12 -04:00
tox.ini Bump pylint to 2.17.0 2023-03-09 15:56:50 -05:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

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

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient