Project

General

Profile

Bug #43221

rgw: GET Bucket fails on renamed bucket on archive zone

Added by Shilpa MJ 2 months ago. Updated 2 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature:

Description

http://qa-proxy.ceph.com/teuthology/smanjara-2019-12-09_11:43:28-rgw:archive-zone-wip-test-archive-distro-basic-smithi/4584427/teuthology.log

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 2 months ago

  • Status changed from New to Fix Under Review
  • Target version set to v15.0.0
  • Pull request ID set to 30667

Also available in: Atom PDF