OpenStack Block Storage (Cinder)
Go to file
John Griffith b245225d5e Disallow modification of in use Volume Types
Modifying a Volume Type doesn't actually update any
volumes that are currently using said Volume Type. Given
that this is an admin only operation it was never really
too much of a concern.

There has been some issues reported however where an admin
modified the type while volumes were using it, then ran into
problems becuase the volumes didn't have the expected settings
described by the type.

This change adds a check before updating/deleting extra-specs of
a volume type.  If there are any volumes currently assigned to
the type being modified/deleted the operation will fail with an
InvalidRequest immediately when attempting the call.

To maintain backward compatability incase someobdy is using this
for something and they are really really sure they want to
continue doing so, we also add a config option to allow the
old behavior but default to NOT allowing it:
  'allow_inuse_volume_type_modification=False'

APIImpact

Change-Id: Iaea721e13a3903cae60cc3fb3acfad03bd173a6b
Closes-Bug: #1667071
2017-03-06 09:14:29 -07:00
api-ref/source Merge "Cinder tox updates for Python3" 2017-02-14 07:59:01 +00:00
cinder Disallow modification of in use Volume Types 2017-03-06 09:14:29 -07:00
doc Merge "doc: verify all rst files" 2017-02-15 10:41:28 +00:00
etc/cinder Merge "Removes getfattr from Quobyte Cinder driver" 2017-02-17 02:08:29 +00:00
rally-jobs doc: verify all rst files 2017-02-14 12:36:57 +01:00
releasenotes Disallow modification of in use Volume Types 2017-03-06 09:14:29 -07:00
tools Fix multibackend-matrix confs 2017-02-15 16:01:32 -02:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Add driver list to doc build 2016-07-26 11:09:05 -05:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.testr.conf Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
CONTRIBUTING.rst Update CONTRIBUTING.md to CONTRIBUTING.rst 2015-11-10 23:10:38 +08:00
HACKING.rst Hacking: Remove N333 oslo namespace import check 2016-12-12 10:08:31 -05:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
README.rst Show team and repo badges on README 2016-11-25 13:39:11 +01:00
requirements.txt Updated from global requirements 2017-02-14 09:44:12 +00:00
setup.cfg Removing cinder-all binary 2016-10-02 15:46:57 -07:00
setup.py Updated from global requirements 2015-09-18 16:37:17 +00:00
test-requirements.txt Merge "doc: verify all rst files" 2017-02-15 10:41:28 +00:00
tox.ini Merge "Remove support for py34" 2017-02-17 10:29:04 +00:00

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://git.openstack.org/openstack/cinder.git

For developer information please see HACKING.rst

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

Python client

https://git.openstack.org/cgit/openstack/python-cinderclient