Skip to content
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

OCI Bucket as PV not mounting correctly #409

Open
ronssm opened this issue Mar 10, 2025 · 1 comment
Open

OCI Bucket as PV not mounting correctly #409

ronssm opened this issue Mar 10, 2025 · 1 comment

Comments

@ronssm
Copy link

ronssm commented Mar 10, 2025

I’m struggling to identify where the problem is. After following the steps in this guide, I am encountering the following error:

E0310 21:35:12.815422 1 driver.go:131] GRPC error: rpc error: code = Internal desc = Could not mount "XXX" at "/var/lib/kubelet/pods/b364fd8a-1a72-4f09-8f1d-a80943177942/volumes/kubernetes.io~csi/oci-s3-pv/mount": Mount failed: Failed to start service output: Error: Failed to create S3 client Caused by: 0: initial ListObjectsV2 failed for bucket XXX in region YYY 1: Client error 2: Forbidden: The secret key required to complete authentication could not be found. The region must be specified if this is not the home region for the tenancy. Error: Failed to create mount process

I’ve reviewed the entire configuration but can’t seem to find what might be missing. Could anyone provide some guidance on what could be wrong?

/triage support

@unexge
Copy link
Contributor

unexge commented Mar 12, 2025

Hey @ronssm, see Compatibility with other storage services for our support policy.

We don't have expertise to understand what isn't working with OCI, but according to the error message, you could try passing region <your-tenancy-region> in mountOptions of your PersistentVolume to specify a different region if that's the case. Also, you can double-check if you're using the correct secret reference in CSI Driver Pods by running:

$ kubectl -n kube-system get pods -lapp=s3-csi-node -oyaml | grep -A3 -B2 secretKeyRef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants