OpenStack Block Storage (Cinder)
Go to file
Brian Rosmaita 674c8e7286 Default volume_type set too early
If a volume_type is not specified in a volume-create request, change
I4da0c13b5b3f8174a30b8557f968d6b9e641b091 (introduced in Train) sets a
default volume_type in the REST API layer.  This prevents the
selection logic in cinder.volume.flows.api.create_volume.
ExtractVolumeRequestTask from being able to infer the appropriate
volume_type from the source volume, snapshot, or image metadata, and
has caused a regression where the created volume is of the default
type instead of the inferred type.

This patch removes setting the default volume_type in the REST API
and modifies the selection code in ExtractVolumeRequestTask slightly
to make sure a volume_type is always assigned in that function, and
adds and revises some tests.

Change-Id: I05915f2e32b1229ad320cd1c5748de3d63183b91
Closes-bug: #1879578
2020-06-24 17:07:38 -04:00
api-ref/source Merge "Switch to newer openstackdocstheme and reno versions" 2020-05-28 23:15:17 +00:00
cinder Default volume_type set too early 2020-06-24 17:07:38 -04:00
contrib/block-box Add note that block-box is not supported 2020-01-10 08:37:54 -06:00
doc Merge "PowerMax Driver - Ussuri Documentation" 2020-06-22 14:52:40 +00:00
etc/cinder Merge "Fix outdated comment in rootwrap filter" 2020-05-18 14:01:44 +00:00
playbooks Native Zuul v3 cinder-grenade jobs 2020-05-01 00:23:25 +02:00
rally-jobs Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
releasenotes Default volume_type set too early 2020-06-24 17:07:38 -04:00
tools Stop invoking Python 2 2020-04-24 09:23:52 +02: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-15 14:15:18 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:48 +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 Merge "Native Zuul v3 cinder-grenade jobs" 2020-05-21 05:07:38 +00:00
bindep.txt Add cryptsetup to bindep.txt 2020-01-28 15:52:44 -05:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
driver-requirements.txt [Unity] Support consistency group replication 2020-04-10 09:01:26 +08:00
HACKING.rst Update HACKING document to match current checks 2020-04-17 15:09:13 +00:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
lower-constraints.txt Merge "bump pycodestyle to 2.6.0" 2020-06-19 16:12:17 +00:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
reno.yaml Tell reno to ignore the kilo branch 2020-02-15 14:15:18 -06:00
requirements.txt Bump taskflow requirement to 3.8.0 2020-06-08 09:12:23 -04:00
setup.cfg Remove translation sections from setup.cfg 2020-05-18 10:50:50 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt bump pycodestyle to 2.6.0 2020-06-08 19:40:38 -04:00
tox.ini Merge "Add releasenote/ to doc8 ignore list" 2020-05-29 17:44:49 +00: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