Hi There,
I just received an EPC account (ceswp) and would like to upload kernel/ramdisk/machine images. However, when I try to do a
euca-upload-bundle -b ubuntu-kernel-bucket -m /tmp/vmlinuz-2.6.27.21-0.1-xen.manifest.xml
I get the error
You do not have permission to access bucket: ubuntu-kernel-bucket
Do I need to get permission to create and upload to buckets or am I missing something here?
Thanks,
Everett
Hi Neil,
I tried a new bucket name but now I'm getting the error,
euca-upload-bundle -b ceswp -m /tmp/vmlinuz-2.6.27.21-0.1-xen.manifest.xml
Checking bucket: ceswp
Creating bucket: ceswp
Traceback (most recent call last):
File "/usr/local/bin/euca-upload-bundle", line 226, in main()
File "/usr/local/bin/euca-upload-bundle", line 209, in main
bucket_instance = ensure_bucket(conn, bucket, canned_acl)
File "/usr/local/bin/euca-upload-bundle", line 92, in ensure_bucket
bucket_instance = create_bucket(connection, bucket, canned_acl)
File "/usr/local/bin/euca-upload-bundle", line 81, in create_bucket
return connection.create_bucket(bucket, policy=canned_acl)
File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 287, in create_bucket
raise S3ResponseError(response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 400 Bad Request
Am I running into the limit of one bucket per account for the EPC as suggested by the post A suggestion: Limit on the number of buckets in EPC?
When I first tried to create a bucket with an existing name did that "use up" the one and only bucket I'm allowed to create per account?
If so, I think that would be a bug. What can I do to create another bucket? Open another account?
If not, what seems to be the issue here? I've thrown some print statements into /usr/share/pyshared/boto/s3/connection.py and the request to S3 (Walrus) seems to be okay.
Thanks,
Everett
Posted: Fri, 03/12/2010 - 15:57
Looks like that bucket name is already taken. The namespace is flat. I'd try a different bucket name.
hope that helps
neil