dineshbhor 2d4a804876 Validate uuid parameters strictly for create volume API
Parameters like "consistencygroup_id" "source_volid" and
"source_replica" are expected to be in UUID format but if user
passes non-UUID format value like '1', create api searches for
that particular entity in database and returns 404 NotFound.
Also If user passes any non-integer value like [](empty list),
{}(empty dict), it returns 500 error. This patch proposes to
validate uuid parameters are adhering to the uuid format otherwise
it will return 400 BadRequest.

APIImpact: If user passes non-uuid values to consistencygroup_id,
source_volid and source_replica parameters in the request body of
create volume API, then it will return 400 error instead of
404/500 error.

Closes-Bug: #1680709
Change-Id: I31ea4f378be380a783d1c0249552ded8794fc52e
2017-04-07 12:28:54 +05:30
2017-02-14 12:36:57 +01:00
2016-07-26 11:09:05 -05:00
2012-05-03 10:48:26 -07:00
2012-05-03 10:48:26 -07:00
2012-05-03 10:48:26 -07:00
2015-06-11 17:19:19 +02:00
2016-11-25 13:39:11 +01:00
2017-03-02 23:53:29 +00:00
2017-03-29 22:29:40 +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

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