Bug 1962314 - openshift-marketplace pods in CrashLoopBackOff state after RHACS installed with an SCC with readOnlyFileSystem set to true
Summary: openshift-marketplace pods in CrashLoopBackOff state after RHACS installed wi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.z
Assignee: Joe Lanford
QA Contact: Bruno Andrade
URL:
Whiteboard:
Depends On: 1961472
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-19 17:57 UTC by Joe Lanford
Modified: 2021-06-15 09:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1961472
Environment:
Last Closed: 2021-06-15 09:28:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-lifecycle-manager pull 2171 0 None open [release-4.7] Bug 1962314: Explicitly set `readOnlyRootFilesystem: false` on created registry pods. 2021-05-22 01:00:34 UTC
Red Hat Product Errata RHSA-2021:2286 0 None None None 2021-06-15 09:28:33 UTC

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


Note You need to log in before you can comment on or make changes to this bug.