Comment 5 for bug 1647316

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

Reviewed: https://review.openstack.org/407180
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=200666ad19e44fb76aab29ed664767885b259822
Submitter: Jenkins
Branch: master

commit 200666ad19e44fb76aab29ed664767885b259822
Author: EdLeafe <email address hidden>
Date: Mon Dec 5 16:15:53 2016 +0000

    Do not post allocations that are zero

    When posting allocations for VMs with a non-local disk, the code was
    sending an allocation of DISK_GB = 0, which violated the min_unit
    resource constraint. Since it is pointless to enter an allocation of
    zero units, this patch removes any items in the generated allocations
    dict if the value is zero.

    Closes-Bug: #1647316

    Change-Id: I59eff4310e67ceb74086f5ade1a637f8cccec7ed