Comment 1 for bug 1576718

Revision history for this message
Sheel Rana (ranasheel2000) wrote :

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 7b68039c470b4c9bbd02c375df9b9bfd
+------------------------+-------+
| Property | Value |
+------------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_lvmdriver-1 | -1 |
| gigabytes_sheel_type | -1 |
| gigabytes_type_private | -1 |
| per_volume_gigabytes | -1 |
| snapshots | 10 |
| snapshots_lvmdriver-1 | -1 |
| snapshots_sheel_type | -1 |
| snapshots_type_private | -1 |
| volumes | 10 |
| volumes_lvmdriver-1 | -1 | <----------------------------- Step1(check default volumes)
| volumes_sheel_type | -1 |
| volumes_type_private | -1 |
+------------------------+-------+

Step2: update default volumes to 100
sheel@sheel-VirtualBox:~/devstack$ cinder quota-update --volume-type lvmdriver-1 --volumes 100 7b68039c470b4c9bbd02c375df9b9bfd
+------------------------+-------+
| Property | Value |
+------------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_lvmdriver-1 | -1 |
| gigabytes_sheel_type | -1 |
| gigabytes_type_private | -1 |
| per_volume_gigabytes | -1 |
| snapshots | 10 |
| snapshots_lvmdriver-1 | -1 |
| snapshots_sheel_type | -1 |
| snapshots_type_private | -1 |
| volumes | 10 |
| volumes_lvmdriver-1 | 100 |
| volumes_sheel_type | -1 |
| volumes_type_private | -1 |
+------------------------+-------+
sheel@sheel-VirtualBox:~/devstack$ cinder quota-show 7b68039c470b4c9bbd02c375df9b9bfd
+------------------------+-------+
| Property | Value |
+------------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_lvmdriver-1 | -1 |
| gigabytes_sheel_type | -1 |
| gigabytes_type_private | -1 |
| per_volume_gigabytes | -1 |
| snapshots | 10 |
| snapshots_lvmdriver-1 | -1 |
| snapshots_sheel_type | -1 |
| snapshots_type_private | -1 |
| volumes | 10 |
| volumes_lvmdriver-1 | 100 | <-------------------------- Step3(check default volumes)
| volumes_sheel_type | -1 |
| volumes_type_private | -1 |
+------------------------+-------+