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

failed to set internal data for access key/secret key from passwd file. #147

Open
wanggx opened this issue Nov 28, 2024 · 3 comments
Open

Comments

@wanggx
Copy link

wanggx commented Nov 28, 2024

if I create pv with the manual way as follow
apiVersion: v1 kind: PersistentVolume metadata: name: manualbucket-with-path spec: storageClassName: csi-s3 capacity: storage: 10Gi accessModes: - ReadWriteMany claimRef: namespace: kdxe-system name: csi-s3-manual-pvc csi: driver: ru.yandex.s3.csi controllerPublishSecretRef: name: csi-s3-secret-other namespace: kdxe-system nodePublishSecretRef: name: csi-s3-secret-other namespace: kdxe-system nodeStageSecretRef: name: csi-s3-secret-other namespace: kdxe-system volumeAttributes: capacity: 10Gi mounter: s3fs options: volumeHandle: doris-kdxe

attention: the account in the csi-s3-secret-other is different from the acount in the values.yaml,as follow
image

so it cause an error beacuse of the different account。In the Daemon Pod(csi-s3-driver) show the error message,

failed to set internal data for access key/secret key from passwd file.

I thank, the account first write in the .passwd-s3fs is minio:123456789,after change the account (test:test),finally the .passwd-s3fs file content is test:test56789。so this case the s3fs command error。

@wanggx
Copy link
Author

wanggx commented Nov 28, 2024

image

@ououseisei
Copy link

Whether the CSI driver supports mounting different S3 buckets using different Access Key ID and Secret Access Key (AK/SK) pairs.

@wanggx
Copy link
Author

wanggx commented Dec 9, 2024

I submit a pr,Please consider whether to merge the pr code, Thanks!!!

#148

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