Project

General

Profile

Bug #19904

rgw: Objects of bucket with '_' fail to sync in multisite env

Added by Orit Wasserman almost 4 years ago. Updated over 3 years ago.

Status:
In Progress
Priority:
Normal
Target version:
-
% Done:

0%

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

Description

Steps to Reproduce:
1. Create bucket with '_' using swift
2. Let the bucket sync
3. Create objects in it. Check if it syncs

We are failing to sync the bucket instance: {
"id": "1_1494428689.370173_1208544.1",
"section": "data",
"name": "__test__:e57026aa-45e4-48fb-9cd3-b51bdd792a2a.292866.4",
"timestamp": "2017-05-10 15:04:49.370173Z",
"info": {
"source_zone": "e57026aa-45e4-48fb-9cd3-b51bdd792a2a",
"error_code": 22,
"message": "failed to sync bucket instance: (22) Invalid argument"
}
},

in the master:
test?versions
2017-05-10 15:00:36.284440 7f49f4ff1700 15 calculated digest=LnXfLGVwpdXJfyimYnPdPIPXu0w=
2017-05-10 15:00:36.284441 7f49f4ff1700 15 auth_sign=LnXfLGVwpdXJfyimYnPdPIPXu0w=
2017-05-10 15:00:36.284442 7f49f4ff1700 15 compare=0
2017-05-10 15:00:36.284443 7f49f4ff1700 20 system request
2017-05-10 15:00:36.284447 7f49f4ff1700 2 req 7759:0.000109:s3:GET /__test__:list_bucket:normalizing buckets and tenants
2017-05-10 15:00:36.284450 7f49f4ff1700 10 s->object=<NULL> s->bucket=__test__
2017-05-10 15:00:36.284452 7f49f4ff1700 10 failed to run post-auth init
2017-05-10 15:00:36.284453 7f49f4ff1700 20 op->ERRORHANDLER: err_no=-2000 new_err_no=-2000
2017-05-10 15:00:36.284508 7f49f4ff1700 2 req 7759:0.000170:s3:GET /__test__:list_bucket:op status=0
2017-05-10 15:00:36.284516 7f49f4ff1700 2 req 7759:0.000178:s3:GET /__test__:list_bucket:http status=400
2017-05-10 15:00:36.284519 7f49f4ff1700 1 ====== req done req=0x7f49f4feb710 op status=0 http_status=400 ======


Related issues

Related to rgw - Bug #20787: the bucket created by swift can not be used by s3 Won't Fix 07/27/2017

History

#1 Updated by Orit Wasserman almost 4 years ago

The problem is that test is an invalid bucket name in S3 but was created using swift.
The sync uses S3 API and that's why it fails to get the bucket with invalid bucket name.

#2 Updated by Orit Wasserman almost 4 years ago

  • Description updated (diff)

#3 Updated by Yehuda Sadeh over 3 years ago

  • Subject changed from Objects of bucket with '_' fail to sync in multisite env to rgw: Objects of bucket with '_' fail to sync in multisite env

#4 Updated by Orit Wasserman over 3 years ago

  • Status changed from New to In Progress

#5 Updated by Orit Wasserman over 3 years ago

  • Status changed from In Progress to Fix Under Review

#6 Updated by Orit Wasserman over 3 years ago

  • Status changed from Fix Under Review to In Progress

#7 Updated by Matt Benjamin over 3 years ago

  • Priority changed from High to Normal

normal prio because have workaround (relaxed names)

#8 Updated by Casey Bodley over 3 years ago

  • Related to Bug #20787: the bucket created by swift can not be used by s3 added

Also available in: Atom PDF