geesefs
geesefs copied to clipboard
Unable to mount OCI Object Storage
I'm trying to use geesefs with Oracle Cloud (OCI) Object Storage.
I can use s3fs, but not geesefs:
s3fs -o url=https://<namespace>.compat.objectstorage.<region>.oraclecloud.com -o use_path_request_style -o passwd_file=s3fs-credentials <bucket> <mount-point>
Works!
./geesefs --endpoint https://<namespace>.compat.objectstorage.<region>.oraclecloud.com --debug_s3 --debug_fuse --log-file log.txt -o use_path_request_style <bucket> <mount-point>
or
AWS_ACCESS_KEY_ID=<id> AWS_SECRET_ACCESS_KEY='<key>' ./geesefs --endpoint https://<namespace>.compat.objectstorage.<region>.oraclecloud.com --debug_s3 --debug_fuse --log-file log.txt <bucket> <mount-point>
Log:
s3.DEBUG HEAD https://<namespace>.compat.objectstorage.<region>.oraclecloud.com/<bucket> = 404 []
s3.DEBUG Opc-Request-Id = [jed-1:j_JLhhEZA3g17ufgrdzPoWTN6AsLA1nz8ZREULNI7QWHAs_PSYsMSpRomoTg2OiF]
s3.DEBUG X-Api-Id = [s3-compatible]
s3.DEBUG X-Amz-Request-Id = [jed-1:j_JLhhEZA3g17ufgrdzPoWTN6AsLA1nz8ZREULNI7QWHAs_PSYsMSpRomoTg2OiF]
s3.DEBUG Date = [Sat, 13 Aug 2022 12:36:07 GMT]
main.ERROR Unable to access '<bucket>': bucket <bucket> does not exist
main.FATAL Mounting file system: Mount: initialization failed
main.FATAL Unable to mount file system, see syslog for details
Hi, you should probably pass the actual S3 bucket name instead of <bucket>
?
Hi, you should probably pass the actual S3 bucket name instead of
<bucket>
?
I am. <bucket>
is just a placeholder in this issue description.
Ah, ok. Does OCI Object Storage support https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html ?
It says it does, https://docs.oracle.com/iaas/api/#/en/s3objectstorage/latest/Bucket/HeadBucket - but why does it give 404 then? .. Can you try to make the same request manually / with boto3 or something like that?