Project

General

Profile

Actions

Bug #43221

open

rgw: GET Bucket fails on renamed bucket on archive zone

Added by Shilpa MJ over 4 years ago. Updated 8 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
% 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

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


Related issues 3 (1 open2 closed)

Copied to rgw - Backport #61439: reef: rgw: GET Bucket fails on renamed bucket on archive zoneResolvedKonstantin ShalyginActions
Copied to rgw - Backport #61440: pacific: rgw: GET Bucket fails on renamed bucket on archive zoneRejectedShilpa MJActions
Copied to rgw - Backport #61441: quincy: rgw: GET Bucket fails on renamed bucket on archive zoneNewShilpa MJActions
Actions

Also available in: Atom PDF