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.
Reviewed: https:/ /review. openstack. org/609043 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f7d0a7671fb 73983a1853b0d2f 3ce7552d752c31
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit f7d0a7671fb7398 3a1853b0d2f3ce7 552d752c31
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:
If2b8c1a7 6d7dbabbac7bb35 9c9e572cfed5108 00
Therefore as a stable-only workaround, this change adds an 353b1b1eedfe998 e3d6a79591c.
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 Ifd22325e849db2
Change-Id: Id3c74c019da290 70811ffc368351e 2238b3f6da5
Closes-Bug: #1796920