chown: /data: Operation not permitted #354

Closed
opened 2022-08-30 08:27:52 +00:00 by Ghost · 8 comments
Ghost commented 2022-08-30 08:27:52 +00:00 (Migrated from gitea.com)

K8s deployment shows chown: /data: Operation not permitted, how to resolve.

K8s deployment shows `chown: /data: Operation not permitted`, how to resolve.
justusbunsi commented 2022-08-30 10:43:42 +00:00 (Migrated from gitea.com)

Please share your values.yaml (without sensitive data) and which version of the Helm Chart you use.

Where exactly do you get that error? During init-container execution?

Please share your values.yaml (without sensitive data) and which version of the Helm Chart you use. Where exactly do you get that error? During init-container execution?
Ghost commented 2022-08-31 07:03:25 +00:00 (Migrated from gitea.com)

@justusbunsi Thank you very much.
This file is my edit values.yaml.
I use helm chart version-> 6.0.0 ,and application version :1.17.1

@justusbunsi Thank you very much. This file is my edit values.yaml. I use helm chart version-> 6.0.0 ,and application version :1.17.1
Ghost commented 2022-08-31 07:05:20 +00:00 (Migrated from gitea.com)
https://gitea.com/nmglqw/giteavalues/src/branch/main/values.yaml
Ghost commented 2022-08-31 07:09:14 +00:00 (Migrated from gitea.com)

init-directories step
Report this during initialization

init-directories step Report this during initialization
justusbunsi commented 2022-09-23 13:30:02 +00:00 (Migrated from gitea.com)

How is your storage configured? What's the cluster default storage class? By anything related to NFS?

How is your storage configured? What's the cluster default storage class? By anything related to NFS?
pat-s commented 2023-02-26 12:56:24 +00:00 (Migrated from gitea.com)

User deleted, closing.

User deleted, closing.
pat-s commented 2023-04-13 22:24:52 +00:00 (Migrated from gitea.com)

I saw this exact error when trying a rootful image. I am wondering if rootful images work at all currently?

We have some chown calls in the init-containers for the rootful image only.

@justusbunsi Do you run on rootful or rootless? I guess we would have gotten more reports already if we would have a generic issue here as rootful is the default right now. Need to understand the error in more detail.

(EKS 1.26)

I saw this exact error when trying a rootful image. I am wondering if rootful images work at all currently? We have some `chown` calls in the init-containers for the rootful image only. @justusbunsi Do you run on rootful or rootless? I guess we would have gotten more reports already if we would have a generic issue here as rootful is the default right now. Need to understand the error in more detail. (EKS 1.26)
justusbunsi commented 2023-09-22 15:58:22 +00:00 (Migrated from gitea.com)

@pat-s, apologies for responding 5 months later 😅. I am using the rootful image, but overwriting the whole initContainer script. In my environment there are so many edge cases I have to consider (e.g. NFS) that I am not able to rely on the default script at all. That's just me and should be no indicator that there is an overall issue. I agree with you that if we would have a generic issue, there would be more issues.

Shall we close the issue again?

@pat-s, apologies for responding 5 months later 😅. I am using the rootful image, but overwriting the whole initContainer script. In my environment there are so many edge cases I have to consider (e.g. NFS) that I am not able to rely on the default script at all. That's just me and should be no indicator that there is an overall issue. I agree with you that if we would have a generic issue, there would be more issues. Shall we close the issue again?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#354
No description provided.