Project

General

Profile

Actions

Bug #39970

open

radosgw-admin reshard process reports invalid argument

Added by liuerfire wang almost 5 years ago. Updated almost 5 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

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

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.

Actions #1

Updated by Casey Bodley almost 5 years 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.

Actions #2

Updated by liuerfire wang almost 5 years ago

Are you running mixed versions of radosgw and osds?

indeed

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

Actions

Also available in: Atom PDF