
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
Team and repository tags
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.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
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
Languages
Python
99.7%
Smarty
0.3%