Bug 2101843
Summary: | pv fails to recycle with PodSecurity error | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jason Montleon <jmontleo> |
Component: | Storage | Assignee: | Fabio Bertinatto <fbertina> |
Storage sub component: | Kubernetes | QA Contact: | Wei Duan <wduan> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | jsafrane |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.12.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-17 19:50:47 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
Jason Montleon
2022-06-28 14:20:45 UTC
Jason, please note that recycler has been deprecated for a really long time and it should not be used for any production volumes. Thanks, I didn't realize that, but see it mentioned in the docs now. https://docs.openshift.com/container-platform/4.10/storage/understanding-persistent-storage.html I'm fine if this will be closed WONTFIX if that's the case and thanks for the heads up! Verified pass on 4.12.0-0.nightly-2022-09-02-194931 1. Checking the pod-security label in ns openshift-infra $ oc get ns openshift-infra -o json | jq .metadata.labels { "kubernetes.io/metadata.name": "openshift-infra", "pod-security.kubernetes.io/audit": "privileged", "pod-security.kubernetes.io/enforce": "privileged", "pod-security.kubernetes.io/warn": "privileged" } 2. Creating pod+pvc+pv(with nfs+Recycle), and the deleting pod+pvc, checking the recycler pod works well. recycler-for-pv-nfs 0/1 Pending 0 0s recycler-for-pv-nfs 0/1 Pending 0 0s recycler-for-pv-nfs 0/1 Pending 0 0s recycler-for-pv-nfs 0/1 ContainerCreating 0 0s recycler-for-pv-nfs 0/1 ContainerCreating 0 2s recycler-for-pv-nfs 0/1 Completed 0 7s recycler-for-pv-nfs 0/1 Completed 0 9s recycler-for-pv-nfs 0/1 Terminating 0 9s recycler-for-pv-nfs 0/1 Terminating 0 9s Update status to "VERIFIED" 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.12.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:7399 |