Project

General

Profile

Bug #39970

radosgw-admin reshard process reports invalid argument

Added by liuerfire wang 4 months ago. Updated 3 months ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Target version:
Start date:
05/20/2019
Due date:
% Done:

0%

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

Description

when i make a reshard job manually

$ radosgw-admin reshard add --bucket my-bucket --num-shards 100
$ radosgw-admin reshard process

output:

ERROR: failed to process reshard logs, error=(22) Invalid argument2019-05-20 10:54:55.025581 7f1295db7dc0  0 RGWReshardLock::lock failed to acquire lock on my-bucket:d29b7d7b-87c7-480e-b614-3006673b3f18.55892640.2425 ret=-22

2019-05-20 10:54:55.025593 7f1295db7dc0  0 process_single_logshardERROR in reshard_bucket my-bucket:(22) Invalid argument

This is ok in v12.2.10.

History

#1 Updated by Casey Bodley 3 months ago

  • Status changed from New to Need More Info

Are you running mixed versions of radosgw and osds? This appears to be caused by a change to the cls_lock api.

#2 Updated by liuerfire wang 3 months ago

Are you running mixed versions of radosgw and osds?

indeed

It works well after upgrading all osds and rgw. Thanks for the help.

Also available in: Atom PDF