Bug #43221
rgw: GET Bucket fails on renamed bucket on archive zone
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
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
History
#1 Updated by Shilpa MJ about 1 year ago
- Status changed from New to Fix Under Review
- Target version set to v15.0.0
- Pull request ID set to 30667