Comment 2 for bug 1707669

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

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

commit afab0ca0c8f4c68b8d6d8646f408e9522596870e
Author: Jay Pipes <email address hidden>
Date: Mon Jul 31 12:28:38 2017 -0400

    placement: remove existing allocs when set allocs

    Bug #1707669 highlighted a situation that arose when attempting to
    remove part of an allocation for a source host during a resize
    operation where the exiting allocation was not being properly deleted.

    In this patch, we remove the part of the WHERE condition that limited
    deleted allocation records to only those referring to a particular
    resource provider. In doing so, we make the creation of an allocation
    for a consumer a proper overwrite operation.

    Change-Id: I0835e5b4f22277465012aab9a5bf474608cb533b
    Fixes-bug: #1707669