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 | +------------------------+-------+
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_
+------