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

Bug 1974931

Summary: [4.8.0] Assisted Service Operator should be Infrastructure Operator for Red Hat OpenShift
Product: OpenShift Container Platform Reporter: David Zager <dzager>
Component: assisted-installerAssignee: David Zager <dzager>
assisted-installer sub component: Deployment Operator QA Contact: bjacot
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: alazar, aos-bugs, asegurap, dzager, fpercoco, mgoldboi, trwest
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Platform
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1974501 Environment:
Last Closed: 2021-07-27 23:13:39 UTC Type: ---
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: 1974501    
Bug Blocks:    

Description David Zager 2021-06-22 19:35:59 UTC
+++ This bug was initially created as a clone of Bug #1974501 +++

Description of problem:
Assisted Service Operator (long form) and assisted-service-operator (short form) need to be updated to Infrastructure Operator for Red Hat OpenShift (long form) and infrastructure-operator (short form) respectively.

How reproducible: Always

--- Additional comment from dzager on 20210621T21:14:00

In the assisted-service project we need to update the operator in the following ways:

1. Change the CSV name in {config/manifests/bases/ and deploy/olm-catalog/manifests/}assisted-service-operator.clusterserviceversion.yaml to infrastructure-operator.clusterserviceversion.yaml
2. sed 's/assisted-service-operator/infrastructure-operator/g'
    - in Makefile: update the name given to the deployment controller binary as well as the bundle images we publish upstream
    - to operator CSV: this should impact the operator name, deployment name, labels, operator container command, and spec.skips.

Updates to community-operators (this is how we communicate changes to ACM):
1. Move community-operators/assisted-service-operator -> community-operators/infrastructure-operator
2. Change package name from assisted-service.package.yaml -> infrastructure-operator.package.yaml

Changes to https://github.com/open-cluster-management/assisted-service-chart:
1. Update display names https://github.com/open-cluster-management/assisted-service-chart/blob/2486b0a815e97978b262e9011c5618c114be0dea/stable/assisted-service/Chart.yaml#L3-L4
2. Update automation to point to community-operator changes https://github.com/open-cluster-management/assisted-service-chart/blob/2486b0a815e97978b262e9011c5618c114be0dea/autogen-chart/config.yaml

Changes to https://github.com/open-cluster-management/hub-crds:
1. Update automation for https://github.com/open-cluster-management/hub-crds/tree/main/crds/assisted-service-operator -> https://github.com/open-cluster-management/hub-crds/tree/main/crds/infrastructure-operator

Can I get a thumbs up on this plan @mgoldboi @asegurap

--- Additional comment from dzager on 20210622T18:54:05

The changes covered by this bug include updating the following fields in the ClusterServiceVersion:

1. metadata.annotations.description
2. spec.descpription
3. spec.install.deployments

All other references (ie the operator's metadata.name and the list of operator versions skipped will continue as assisted-service-operator).

Comment 3 Trey West 2021-07-07 19:35:51 UTC
Verified on 2.3.0-DOWNSTREAM-2021-07-06-15-17-20

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