Project

General

Profile

Bug #51461

Unable to read bucket stats post reshard from Multisite primary

Added by Tejas C over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
multisite-reshard
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version 17.0.0-5278-g79eb0c85 (79eb0c853ca1ee491410e0c6c6796675a7449ef9) quincy (dev)

Steps:
- Create a tenanted bucket, and create 50k objects from both sites.
- When sync is complete, do a reshard of primary to 19 shards.
- Create 25k more objects from secondary.
- On primary , bucket is present and readable , but stats gives error.

primary:
/]# radosgw-admin bucket list
[
"t1/tenb1"
]

/]# radosgw-admin bucket stats --bucket t1/tenb1
error getting bucket stats bucket=tenb1 ret=-2
failure: (2) No such file or directory:

~]# /usr/local/bin/s3cmd ls -c ~/.s3ten
2021-06-30 11:03 s3://tenb1

and bucket list also works from s3cmd

secondary:
/]# radosgw-admin bucket stats --bucket t1/tenb1 {
"bucket": "tenb1",
"num_shards": 11,
"tenant": "t1",
"zonegroup": "1785a4fa-f7d6-4081-8c72-74f9cc441d3a",
"placement_rule": "default-placement",
"explicit_placement": {
"data_pool": "",
"data_extra_pool": "",
"index_pool": ""
},
"id": "b76458b4-55bc-41b4-8610-b4aa5df49661.46044.1",
"marker": "b76458b4-55bc-41b4-8610-b4aa5df49661.46044.1",
"index_type": "Normal",
"owner": "t1$user1",
"ver": "0#11387,1#11328,2#11299,3#11334,4#11348,5#11425,6#11367,7#11398,8#11408,9#11422,10#11295",
"master_ver": "0#0,1#0,2#0,3#0,4#0,5#0,6#0,7#0,8#0,9#0,10#0",
"mtime": "0.000000",
"creation_time": "2021-06-30T11:03:01.929900Z",
"max_marker": "0#00000011386.22799.5,1#00000011327.22681.5,2#00000011298.22623.5,3#00000011333.392747.5,4#00000011347.22721.5,5#00000011424.22875.5,6#00000011366.22769.5,7#00000011397.22897.5,8#00000011407.22851.5,9#00000011421.22869.5,10#00000011294.22615.5",
"usage": {
"rgw.main": {
"size": 867300000,
"size_actual": 921600000,
"size_utilized": 867300000,
"size_kb": 846973,
"size_kb_actual": 900000,
"size_kb_utilized": 846973,
"num_objects": 75000
}
},
"bucket_quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1,
"max_size_kb": 0,
"max_objects": -1
}
}

History

#1 Updated by Casey Bodley over 2 years ago

  • Tags set to multisite-reshard

#2 Updated by Vidushi Mishra over 2 years ago

We are not seeing issue on ceph version 17.0.0-8051-g15b54dc9 (15b54dc9eaa835e95809e32e8ddf109d416320c9) quincy (dev)

#3 Updated by Casey Bodley over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF