test_bucket_create_exists should fail on recreate#9
Merged
alfredodeza merged 1 commit intoceph:masterfrom Dec 4, 2014
Merged
Conversation
AWS S3 has two behaviors for recreating a bucket depending if you use
the us-standard or another region:
>>> bucket = conn.create_bucket('gaul-default', location=Location.DEFAULT)
>>> bucket = conn.create_bucket('gaul-default', location=Location.DEFAULT)
>>> bucket = conn.create_bucket('gaul-uswest', location=Location.USWest)
>>> bucket = conn.create_bucket('gaul-uswest', location=Location.USWest)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 499, in create_bucket
response.status, response.reason, body)
boto.exception.S3CreateError: S3CreateError: 409 Conflict
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to create the named bucket succeeded and you already own it.</Message><BucketName>gaul-uswest</BucketName><RequestId>24B6DC3170365CD7</RequestId><HostId>hUynMTyqc9WZFxAJ2RFK6P7BqmmeHHlMl9xL2NOy56xBUnOZCAlHqGvtMeGeAfVs</HostId></Error>
Additional discussion:
https://issues.apache.org/jira/browse/JCLOUDS-334
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Aug 1, 2014
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Aug 1, 2014
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
Member
|
@andrewgaul sorry, just noticed all these pull requests, for some reason didn't get any notification. Will review these. Thanks, and sorry! |
Contributor
Author
|
@yehudasa Can you please review my pull requests? Many of them have been open for over 4 months. |
alfredodeza
added a commit
that referenced
this pull request
Dec 4, 2014
test_bucket_create_exists should fail on recreate
Contributor
|
@andrewgaul I'm going to revert this test as we do not support the duality that S3 does (other regions vs US Standard). By default, we will adhere to whatever US Standard complies to. The specific error documentation states: |
Contributor
|
Reverted with: abc9e67 |
Contributor
Author
|
@alfredodeza I reworked this pull request to handle both behaviors in #30. |
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jan 1, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jan 22, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Feb 27, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Mar 2, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Apr 9, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
May 1, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jul 13, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jul 14, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Oct 27, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Nov 15, 2015
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jan 16, 2016
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Jan 25, 2017
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Feb 23, 2017
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Aug 16, 2017
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Nov 16, 2018
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
gaul
added a commit
to gaul/s3-tests
that referenced
this pull request
Nov 24, 2019
This test fails on AWS in regions other than us-standard. See ceph#9 for more discussion.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AWS S3 has two behaviors for recreating a bucket depending if you use
the us-standard or another region:
Additional discussion:
https://issues.apache.org/jira/browse/JCLOUDS-334