I can see that reported behavior is reproducible.
REQ: curl -g -i -X POST http://192.168.122.198/volume/v3/volumes -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}0c54f45882461f69327151ab4928988d1b6d3f628f959ab27394802096b7da94" -d '{"volume": {"size": 1, "consistencygroup_id": null, "snapshot_id": null, "name": "testvolume", "description": null, "volume_type": null, "availability_zone": null, "metadata": {}, "imageRef": null, "source_volid": null, "backup_id": null}}'
I can see that reported behavior is reproducible.
REQ: curl -g -i -X POST http:// 192.168. 122.198/ volume/ v3/volumes -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python- cinderclient" -H "X-Auth-Token: {SHA256} 0c54f45882461f6 9327151ab492898 8d1b6d3f628f959 ab27394802096b7 da94" -d '{"volume": {"size": 1, "consistencygro up_id": null, "snapshot_id": null, "name": "testvolume", "description": null, "volume_type": null, "availability_ zone": null, "metadata": {}, "imageRef": null, "source_volid": null, "backup_id": null}}'