Actions
Bug #43221
openrgw: GET Bucket fails on renamed bucket on archive zone
% Done:
0%
Source:
Tags:
archive backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2019-12-09T13:27:30.106 INFO:tasks.rgw_multisite_tests:test versioning support on zones ... FAIL
ERROR: test old object version in archive zone
new_bucket_az = az_zones0.conn.get_bucket(new_bucket_name_az)
S3ResponseError: S3ResponseError: 404 Not Found
Tests fail for cases when bucket name on master zone is deleted. Since bucket removal is not allowed on archive zone, it gets renamed on archive zone to something like "my-bucket-deleted-cc8b5f17f3f7b0b93843609e93fb5d4f". A GETBucket fails to query this new name.
$ aws --profile archive s3api get-bucket-versioning --bucket my-bucket-deleted-cc8b5f17f3f7b0b93843609e93fb5d4f
An error occurred (NoSuchBucket) when calling the GetBucketVersioning operation: Unknown
Actions