cinderclient against wallaby fails to create snapshot
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-cinderclient |
Fix Released
|
Low
|
Unassigned | ||
| Xena |
New
|
Undecided
|
Unassigned | ||
| Yoga |
In Progress
|
Undecided
|
Unassigned | ||
| Zed |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
Using the latest cinderclient 9.1.0 calling cinder wallaby release, fails to create snapshot.
└─> cinder snapshot-create --name walt-wallaby 6ba26261-
WARNING:
WARNING:
Sending1 {'snapshot': {'volume_id': '6ba26261-
ERROR: Invalid input for field/attribute force. Value: None. None is not of type 'boolean', 'string' (HTTP 400) (Request-ID: req-8f756aea-
The API LOG
Action: 'create', calling method: create, body: {"snapshot": {"volume_id": "6ba26261-
http://
Looks like the default in the cinderclient is set to nothing.
https:/
and the get for the args value defaults to None here:
https:/
| Changed in cinder: | |
| importance: | Undecided → Low |
| Changed in python-cinderclient: | |
| importance: | Undecided → Low |
| tags: | added: api snapshot |
| no longer affects: | cinder |
| Changed in python-cinderclient: | |
| status: | New → In Progress |

Related fix proposed to branch: master /review. opendev. org/c/openstack /python- cinderclient/ +/864027
Review: https:/