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

Not able to write/update data into s3 bucket in inside kubernetes pod #306

Open
Venkatesh7591 opened this issue Sep 7, 2023 · 6 comments

Comments

@Venkatesh7591
Copy link

Hi Team,

We are able to create file but not able to write/update in that file on S3 bucket mounted path in inside kubernetes pod.
We are getting this error "ERROR: "E297: Write error in swap file"
Please help me in this issue.

Thanks,
Venkatesh.

@Venkatesh7591
Copy link
Author

Venkatesh7591 commented Sep 8, 2023

We are getting this issue in all the clouds after login to the pod.
But here bucket is mounted perfectly.
We used helm chart to install datashim in cloud
"
root@emyt-plus-ocr-6d5fffc689-sf78g:/workspace/ocr/s3/ocr_data# echo abc.txt >> abc1.txt
bash: echo: write error: Operation not supported
"

@srikumar003
Copy link
Collaborator

srikumar003 commented Sep 10, 2023

@Venkatesh7591 have you set read-only: true in the dataset

@srikumar003
Copy link
Collaborator

@Venkatesh7591 for your first issue, if it appears again, please paste the logs of csi-s3 daemons here

@Venkatesh7591
Copy link
Author

@Venkatesh7591 have you set read-only: true in the dataset

No, Please find my below yaml file.
apiVersion: com.ie.ibm.hpsys/v1alpha1
kind: Dataset
metadata:
name: bucket
spec:
local:
type: "COS"
accessKeyID: ""
secretAccessKey: "
**"
endpoint: "https://hfghfjtfv.compat.objectstorage.us-ashburn-1.oraclecloud.com"
bucket: "usa"
region: "us-ashburn" #it can be empty

Thanks,
Venkatesh.

@vabburi
Copy link

vabburi commented Feb 2, 2024

I'm facing the same issue...any pointers on how to resolve this?

@srikumar003
Copy link
Collaborator

@vabburi Hi, can you paste the logs for the csi-s3 daemons here ?

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

3 participants