Comment 3 for bug 1796920

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

Reviewed: https://review.openstack.org/609043
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f7d0a7671fb73983a1853b0d2f3ce7552d752c31
Submitter: Zuul
Branch: stable/rocky

commit f7d0a7671fb73983a1853b0d2f3ce7552d752c31
Author: Matt Riedemann <email address hidden>
Date: Tue Oct 9 11:45:05 2018 -0400

    [stable-only] Add report_ironic_standard_resource_class_inventory option

    Since Pike it has been possible to schedule ironic nodes
    using custom resource classes. As part of that change, existing
    ironic instances needed to undergo a data migration and until
    that data migration was complete, ironic compute services needed
    to continue reporting standard resource class inventory.

    Once the data migration is complete, the problem with continuing
    to report standard resource class inventory is non-baremetal
    flavors can get scheduled to ironic nodes.

    The standard resource class inventory reporting was removed
    from the ironic driver in Stein:

      If2b8c1a76d7dbabbac7bb359c9e572cfed510800

    Therefore as a stable-only workaround, this change adds an
    option for operators to disable reporting standard resource
    class inventory for ironic nodes once they have confirmed that
    their ironic instance data migrations are complete, which they
    can do via the related "nova-status upgrade check" added in
    change Ifd22325e849db2353b1b1eedfe998e3d6a79591c.

    Change-Id: Id3c74c019da29070811ffc368351e2238b3f6da5
    Closes-Bug: #1796920