Incorrect response when PUTing an existing bucket

Bug #1498231 reported by Darryl Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Swift3
New
Undecided
Unassigned

Bug Description

When attempting to create an existing bucket on top of an existing one, Swift3 returns a BucketAlreadyExists error. This error would be valid if it was owned by another user, but since there's a single user, it's not the correct response here.

S3 has two possible correct responses:

In US Standard, bucket creation is idempotent. Therefore, it is expected that the response be a 200 OK.

In all other regions a 409 BucketAlreadyOwnedByYou error is returned.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on swift3 (master)

Change abandoned by Tim Burke (<email address hidden>) on branch: master
Review: https://review.openstack.org/409300
Reason: Submitted against s3api as https://review.openstack.org/#/c/575829/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.20.0

This issue was fixed in the openstack/swift 2.20.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.