Dinesh Bhor d8928c2067 Fix 500 error if boolean is_public is passed as string
create and update apis of 'volume-type' and 'group_type' returns
500 error if boolean 'is_public' value is passed in the form of
string. Internally, database api doesn't convert is_public from
string to boolean and hence it raises following error:

DBError: (exceptions.ValueError) invalid literal for int() with base
10

User can pass following valid boolean values to these APIs:
'0', 'f', 'false', 'off', 'n', 'no', '1', 't', 'true', 'on', 'y',
'yes'

Used cinder.utils.get_bool_param method to convert 'is_public'
parameter from string to boolean. For invalid boolean values it will
return exception.InvalidParameterValue.

APIImpact:
Now create and update apis of 'volume-type' and 'group_type' will not
return 500 if boolean 'is_public' passed in the form of string. For
boolean values other than the specified above these api's will return
400 HTTPBadRequest.

Closes-Bug: #1670260
Change-Id: I9337a9182d714d7e56958fd3fb340108110783a7
2017-03-09 14:01:36 +05:30
2017-03-08 14:06:56 +00:00
2017-02-14 12:36:57 +01:00
2017-02-15 16:01:32 -02: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-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

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