1ae0603782
From the beginning, user_id and project_id parameters are passed to the create method which python-cinderclient includes in the request body but these parameters were not used by the Cinder service. But now we are adding schema validation support in Cinder service[1] and these parameters are not allowed anymore. If cinder service will get these parameters in create volume API request body, it will return 400 error. Even in the Cinder specs, these parameters are not documented in api-ref <v2/v3>[2][3]. We are also planning to remove these parameters from python-cinderclient[4]. This patch removes these unnecessary parameters passed to the create Volume API. Note: These changes doesn't have any impact on the python-cinderclient. It won't break anything. [1]https://review.openstack.org/#/c/573093/ [2]https://developer.openstack.org/api-ref/block-storage/v2/index.html#volumes-volumes [3]https://developer.openstack.org/api-ref/block-storage/v3/index.html#volumes-volumes [4]https://review.openstack.org/#/c/573622/ Change-Id: I1d4024b645dcee44008e7d55702d8afd89ff6f5a |
||
---|---|---|
.. | ||
__init__.py | ||
cinder.py |