Invalid validation for unlimited values when updating user quota
Bug #1292494 reported by
Gastón Severina
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Gastón Severina |
Bug Description
There is a possible scenario that is not correctly handled when validating quota limit. If the remaining quota is unlimited (-1) and new quota value is unlimited (-1) then both values are summed resulting in a -2 value that then causes the following error: "Quota limit must be greater than 0".
Changed in nova: | |
assignee: | nobody → Gastón Severina (gseverina) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
It looks like we have a general problem with estimating what the maximum quota can be if it is currently unlimited. Needs further investigation for more than just this specific case (I think we'll often have off by one errors).