Fernando Ferraz 32a71114c8 NFS driver: Fix fail creating volume with multiple snapshots
The NFS driver uses qcow2 images with backing files to represent
volume snapshots, which is not allowed for qcow2 disk images
downloaded from glance.  The driver uses cinder.image_utils to
convert a qcow2 snapshot to a raw volume; this was not a problem
for the first snapshot, whose backing file is raw, and hence passed
the image format inspector, but the second snapshot has a qcow2
backing file, which the image_utils were rejecting as a security
risk.  Thus we now pass the qemu_img_info from the backing image as
an additional parameter to the image convert call, which indicates
that the file has already been screened and allows the conversion
to occur.

Co-authored-by: Fernando Ferraz <fesilva@redhat.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Closes-bug: #2074377
Change-Id: I49404e87eb0c77b4ed92918404f86c073fbfd713
(cherry picked from commit 9687fbac79b0af266dcefb89b8ecc5c2940f6c80)
(cherry picked from commit ca82907201bd79a0d3bb172b52da3689ba541396)
(cherry picked from commit 39883f2b70c5c1f01f3908f216e6215f7832b274)
2025-04-24 12:52:29 +00:00
2023-04-18 19:45:55 +00:00
2021-06-04 17:21:28 -04:00
2023-04-18 19:45:55 +00:00
2024-03-18 08:48: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
2023-09-14 15:18:58 -04:00
2012-05-03 10:48:26 -07:00
2020-01-22 11:44:36 +00:00
2023-04-19 11:26:12 -04:00
2020-04-17 14:47:10 +02: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 914 MiB
Languages
Python 99.7%
Smarty 0.3%