Cinder Group Quota Incorrect Functionality
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Observation - Group-quota incorrect functionality
Steps to reproduce -
1. Set Group Quota to 5 and Try to create more than 5 groups.
2. Quota exception is seen when we try to create 6th group which as expected.
3. Now increase group quota to 15 and again try to create 6th group.
4. Same quota exception is seen though quota is extended from 5 to 15.
Please see detailed output below.
-- UPDATED CINDER GROUP-QUOTS TO 5 --
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_3pariscsi | -1 |
| gigabytes_
| groups | 5 |
| per_volume_
| snapshots | 10 |
| snapshots_3pariscsi | -1 |
| snapshots_
| volumes | 15 |
| volumes_3pariscsi | -1 |
| volumes_lvmdriver-1 | -1 |
+------
stack@cld6b16:~$ cinder quota-show admin
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_3pariscsi | -1 |
| gigabytes_
| groups | 5 |
| per_volume_
| snapshots | 10 |
| snapshots_3pariscsi | -1 |
| snapshots_
| volumes | 15 |
| volumes_3pariscsi | -1 |
| volumes_lvmdriver-1 | -1 |
+------
-- TRIED TO CREATE MORE THAN 5 GROUPS --
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| availability_zone | nova |
| created_at | 2017-08-
| description | None |
| group_snapshot_id | None |
| group_type | 259641e2-
| id | d7997566-
| name | GROUP-1 |
| source_group_id | None |
| status | creating |
| volume_types | [u'eb58f329-
+------
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| availability_zone | nova |
| created_at | 2017-08-
| description | None |
| group_snapshot_id | None |
| group_type | 259641e2-
| id | 312689c0-
| name | GROUP-2 |
| source_group_id | None |
| status | creating |
| volume_types | [u'eb58f329-
+------
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| availability_zone | nova |
| created_at | 2017-08-
| description | None |
| group_snapshot_id | None |
| group_type | 259641e2-
| id | 8d69be83-
| name | GROUP-3 |
| source_group_id | None |
| status | creating |
| volume_types | [u'eb58f329-
+------
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| availability_zone | nova |
| created_at | 2017-08-
| description | None |
| group_snapshot_id | None |
| group_type | 259641e2-
| id | 8592fc4b-
| name | GROUP-4 |
| source_group_id | None |
| status | creating |
| volume_types | [u'eb58f329-
+------
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| availability_zone | nova |
| created_at | 2017-08-
| description | None |
| group_snapshot_id | None |
| group_type | 259641e2-
| id | 214ef050-
| name | GROUP-5 |
| source_group_id | None |
| status | creating |
| volume_types | [u'eb58f329-
+------
stack@cld6b16:~$ cinder --os-volume-
ERROR: GroupLimitExceeded: Maximum number of groups allowed (6) exceeded (HTTP 413) (Request-ID: req-1fc7419b-
--EXPECT ERROR.
--NOW UPDATE QUOTA FROM 5 TO 15 AND TRY TO CREATE GROUP AGAIN --
stack@cld6b16:~$ cinder --os-volume-
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_3pariscsi | -1 |
| gigabytes_
| groups | 15 |
| per_volume_
| snapshots | 10 |
| snapshots_3pariscsi | -1 |
| snapshots_
| volumes | 15 |
| volumes_3pariscsi | -1 |
| volumes_lvmdriver-1 | -1 |
+------
stack@cld6b16:~$ cinder quota-show admin
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_3pariscsi | -1 |
| gigabytes_
| groups | 15 |
| per_volume_
| snapshots | 10 |
| snapshots_3pariscsi | -1 |
| snapshots_
| volumes | 15 |
| volumes_3pariscsi | -1 |
| volumes_lvmdriver-1 | -1 |
+------
stack@cld6b16:~$ cinder --os-volume-
ERROR: GroupLimitExceeded: Maximum number of groups allowed (6) exceeded (HTTP 413) (Request-ID: req-3c1a0d53-
-- WE CAN SEE THE SAME ERROR--
ATTACHING C-VOL AND C-API FOR YOUR REFERENCE.
ATTACHING C-VOL.LOG