Closed yegortokmakov closed 1 year ago
Thanks for this fix. We do have write access to the bucket but all of its.content should be public (readonly), so something else might be going on?
you are right! with a newer version of s3fs the same command seems to be working... I've bumped the version of the csi-s3 chart, I'll test again as soon as it's merged https://github.com/CloudVE/helm-charts/pull/4
In the end it worked with the latest version of the csi-s3 chart, even with geesefs. I'm closing the PR.
Disclaimer: this has not been tested with CVMFS.
When using S3FS refdata with default options, I run into error
failed to create subPath directory for volumeMount "refdata-gxy" of container "galaxy-db-init"
from refdata-gxy mount defined in https://github.com/galaxyproject/galaxy-helm/blob/master/galaxy/templates/jobs-init.yaml#L79.It seems to happen because we mount bucket
biorefdata:/galaxy/v1/data.galaxyproject.org
so the mount is already in the right subPathdata.galaxyproject.org
.Proper fix to this is to change mounted S3 prefix in values.yaml:
but right now it is not possible as s3fs can't mount /galaxy/v1 prefix due to permissions and will require an action from someone with write permissions to the bucket:
Insufficient permissions result in s3fs not able to see the directory:
Proposed is a temporary fix that just ignores subPath for s3csi, but keeps it for cvmfs.