1. Cinder cannot handle Null values for its values and returns a 400 which fails the command
2. OSC should not send this request to cinder if there are no cinder values present. This can be handled in another bug.
This was fixed in OSC 1.1.0 as a side effect of bug 1438377 where you can see the addition of the if value check, however this does not get backported into the stable 1.0 series.
Calling:
# openstack --debug --os-identity- api-version= 3 --os-user-domain-id default --os-project- domain- id default quota set --cores 4 demo
on OSC 1.0.3 results in a request that looks like:
'{"quota_set": {"gigabytes": null, "tenant_id": "9d33152f0d2740 6382b072806bbf6 6bf", "snapshots": null, "volumes": null}}'
There are two problems here:
1. Cinder cannot handle Null values for its values and returns a 400 which fails the command
2. OSC should not send this request to cinder if there are no cinder values present. This can be handled in another bug.
This was fixed in OSC 1.1.0 as a side effect of bug 1438377 where you can see the addition of the if value check, however this does not get backported into the stable 1.0 series.