-
Notifications
You must be signed in to change notification settings - Fork 26
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
Unable to create sonatype nexus pod when using s3 bucket as pvc #273
Comments
Just one more update that it's creating files in s3 bucket but still few directories are missing:- The logs as below:-
|
Hey @anchaubey, the CSI Driver only supports static provisioning at the moment, and using a StorageClass might cause unexpected behavior such as providing an unexpected PersistentVolume/S3-Bucket to a PVC. I'd suggest removing storage class and do one-to-one binding between your PVC and PV, see https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/docs/CONFIGURATION.md#static-provisioning. For the issue, could you please share debug logs from Mountpoint by passing |
Hello @unexge , Thanks for taking a look at the issue. Just fyi, I have tried removing storage class and just using the pv and pvc and with debug option. My concern is, if nexus or if all types of applications compatible to run with s3 bucket as pv.
This is my deployment file:
Logs for your review:-
|
This is pod status while creation @unexge , Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/kubelet/pods/65dcb368-708d-4aee-accd-8c6740ec024b/volume-subpaths/nexus-nexus3-properties/nexus3/3" to rootfs at "/nexus-data/etc/fabric/nexus-store.properties": open /run/containerd/io.containerd.runtime.v2.task/k8s.io/nexus3/rootfs/nexus-data/etc/fabric/nexus-store.properties: operation not permitted: unknown |
/kind bug
What happened?
I have created a nexus deployment where I am using s3 static provisioning feature https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/examples/kubernetes/static_provisioning/non_root.yaml
My pvc/pv config
What you expected to happen?
I am getting error once the pod is trying to launch as below:-
/sys/fs/cgroup/memory/memory.limit_in_bytes (No such file or directory)
java.lang.RuntimeException: /nexus-data/log/karaf.log (Invalid argument)
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment - EKS - 1.30
kubectl version
):The text was updated successfully, but these errors were encountered: