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
2023-04-18 19:45:55 +00:00
2021-06-04 17:21:28 -04:00
2023-04-18 19:45:55 +00:00
2019-04-19 19:26:48 +00:00
2023-01-20 10:28:08 -05:00
2017-10-10 00:46:42 +00:00
2023-08-18 18:55:23 -04:00
2012-05-03 10:48:26 -07:00
2020-01-22 11:44:36 +00:00
2021-04-16 11:11:41 -04:00
2023-03-17 21:02:58 +00:00
2020-04-17 14:47:10 +02:00
2023-04-26 11:32:12 -04:00
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

Description
OpenStack Block Storage (Cinder)
Readme 915 MiB
Languages
Python 99.7%
Smarty 0.3%