datashim icon indicating copy to clipboard operation
datashim copied to clipboard

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

Open Venkatesh7591 opened this issue 1 year ago • 6 comments

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 avatar Sep 07 '23 04:09 Venkatesh7591

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 "

Venkatesh7591 avatar Sep 08 '23 04:09 Venkatesh7591

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

srikumar003 avatar Sep 10 '23 07:09 srikumar003

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

srikumar003 avatar Sep 10 '23 07:09 srikumar003

@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.

Venkatesh7591 avatar Sep 11 '23 05:09 Venkatesh7591

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

vabburi avatar Feb 02 '24 16:02 vabburi

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

srikumar003 avatar Feb 06 '24 06:02 srikumar003