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

Bug 1966485

Summary: [master] Operator-managed assisted Service doesn't wait for CVO to finish before reporting back
Product: OpenShift Container Platform Reporter: Flavio Percoco <fpercoco>
Component: assisted-installerAssignee: Mat Kowalski <mko>
assisted-installer sub component: Deployment Operator QA Contact: bjacot
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Platform
Fixed In Version: OCP-Metal-v1.0.21.3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1967439 (view as bug list) Environment:
Last Closed: 2021-10-18 17:32:24 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: 1967439    

Description Flavio Percoco 2021-06-01 09:13:12 UTC
The operator-managed assisted-service deployment sets `CHECK_CLUSTER_VERSION` to False, which means deployments won't wait for CVO to be ready before marking the cluster as deployed.

As a reference, this option is set to True in the cloud deployment. The same should be done with the operator-based deployment.

reference: https://github.com/openshift/assisted-service/blob/master/internal/controller/controllers/agentserviceconfig_controller.go#L392



Checks to do:

- Verify that the controller logs "Checking cluster version operator availability status"
- Check the operations status

Comment 3 Ronnie Lazar 2021-06-01 12:35:30 UTC
*** Bug 1966483 has been marked as a duplicate of this bug. ***

Comment 4 Ronnie Lazar 2021-06-01 12:35:39 UTC
*** Bug 1966481 has been marked as a duplicate of this bug. ***

Comment 6 bjacot 2021-06-03 21:52:24 UTC
I was able to verify this via these examples
https://github.com/openshift/assisted-service/pull/1878

Comment 10 errata-xmlrpc 2021-10-18 17:32:24 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