Bug 2057545
| Summary: | machine-config-operator pod is trying to use custom SecurityContextConstraint deployed by OpenShift Sandboxed containers Operator | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Pradipta Banerjee <prbanerj> |
| Component: | Machine Config Operator | Assignee: | Yuval Kashtan <ykashtan> |
| Machine Config Operator sub component: | Machine Config Operator | QA Contact: | Silvia Serafini <sserafin> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | aos-bugs, cmeadors, fan-wxa, gkurz, jfreiman, josantos, kgarriso, mkalinin, mkrejci, rh-container, sgrunert, sserafin, wking, ykashtan |
| Version: | 4.10-rc3 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2022-06-01 15:54: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: | |||
|
Description
Pradipta Banerjee
2022-02-23 15:30:20 UTC
Custom SCC details
```
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: false
allowPrivilegedContainer: false
allowedCapabilities:
- DAC_READ_OVERRIDE
apiVersion: security.openshift.io/v1
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
groups: []
kind: SecurityContextConstraints
metadata:
name: sandboxed-containers-operator-scc
priority: null
readOnlyRootFilesystem: false
requiredDropCapabilities:
- MKNOD
- FSETID
- KILL
- FOWNER
runAsUser:
type: MustRunAsNonRoot
seLinuxContext:
seLinuxOptions:
type: osc_monitor.process
type: MustRunAs
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:openshift-sandboxed-containers-operator:monitor
volumes:
- '*'
```
Simple recreate steps
```
oc scale deployments/machine-config-operator -n openshift-machine-config-operator --replicas=0
oc scale deployments/machine-config-operator -n openshift-machine-config-operator --replicas=1
oc get pods -n openshift-machine-config-operator -l k8s-app=machine-config-operator -o yaml | grep scc
openshift.io/scc: sandboxed-containers-operator-scc
```
Any update on this? *** Bug 2065085 has been marked as a duplicate of this bug. *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |