Bug 1951671

Summary: Excessive writes to ironic Nodes
Product: OpenShift Container Platform Reporter: Zane Bitter <zbitter>
Component: Bare Metal Hardware ProvisioningAssignee: Zane Bitter <zbitter>
Bare Metal Hardware Provisioning sub component: baremetal-operator QA Contact: Amit Ugol <augol>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: beth.white, rbartal
Version: 4.8Keywords: OtherQA, Triaged
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:02:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

https://access.redhat.com/errata/RHSA-2021:2438