s3api invalid version causes error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
While reviewing the fix for lp bug #1874295 (https:/
vagrant@saio:~$ aws s3api get-bucket-
vagrant@saio:~$ aws s3api get-object --bucket s3test2 --key test --version-id 1591385392.69725 test.out
An error occurred (NoSuchVersion) when calling the GetObject operation: The specified version does not exist.
vagrant@saio:~$ aws s3api get-object --bucket s3test2 --key test --version-id foo test.out
An error occurred (NoSuchVersion) when calling the GetObject operation: The specified version does not exist.
vagrant@saio:~$ aws s3api put-bucket-
vagrant@saio:~$ aws s3api get-object --bucket s3test2 --key test --version-id foo test.out
An error occurred (InternalError) when calling the GetObject operation (reached max retries: 4): We encountered an internal error. Please try again.
^ and we're returning internal errors
This isn't how s3 handles this invalid version id:
$ aws s3api get-object --bucket test.clayg.info --key README.md --profile clayg killme.out --version-id "foo"
An error occurred (InvalidArgument) when calling the GetObject operation: Invalid version id specified