volume quota is not released on delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Committed
|
Undecided
|
Rongze Zhu |
Bug Description
So i dropped my default quota_volumes down to 1 to show this example of the problem on a clean devstack.
clayg@cfsyn28:~$ cinder create 1
clayg@cfsyn28:~$ cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Attached to |
+------
| e2cd05e9-
+------
clayg@cfsyn28:~$ cinder create 1
ERROR: VolumeLimitExce
clayg@cfsyn28:~$ cinder delete e2cd05e9-
clayg@cfsyn28:~$ cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Attached to |
+------
| e2cd05e9-
+------
clayg@cfsyn28:~$ cinder list
clayg@cfsyn28:~$ cinder create 1
ERROR: VolumeLimitExce
I think something like making a reservation for a negative value in volume.api.delete would get things moving in the right direction:
reservations = QUOTAS.
also, it'd be nice of there was something like 'nova-manage project quota list' but for the cinder db, or maybe an admin api extension would be better? Maybe I just missed something. Is it easy to disable quota all together? I didn't see anything like cinder.
Hi clayg, I think this bug is the same as https:/ /bugs.launchpad .net/cinder/ +bug/1048158 .