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 7 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 #1

Updated by Shilpa MJ over 4 years ago

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

Updated by Shilpa MJ 12 months ago

  • Pull request ID changed from 30667 to 51219
Actions #3

Updated by Casey Bodley 11 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Tags set to archive
  • Backport set to pacific quincy reef
Actions #4

Updated by Backport Bot 11 months ago

  • Copied to Backport #61439: reef: rgw: GET Bucket fails on renamed bucket on archive zone added
Actions #5

Updated by Backport Bot 11 months ago

  • Copied to Backport #61440: pacific: rgw: GET Bucket fails on renamed bucket on archive zone added
Actions #6

Updated by Backport Bot 11 months ago

  • Copied to Backport #61441: quincy: rgw: GET Bucket fails on renamed bucket on archive zone added
Actions #7

Updated by Backport Bot 11 months ago

  • Tags changed from archive to archive backport_processed
Actions #8

Updated by Konstantin Shalygin 7 months ago

  • Assignee set to Shilpa MJ
  • Target version changed from v15.0.0 to v19.0.0
Actions

Also available in: Atom PDF