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

Bug 1819597

Summary: OLM playbook uses ConfigMap with wrong namespace "openshift-operator-lifecycle-manager"
Product: OpenShift Container Platform Reporter: Simon Krenger <skrenger>
Component: OLMAssignee: Alexander Greene <agreene>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: agreene, ecordell, maupadhy, sparpate
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-06 14:36:10 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:

Comment 1 Alexander Greene 2020-04-01 16:43:24 UTC
A PR for this bug was created here: https://github.com/openshift/openshift-ansible/pull/12137

Comment 4 Jian Zhang 2020-04-27 04:15:13 UTC
mac:openshift-ansible jianzhang$ ansible-playbook -i qe-inventory-host-file playbooks/olm/config.yml 

PLAY [Initialization Checkpoint Start] ********************************************************************************************************
...
...
INSTALLER STATUS ******************************************************************************************************************************
Initialization  : Complete (0:00:54)
OLM Install     : Complete (0:03:27)
Monday 27 April 2020  12:06:34 +0800 (0:00:00.079)       0:04:21.112 ********** 
=============================================================================== 
olm : Copy manifests to temp directory ----------------------------------------------------------------------------------------------- 137.88s
Initialize openshift.node.sdn_mtu ----------------------------------------------------------------------------------------------------- 15.43s
Gather Cluster facts ------------------------------------------------------------------------------------------------------------------ 14.41s
olm : Set olm-operator template -------------------------------------------------------------------------------------------------------- 9.51s
olm : Set catalog-operator template ---------------------------------------------------------------------------------------------------- 9.24s
olm : Apply rh-operators ConfigMap manifest -------------------------------------------------------------------------------------------- 9.10s
Gathering Facts ------------------------------------------------------------------------------------------------------------------------ 8.31s
olm : Apply clusterserviceversions.operators.coreos.com CustomResourceDefinition manifest ---------------------------------------------- 4.92s
olm : Apply olm-operator-binding-operator-lifecycle-manager ClusterRoleBinding manifest ------------------------------------------------ 3.69s
olm : create operator-lifecycle-manager project ---------------------------------------------------------------------------------------- 3.33s
olm : Apply aggregate-olm-edit ClusterRole manifest ------------------------------------------------------------------------------------ 3.04s
olm : Apply certified-operators ConfigMap manifest ------------------------------------------------------------------------------------- 2.68s
olm : Apply olm-operator-serviceaccount ServiceAccount manifest ------------------------------------------------------------------------ 2.57s
olm : Apply catalogsources.operators.coreos.com CustomResourceDefinition manifest ------------------------------------------------------ 2.42s
olm : Apply olm-operator Deployment manifest ------------------------------------------------------------------------------------------- 2.18s
olm : Apply operator-lifecycle-manager ClusterRole manifest ---------------------------------------------------------------------------- 2.18s
olm : Apply aggregate-olm-view ClusterRole manifest ------------------------------------------------------------------------------------ 2.17s
olm : Apply catalog-operator Deployment manifest --------------------------------------------------------------------------------------- 2.14s
olm : Apply rh-operators CatalogSource manifest ---------------------------------------------------------------------------------------- 2.13s
olm : Apply subscriptions.operators.coreos.com CustomResourceDefinition manifest ------------------------------------------------------- 2.10s

mac:openshift-ansible jianzhang$ git log
commit 085486a4603dfbe50b65ba54569a62fe467f8dcd (HEAD -> release-3.11, origin/release-3.11)
Author: AOS Automation Release Team <noreply>
Date:   Thu Apr 23 19:41:53 2020 +0000

    Automatic commit of package [openshift-ansible] release [3.11.216-1].
    
    Created by command:
    
    /bin/tito tag --debug --accept-auto-changelog --keep-version --debug

[root@gpei-311master-etcd-1 ~]# oc get pods -n operator-lifecycle-manager 
NAME                                READY     STATUS    RESTARTS   AGE
catalog-operator-6f98757764-cppb6   1/1       Running   0          8m
olm-operator-6c6c455965-mx8n6       1/1       Running   0          8m
[root@gpei-311master-etcd-1 ~]# oc get subscription
No resources found.

It works well, LGTM, verify it.

Comment 6 errata-xmlrpc 2020-05-06 14:36:10 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, 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/RHBA-2020:1550