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

Bug 1964979

Summary: Add mapping from ACI to infraenv to handle creation order issues
Product: OpenShift Container Platform Reporter: Michael Filanov <mfilanov>
Component: assisted-installerAssignee: Daniel Erez <derez>
assisted-installer sub component: assisted-service QA Contact: Chad Crum <ccrum>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: alazar, aos-bugs, asegurap, ccrum
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: AI-Team-Hive KNI-EDGE-4.8
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:10:12 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 Michael Filanov 2021-05-26 13:23:15 UTC
Add ACI mapping method, like we have for CD:

https://github.com/openshift/assisted-service/blob/master/internal/controller/controllers/infraenv_controller.go#L383

Comment 1 Michael Filanov 2021-05-26 13:23:58 UTC
duplication of https://issues.redhat.com/browse/MGMT-6474

Comment 3 Chad Crum 2021-06-19 13:29:14 UTC
Validated fix in:
- 2.3.0-DOWNSTREAM-2021-06-17-01-26-58
- 4.8.0-fc.7 (hub cluster)

Steps:
- Created separate namespace for SNO cluster
- Created infraenv CR first
- Infraenv condition showed:
    Message:               Failed to create image: failed to get clusterDeployment with name sno-test-vm in namespace sno-test-vm: ClusterDeployment.hive.openshift.io "sno-test-vm" not found         
    Reason:                ImageCreationError 
- Created ACI + CD
- After a moment, infraenv showed:
Status:
  Conditions:
    Last Transition Time:  2021-06-19T13:26:45Z
    Message:               Image has been created
    Reason:                ImageCreated
    Status:                True
    Type:                  ImageCreated
  Iso Download URL:        https://assisted-service-rhacm.apps.ocp-edge-cluster-assisted-0.qe.lab.redhat.com/api/assisted-install/v1/clusters/e3382682-35b6-4290-96a0-83b5e0ecff82/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiZTMzODI2ODItMzViNi00MjkwLTk2YTAtODNiNWUwZWNmZjgyIn0.bMOWfCrsTVW_qe4SGVfdZRogyHG88k2DoruKkEDmpO_P3RMDOk-Codmn8VFMX6W11-

Comment 5 errata-xmlrpc 2021-07-27 23:10:12 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