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
fallback to v2 signing for non AWS endpoints #46
Comments
Try running |
closing, this is already supported |
This is result when I run mount command: 2015/12/04 09:56:53.418869 s3.DEBUG DEBUG: Request s3/GetBucketLocation Details: 2015/12/04 09:56:53.425540 s3.DEBUG DEBUG: Response s3/GetBucketLocation Details: 2015/12/04 09:56:53.425785 s3.DEBUG DEBUG: Validate Response s3/GetBucketLocation failed, not retrying, error InvalidArgument: 2015/12/04 09:56:53.425835 s3.ERROR code= msg=400 request= 2015/12/04 09:56:53.425844 s3.INFO Unable to detect bucket region, staying at 'us-west-2' |
try also, goofys doesn't take -o passwd_file option. Instead you need to use the |
I think this is what's causing your issue, goofys doesn't recognize -o passwd_file so we pass that down to fuse, which doesn't understand this option. |
Thank you for your reply. I tried to run your command, it's mounted successfully but still get 400 error with s3
I use aws cli to create credential but still "Unable to detect bucket region" Does goofys support s3-compatible API like Ceph Storage? |
Are you able to access the mount point afterwards? The 400 error you see above is not important |
This is log when I try to ls the mount point: ls: reading directory logstore/: Input/output error cannot create or do anything
|
On the surface this seems to be a problem with ceph not supporting v4 signing and somehow aws-sdk-go is not falling back to v2. Could you open a new issue? I am trying to get an account on dreamobject to test myself but their beta is already full. |
aws/aws-sdk-go#400 tracks the v2 signing issue |
Thanks for your supporting |
reopening until aws/aws-sdk-go#400 is resolved |
hack in a copy of v2 signer into goofys and adapting it for s3. refs #46, aws/aws-sdk-go#400
hack in a copy of v2 signer into goofys and adapting it for s3. refs #46, aws/aws-sdk-go#400
@jindov I've merged a fix for this to master but don't have a ceph setup to play with. Could you re-test? |
I remove and do:
and when I run a ls /mnt/logstore: ls: reading directory logstore/: Input/output error
I use exactly key and secret key Thank you |
That's odd, is it possible for me to get a credential to play with? |
My credential file |
Looks like you already edited the credential out. Just want to let you know that people who watch this project would have had an email notification with the original comment. |
my mistake and I need to reduce risky to my setup. can u debug the above error when connecting? |
Looking into it right now |
goofys' v2 signer was sending the full URL as the request URI (GET http://s3-us-west-2.amazonaws.com/bucket/object instead of (GET /bucket/object) which works with AWS-S3 but not ceph-s3 ceph-s3 also doesn't seem to send content-length when size is 0 refs #46
@jindov I've pushed some changes and basic operations seem to work now |
It seem work ok, I will continue testing and report |
Thanks for assisting in testing! Please file a new issue if you encounter other problems. Note that you may want to expire your credential since 22+ people have it in their mailbox. |
Is there an option signature v2 available? I'm not able to connect with goofys to my S3 share, however I can with s3fs only with using option sigv2. Is there any flag to add to goofys? |
It's would be an awesome feature if you support to customize endpoint or host (s3.mystorage.com), I need to connect to my ceph-s3 system
The text was updated successfully, but these errors were encountered: