← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1292494] [NEW] Invalid validation for unlimited values when updating user quota

 

Public bug reported:

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".

** Affects: nova
     Importance: Undecided
     Assignee: Gastón Severina (gseverina)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Gastón Severina (gseverina)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1292494

Title:
  Invalid validation for unlimited values when updating user quota

Status in OpenStack Compute (Nova):
  New

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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1292494/+subscriptions


Follow ups

References