Cinder quotas does not accept None arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Opinion
|
Undecided
|
Unassigned |
Bug Description
If you attempt to update the cinder quotas with a None argument, this errors. This is unlike nova quotas and every other module i have ever encountered with OpenStack.
Example from a python shell:
tnorth@ubuntu:~$ keystone tenant-create --name "foo"
+------
| Property | Value |
+------
| description | |
| enabled | True |
| id | 23eb582ecf53402
| name | foo |
+------
>>> from cinderclient.v1 import client as cinder
>>> c = cinder.
>>> c.quotas.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/stack/
self.
File "/opt/stack/
resp, body = self.api.
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
raise exceptions.
cinderclient.
>>> c.quotas.
>>> c.quotas.
<QuotaSet gigabytes=1000, snapshots=10, volumes=5>
Changed in cinder: | |
assignee: | nobody → chandan kumar (chkumar246) |
What is your expected bahavior if None is passed as a parameter? Set the quota to 0?