OpenStack Block Storage (Cinder)
Go to file
Zhiteng Huang ca85d237e2 Fix deleting qos specs key
Previously deleting a key in certain qos specs was accomplished via
'update' API. Unfortunately, 'update' isn't able to tell the
difference between setting a key with no value and deleting a key (and
its value).
This change adds an new API 'delete_keys' to qos_specs API extension.
'delete_keys' API allows client to specify a list of to-be-deleted keys
in one single request (batch mode!), which can be handy when removing
multiple keys in a qos specs.

Example URL and request body for 'delete_keys' API:
 PUT to http://127.0.0.1:8776/v2/qos-specs/QOS_SPECS_UUID/delete_keys
 with body: {'keys': ['foo', 'bar', 'zoo']}

Above example request will result in 'foo', 'bar', 'zoo' key/value
pairs of QOS_SPECS_UUID be marked as deleted in DB.  If QOS_SPECS_UUID
doesn't exist, a 404 error will return; if any key in 'foo', 'bar',
'zoo' couldn't be found in QOS_SPECS_UUID, a 400 error will return with
error message telling which key couldn't be found. Note that Cinder
will puke 400 and stop trying the rest once it encounters a
non-existing (or deleted) key amoung the given list of keys.

This change also fixes 'list'/'show' API includes deleted keys in
result.

Fix bug: # 1223660
Fix bug: # 1223677

Change-Id: Ia3cb07e204d655a9b837b317ce7117feb3c86a2d
2013-09-11 14:36:53 +08:00
bin Fixes cinder-volume service startup on Windows 2013-09-03 18:41:59 +03:00
cinder Fix deleting qos specs key 2013-09-11 14:36:53 +08:00
contrib Copy the RHEL6 eventlet workaround from Oslo 2013-05-02 10:22:26 +01:00
doc Update references with new Mailing List location 2013-07-28 12:08:20 -07:00
etc/cinder Added copy-on-write support for all RBD cloning 2013-09-05 14:25:59 +01:00
tools Add venv wrapper for check_uptodate.sh 2013-08-31 19:39:09 +08:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Add eclipse project files to .gitignore 2013-08-05 17:56:07 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Fix pep8 and pylint violation in Nexenta volume driver 2013-08-02 04:53:12 +04:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Cleanup and make HACKING.rst DRYer 2013-07-13 09:16:23 -07:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Cleanup README.rst 2013-07-22 11:26:34 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Remove usage of obsolete oslo.exception 2013-08-06 10:42:14 +02:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Implements APIs for VMDK driver 2013-08-30 03:44:41 -07:00
run_tests.sh Merge "Don't need to init testr explicitly" 2013-09-03 09:26:17 +00:00
setup.cfg Fix up the test framework 2013-06-14 14:02:17 +00:00
setup.py Fix python 3 pep8 errors for print 2013-08-21 16:59:22 -06:00
taskflow.conf Refactoring of create_volume to use taskflow. 2013-08-07 19:08:21 -07:00
test-requirements.txt Modified 3PAR drives to support 3parclient 2.0.0 2013-08-27 14:55:34 -07:00
tox.ini Enable gating on F811 2013-09-02 18:08:02 +02:00

README.rst

The Choose Your Own Adventure README for 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.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst