Bug 2102834 - [cloud-credential-operator]container has runAsNonRoot and image will run as root
Summary: [cloud-credential-operator]container has runAsNonRoot and image will run as root
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Credential Operator
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Akhil Rane
QA Contact: Shivanthi
URL:
Whiteboard:
: 2102633 (view as bug list)
Depends On: 2101880
Blocks: 2102633
TreeView+ depends on / blocked
 
Reported: 2022-06-30 19:01 UTC by OpenShift BugZilla Robot
Modified: 2022-08-10 11:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:19:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cloud-credential-operator pull 473 0 None Merged [release-4.11] Bug 2102834: manifests/00-namespace: Set empty openshift.io/run-level 2022-07-05 18:12:35 UTC
Github openshift cluster-openshift-apiserver-operator pull 499 0 None Merged [release-4.11] Bug 2102834: operator NS manifest: Set empty openshift.io/run-level 2022-07-06 08:09:24 UTC
Github openshift machine-api-operator pull 1033 0 None Merged [release-4.11] Bug 2102834: operator NS manifest: Set empty openshift.io/run-level 2022-07-05 15:18:02 UTC
Github openshift machine-config-operator pull 3221 0 None Merged [release-4.11] Bug 2102834: NS manifest: Set empty openshift.io/run-level 2022-07-05 15:18:03 UTC
Github openshift service-ca-operator pull 198 0 None Merged [release-4.11] Bug 2102834: operator NS manifest: Set empty openshift.io/run-level 2022-07-05 18:12:41 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:20:05 UTC

Comment 1 Scott Dodson 2022-07-01 17:34:42 UTC
*** Bug 2102633 has been marked as a duplicate of this bug. ***

Comment 4 Mingxia Huang 2022-07-06 07:21:12 UTC
Verified w/ version 4.11.0-0.nightly-2022-07-05-230222 following the suggested validation way:
1. Install ocp cluster with version 4.10.0-0.nightly-2022-06-08-150219
$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.nightly-2022-06-08-150219   True        False         35m     Cluster version is 4.10.0-0.nightly-2022-06-08-150219
2. Apply labels
$ oc label namespace openshift-cloud-credential-operator openshift.io/run-level=1
namespace/openshift-cloud-credential-operator labeled
$ oc label namespace openshift-apiserver-operator  openshift.io/run-level=1
namespace/openshift-apiserver-operator labeled
$ oc label namespace openshift-machine-api openshift.io/run-level=1
namespace/openshift-machine-api labeled
$ oc label namespace openshift-service-ca-operator openshift.io/run-level=1
namespace/openshift-service-ca-operator labeled
$ oc label namespace openshift-machine-config-operator openshift.io/run-level=1
error: 'openshift.io/run-level' already has a value (), and --overwrite is false
$ oc label namespace openshift-machine-config-operator openshift.io/run-level=1 --overwrite
namespace/openshift-machine-config-operator labeled
3. Upgrade to 4.11
$ oc adm upgrade --to-image registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-07-05-230222 --allow-explicit-upgrade --force
4. Upgrade is successful and run-level unset for the namespaces
$  oc get clusterversion -w
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.nightly-2022-06-08-150219   True        True          54m     Working towards 4.11.0-0.nightly-2022-07-05-230222: 704 of 802 done (87% complete)
version   4.11.0-0.nightly-2022-07-05-230222   True        False         0s      Cluster version is 4.11.0-0.nightly-2022-07-05-230222

$ oc get namespace openshift-cloud-credential-operator -o yaml |grep run-level
    openshift.io/run-level: ""
$ oc get namespace openshift-apiserver-operator -o yaml |grep run-level
    openshift.io/run-level: ""
$ oc get namespace openshift-machine-api -o yaml |grep run-level
    openshift.io/run-level: ""
$ oc get namespace openshift-service-ca-operator -o yaml |grep run-level
    openshift.io/run-level: ""
$ oc get namespace openshift-machine-config-operator -o yaml |grep run-level
    openshift.io/run-level: ""

Comment 6 Jeana Routh 2022-07-11 18:36:13 UTC
no doc needed per Akhil on Slack

Comment 7 errata-xmlrpc 2022-08-10 11:19: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 (Important: OpenShift Container Platform 4.11.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-2022:5069


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