stein requires python-cinderclient >= 4.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Corey Bryant | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Stein |
Fix Released
|
High
|
Unassigned | ||
horizon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Disco |
Fix Released
|
High
|
Unassigned |
Bug Description
Attempting to create volume from stein dashboard fails with "Error: Unable to create volume.".
The log shows:
[Tue Apr 09 17:40:58.263170 2019] [wsgi:error] [pid 18815:tid 140441351403264] [remote 10.5.0.17:50962] Recoverable error: Invalid input for field/attribute volume. Value: {'size': 1,
'consistencygro
We're running with python3-
Relevent python-cinderclient commit from version 4.0.0:
commit 8d566689001a442
Author: Neha Alhat <email address hidden>
Date: Thu Jun 7 18:22:16 2018 +0530
Remove unnecessary parameters from volume create APIs
As per Cinder code, following parameters are not required to be
passed in the request body of create volume API.
* status
* user_id
* attach_status
* project_id
* source_replica
If you pass these parameters, previously it was ignored but in the
schema validation changes[1] we don't allow additionalPrope
passed in the request body. If user passes additional parameters which
are not as per API specs[2], then it will be rejected with 400 error.
On patch[3], tempest tests: test_volume_
test_
parameters.
This patch removes these unnecessary parameters passed to the create
Volume API.
[1]https:/
[2]https:/
[3]https:/
Change-Id: I37744bfd0b0bc5
Changed in horizon (Ubuntu Disco): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: stein-backport-potential |
Fix proposed to branch: master /review. openstack. org/651382
Review: https:/