Comment 7 for bug 1433052

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/165069
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=19c01509ca261c1153fefb447305c0a31740b712
Submitter: Jenkins
Branch: master

commit 19c01509ca261c1153fefb447305c0a31740b712
Author: liyingjun <email address hidden>
Date: Tue Mar 17 21:16:35 2015 +0800

    Validate maximum limit for quota

    Currently, when updating quota using limit larger than 2**31 -1,
    there will be a DBError. The maximum limit needs to be validated.
    And the maximum value is defined by SQL integer type INT, which
    is a general value:
    http://dev.mysql.com/doc/refman/5.0/en/integer-types.html
    http://www.postgresql.org/docs/9.1/static/datatype-numeric.html

    Change-Id: Idf890c57342378d0a71f6b18eb42425d463b13ef
    Closes-bug: #1433052