-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POD mount with filepersona enabled PVC's fail with chcon error #640
Comments
Actually running the pod in privileged mode allows data writes on the exported location kind: Pod
apiVersion: v1
metadata:
name: podfiletestw2
spec:
containers:
- name: nginx
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: nginx
volumeMounts:
- name: export
mountPath: /export
restartPolicy: Always
volumes:
- name: export
persistentVolumeClaim:
claimName: pvcfile-sandesh4 |
@nilangekarss is this real fix going as part of 3.2 ? |
Leena to verify the fix in OpenShift environment |
Verified with below ymls, able to mount and write data '''kind: StorageClass kind: PersistentVolumeClaim kind: Pod
''' |
Closing based on the Raghavendra's comment |
Looking at the dory logs, the
chcon
is failing with an error and bind mount is failing with rc=1 (exit code)The text was updated successfully, but these errors were encountered: