s3api needs to check whether versioning is enabled in more places
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Seen in the wild as part of a GET w/ version-id request:
Apr 22 10:19:27 node proxy-server: version-aware operations require that the container is versioned:
Traceback (most recent call last):
File ".../swift/
resp = self.handle_
File ".../swift/
res = handler(req)
File ".../swift/
return self.GETorHEAD(req)
File ".../swift/
resp = req.get_
File ".../swift/
headers, body, query)
File ".../swift/
raise BadSwiftRequest
BadSwiftRequest: version-aware operations require that the container is versioned (txn: tx931a2d07d70a4
Yeah can confirm, s3 is just gunna 404
$ aws s3api get-object --bucket test.clayg.info --key README.md --profile clayg killme.out --version-id "oi1YxBCnzt_ z7ioBQAucPNgmv8 KWRtAn"
An error occurred (NoSuchVersion) when calling the GetObject operation: The specified version does not exist.
We're throwing a 5XX after a bunch of retries