Bug 1962314

Summary: openshift-marketplace pods in CrashLoopBackOff state after RHACS installed with an SCC with readOnlyFileSystem set to true
Product: OpenShift Container Platform Reporter: Joe Lanford <jlanford>
Component: OLMAssignee: Joe Lanford <jlanford>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: jiazha, jlanford, mbargenq, neilcar, tflannag
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1961472 Environment:
Last Closed: 2021-06-15 09:28:05 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: 1961472    
Bug Blocks:    

Comment 2 Bruno Andrade 2021-05-31 04:57:05 UTC
OLM version: 0.17.0
OCP Version: 4.7.0-0.nightly-2021-05-29-015423%
git commit: aa9d705167842d2ffa70005c68211957eb5f6848

1) Confirmed that catalog pod has attribute readOnlyRootFilesystem set to false
spec:
  containers:
  - image: registry.redhat.io/redhat/redhat-operator-index:v4.7
    imagePullPolicy: Always
    [...]
    securityContext:
      capabilities:
        drop:
        - MKNOD
      readOnlyRootFilesystem: false

2) Installed the Advanced Cluster Management for Kubernetes Operator

 oc get csv -n open-cluster-management

NAME                                 DISPLAY                                      VERSION   REPLACES                             PHASE
advanced-cluster-management.v2.2.3   Advanced Cluster Management for Kubernetes   2.2.3     advanced-cluster-management.v2.2.2   Succeeded

3) Check if catalog pod are healthy:

oc get pods -n openshift-marketplace                                   
NAME                                                              READY   STATUS      RESTARTS   AGE
14bbd46d68f3ddd50b9328cee6854a36807ef784dac2bded9cc20638fb4lnk4   0/1     Completed   0          3m57s
certified-operators-22qk4                                         1/1     Running     0          131m
community-operators-pfnhc                                         1/1     Running     0          131m
marketplace-operator-c5588d875-95k9n                              1/1     Running     0          140m
redhat-marketplace-wr6sn                                          1/1     Running     0          131m
redhat-operators-2k6d8                                            1/1     Running     0          131m

Comment 4 Siddharth Sharma 2021-06-04 18:40:05 UTC
This bug will be shipped as part of next z-stream release 4.7.15 on June 14th, as 4.7.14 was dropped due to a regression https://bugzilla.redhat.com/show_bug.cgi?id=1967614

Comment 8 errata-xmlrpc 2021-06-15 09:28:05 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.7.16 security and bug fix 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:2286