Maximum number of volumes allowed (10) exceeded for quota 'volumes'.

Bug #1656855 reported by Dennis Dmitriev
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Stepler
Fix Released
Medium
Alexander Gromov

Bug Description

Test test_create_delete_many_volumes [1] failed with the following error:

E OverLimit: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'. (HTTP 413) (Request-ID: req-500a1818-2c87-4e51-a500-620bda587b25)

Default cinder quota for 'volumes' is 10.

Possible root cause of the error:
* Not all volumes were removed (or quota usage wasn't updated) after a previous test that could consume some from the limit.

Possible solution:
* When delete volumes after the previous test, check that 'cinder quota-usage <tenant_id>' (or via API call) shows 0 volumes in_use.
* When a tenant is created for the cinder tests, update the cinder quota up to 20 or more volumes
to avoid the race condition for resources between tests.

[1] https://mirantis.testrail.com/index.php?/tests/view/26754837

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

The right way to fix it is the following:
1) Check if we have proper teardown method for each test case
2) Update default quotas for new tenant up to 100 volumes.

Changed in stepler:
status: New → Confirmed
importance: Undecided → Medium
Changed in stepler:
assignee: nobody → Alexander Gromov (agromov)
Changed in stepler:
status: Confirmed → Opinion
status: Opinion → In Progress
Revision history for this message
Alexander Gromov (agromov) wrote :
Changed in stepler:
status: In Progress → Fix Committed
Changed in stepler:
status: Fix Committed → In Progress
Changed in stepler:
status: In Progress → Fix Committed
Navum Gupta (navum)
Changed in stepler:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.