Bug 1951671 - Excessive writes to ironic Nodes
Summary: Excessive writes to ironic Nodes
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Zane Bitter
QA Contact: Amit Ugol
Depends On:
TreeView+ depends on / blocked
Reported: 2021-04-20 17:20 UTC by Zane Bitter
Modified: 2021-07-27 23:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2021-07-27 23:02:18 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github metal3-io baremetal-operator pull 852 0 None closed Always lazily update Node options in Ironic 2021-04-20 17:20:39 UTC
Github openshift baremetal-operator pull 145 0 None open Bug 1951671: Lazily update Node image options in Ironic 2021-04-20 17:25:41 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:02:45 UTC

Description Zane Bitter 2021-04-20 17:20:39 UTC
Upstream merged a patch to make recovery from an empty ironic database (e.g. after a reschedule to another node) more robust, https://github.com/metal3-io/baremetal-operator/pull/845, and this is also required by https://github.com/metal3-io/baremetal-operator/pull/849 to keep adoption of ExternallyProvisioned hosts working. Both of these changes were merged downstream in https://github.com/openshift/baremetal-operator/pull/142.

One of the side-effects of making this more robust, is that the baremetal-operator now writes an update to the ironic Node substantially every time that the Host is reconciled. This should only happen when there are actually changes to make, to avoid unnecessary writes. This is fixed upstream in https://github.com/metal3-io/baremetal-operator/pull/852 but does not yet appear downstream.

Comment 4 errata-xmlrpc 2021-07-27 23:02:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.