Comment 9 for bug 1724589

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

Reviewed: https://review.openstack.org/513198
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=842641c9b0b8f60d0e19b38ad1180078e9c4330c
Submitter: Zuul
Branch: stable/pike

commit 842641c9b0b8f60d0e19b38ad1180078e9c4330c
Author: John Garbutt <email address hidden>
Date: Wed Oct 18 17:05:43 2017 +0100

    Keep updating allocations for Ironic

    When ironic updates the instance.flavor to require the new custom
    resource class, we really need the allocations to get updated. Easiest
    way to do that is to make the resource tracker keep updating allocations
    for the ironic virt driver. This can be dropped once the transition to
    custom resource classes is complete.

    If we were not to claim the extra resources, placement will pick nodes
    that already have instances running on them when you boot an instance
    with a flavor that only requests the custom resource class. This should
    be what all ironic flavors do, before the upgrade to queens is
    performed.

    Closes-Bug: #1724589

    Change-Id: Ibbf65a8d817d359786abcdffa6358089ed1107f6
    (cherry picked from commit 5c2b8675e3e13e32b23681153f226de93bb99628)