| Summary: | Unable to mount s3 storage | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Boyd <bkelly> |
| Component: | fuse-s3fs | Assignee: | Neil Horman <nhorman> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | nhorman, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | fuse-s3fs-0.9-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-25 22:34:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Looks like get_key has started throwing an exception, it used to not do that. I can fix that pretty easily. get_key is failing however because the bucket you are trying to mount is not yet formatted for fuse-s3fs. You need to run the following command: s3fs -C -f <bucket> That will format the bucket by creating the fsdata file. At that point you will be able to mount it. I've fixed this with upstream commit f968e05043d2c658b9c1805988fa630a0c46c6b1. fuse-s3fs-0.7-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/fuse-s3fs-0.7-6.fc16 Package fuse-s3fs-0.7-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fuse-s3fs-0.7-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16887/fuse-s3fs-0.7-6.fc16 then log in and leave karma (feedback). fuse-s3fs-0.9-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/fuse-s3fs-0.9-1.fc16 fuse-s3fs-0.9-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Unable to mount s3 storage as fuse file system Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Export AWS key and secret key into environment variables AWS_SECRET_ACCESS_KEY=123456 AWS_ACCESS_KEY_ID=xyzabc 2. Run 's3fs bucketname /mnt/mountpoint' 3. Actual results: Python error & 403 error Traceback (most recent call last): File "/usr/bin/s3fs", line 1531, in <module> main() File "/usr/bin/s3fs", line 1516, in main if fs.setup() == False: File "/usr/bin/s3fs", line 917, in setup fsdata_key = self.blockdev.bucket.get_key("fsdata") File "/usr/lib/python2.7/site-packages/boto/s3/bucket.py", line 198, in get_key response.status, response.reason, '') boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden Expected results: File system should be mounted Additional info: I have compiled and run another fuse s3 mounter from http://code.google.com/p/s3fs/wiki/FuseOverAmazon. This works fine.