Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2047870

Summary: Prevent redundant queries of BIOS settings in HostFirmwareController
Product: OpenShift Container Platform Reporter: Bob Fournier <bfournie>
Component: Bare Metal Hardware ProvisioningAssignee: Bob Fournier <bfournie>
Bare Metal Hardware Provisioning sub component: baremetal-operator QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: lshilin
Version: 4.10Keywords: Triaged
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2061794 (view as bug list) Environment:
Last Closed: 2022-08-23 19:39:39 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:
Bug Depends On:    
Bug Blocks: 2061794    

Description Bob Fournier 2022-01-28 18:41:08 UTC
Description of problem:

Currently the BMO reads the BIOS config settings from Ironic in the HSF controller reconciler and updates the status in the resource along with the LastUpdated flag. Once the resource is updated it will cause the reconciler to run again (although not a 2nd time because the LastUpdated flag will be the same).

This should be avoided by comparing the new settings to the old settings and old saving and updating the LastUpdated flag when they are different.

Comment 5 Lubov 2022-03-29 08:06:11 UTC
verified on 4.11.0-0.nightly-2022-03-27-140854. On our HP setup I see it happens every 5 min

Comment 7 errata-xmlrpc 2022-08-23 19:39:39 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069