cinder quota update for volume type should automatically update default quotas
Bug #1576718 reported by
craig
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Wishlist
|
Unassigned |
Bug Description
so if I have a volume type in the following example
volume type: gold
if I update the quota for anything under that volume type I then have to do a second update for the default number of volumes.
so something like this:
cinder quota-update --volumes 100 --volume-type gold
and then have to turn around and do:
cinder quota-update --volumes 100 (to update the default volumes quota)
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
status: | Invalid → Incomplete |
Changed in cinder: | |
assignee: | nobody → Sirisha (sirisha-1) |
Changed in cinder: | |
assignee: | Sirisha (sirisha-1) → nobody |
Changed in cinder: | |
assignee: | nobody → Karthik Prabhu Vinod (karthik-prabhu-vinod) |
Changed in cinder: | |
assignee: | Karthik Prabhu Vinod (karthik-prabhu-vinod) → nobody |
To post a comment you must log in.
This bug is invalid as i am this functionality is working fine.
Please refer below test results for verifiacation:
sheel@sheel- VirtualBox: ~/devstack$ cinder quota-show 7b68039c470b4c9 bbd02c375df9b9b fd ------- ------- ----+-- -----+ ------- ------- ----+-- -----+ lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | gigabytes | -1 | lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | ------- ------- ------- -- Step1(check default volumes) type_private | -1 | ------- ------- ----+-- -----+
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_
| gigabytes_
| gigabytes_
| per_volume_
| snapshots | 10 |
| snapshots_
| snapshots_
| snapshots_
| volumes | 10 |
| volumes_lvmdriver-1 | -1 | <------
| volumes_sheel_type | -1 |
| volumes_
+------
Step2: update default volumes to 100 VirtualBox: ~/devstack$ cinder quota-update --volume-type lvmdriver-1 --volumes 100 7b68039c470b4c9 bbd02c375df9b9b fd ------- ------- ----+-- -----+ ------- ------- ----+-- -----+ lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | gigabytes | -1 | lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | type_private | -1 | ------- ------- ----+-- -----+ VirtualBox: ~/devstack$ cinder quota-show 7b68039c470b4c9 bbd02c375df9b9b fd ------- ------- ----+-- -----+ ------- ------- ----+-- -----+ lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | gigabytes | -1 | lvmdriver- 1 | -1 | sheel_type | -1 | type_private | -1 | ------- ------- ------ Step3(check default volumes) type_private | -1 | ------- ------- ----+-- -----+
sheel@sheel-
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_
| gigabytes_
| gigabytes_
| per_volume_
| snapshots | 10 |
| snapshots_
| snapshots_
| snapshots_
| volumes | 10 |
| volumes_lvmdriver-1 | 100 |
| volumes_sheel_type | -1 |
| volumes_
+------
sheel@sheel-
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_
| gigabytes_
| gigabytes_
| per_volume_
| snapshots | 10 |
| snapshots_
| snapshots_
| snapshots_
| volumes | 10 |
| volumes_lvmdriver-1 | 100 | <------
| volumes_sheel_type | -1 |
| volumes_
+------