** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-2

-- 
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/1433052

Title:
  update quota fails with long type values

Status in Cinder:
  Fix Committed
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Update quota with long type value (10000000000) fails with Internal
  Server Error (HTTP 500). If we update quota with multiple values in
  one request where one of the value is of long type, update quota fails
  because of DBError but few of the quota values are updated in
  database.

  Steps to reproduce:

  1. Check current quotas
  $ cinder quota-show 880cd5150d8a46a09c32b51f3d0d9a7c

  +-----------------------+-------+
  |        Property       | Value |
  +-----------------------+-------+
  |       gigabytes       |   52  |
  | gigabytes_lvmdriver-1 |   -1  |
  |       snapshots       |   50  |
  | snapshots_lvmdriver-1 |   -1  |
  |        volumes        |   50  |
  |  volumes_lvmdriver-1  |   -1  |
  +-----------------------+-------+

  2. Update quotas with multi-value where value of --volumes is of long type
  $ cinder quota-update 880cd5150d8a46a09c32b51f3d0d9a7c --volumes 10000000000 
--gigabytes 62 --snapshots 62

  you will see following error on terminal

  ERROR: Internal Server Error (HTTP 500) (Request-ID: req-e00a068a-
  a0d4-4665-b213-176f7ba1191e)

  3. Check quotas now and you will find updated gigabytes value in quotas.
  $ cinder quota-show 880cd5150d8a46a09c32b51f3d0d9a7c
  +-----------------------+-------+
  |        Property       | Value |
  +-----------------------+-------+
  |       gigabytes       |   62  |
  | gigabytes_lvmdriver-1 |   -1  |
  |       snapshots       |   50  |
  | snapshots_lvmdriver-1 |   -1  |
  |        volumes        |   50  |
  |  volumes_lvmdriver-1  |   -1  |
  +-----------------------+-------+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to