Bug 1968552 - [master] BMAC should wait for an ISO to exist for 1 minute before using it
Summary: [master] BMAC should wait for an ISO to exist for 1 minute before using it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 4.9.0
Assignee: Mat Kowalski
QA Contact: Yuri Obshansky
URL:
Whiteboard: AI-Team-Platform KNI-EDGE-4.8 KNI-EDG...
Depends On:
Blocks: 1969367
TreeView+ depends on / blocked
 
Reported: 2021-06-07 14:29 UTC by Michael Filanov
Modified: 2021-10-18 17:33 UTC (History)
3 users (show)

Fixed In Version: OCP-Metal-v1.0.23.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1969367 (view as bug list)
Environment:
Last Closed: 2021-10-18 17:32:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 2032 0 None closed Bug 1968552: Wait for ISO for 1 minute before using it 2021-06-24 16:20:53 UTC
Red Hat Bugzilla 1968542 1 urgent CLOSED [master] Infra env should show the time that ISO was generated. 2022-08-28 08:47:34 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:33:23 UTC

Internal Links: 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


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