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

Bug 1968552

Summary: [master] BMAC should wait for an ISO to exist for 1 minute before using it
Product: OpenShift Container Platform Reporter: Michael Filanov <mfilanov>
Component: assisted-installerAssignee: Mat Kowalski <mko>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: urgent CC: aos-bugs, fpercoco, mhrivnak
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Platform KNI-EDGE-4.8 KNI-EDGE-JUKE-4.8
Fixed In Version: OCP-Metal-v1.0.23.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1969367 (view as bug list) Environment:
Last Closed: 2021-10-18 17:32:56 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: 1969367    

Description Michael Filanov 2021-06-07 14:29:56 UTC
Description of problem:

In case of gitops we don't have control over the order of creation between different resources, because nmstate is marked by a label we it could take few seconds before all the configurations are created, so it will help to wait some time before BMAC is using the ISO, this will make sure that all configuration is applied. 
related to https://bugzilla.redhat.com/show_bug.cgi?id=1968542


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michael Hrivnak 2021-06-07 14:43:12 UTC
We should make it obvious why nothing is happening for that period of time. An easy option is to just ensure that the BMAC logs a clear message. Something like: "ISO for host %s is %d seconds old; waiting %d more seconds before booting host." Then RequeueAfter the calculated time period.

Comment 2 Flavio Percoco 2021-06-17 11:50:50 UTC
#1968542 is already approved in master. I think we can get started with the implementation here.

Comment 7 errata-xmlrpc 2021-10-18 17:32:56 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.9.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-2021:3759