Comment 4 for bug 1673227

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

Reviewed: https://review.openstack.org/428800
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0b2d7c4d028104d3a2a0d5851b194eface707ec3
Submitter: Jenkins
Branch: master

commit 0b2d7c4d028104d3a2a0d5851b194eface707ec3
Author: EdLeafe <email address hidden>
Date: Fri Feb 3 15:32:55 2017 +0000

    Add check for invalid inventory amounts

    This patch adds sane minimum and maximums to the fields for an inventory
    posting, which will quickly return a 400 error if invalid values are
    passed instead of proceeding, only to fail at the DB layer.

    Partial-Bug: #1673227

    Change-Id: I6296cee6b8a4be1dd53c52f6290ebda926cf6465