Project

General

Profile

Bug #14829

Error launching rgw via vstart.sh

Added by Javier M. Mellid almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Running the next command:

MON=1 MDS=1 ./vstart.sh -d -n -x -r

...raises several error in the logs. The vstart.sh execution finishes with the following message:

"couldn't init storage provider"

Having a look in the processes. All daemons look running but the rgw server. Running the rgw server by hand works ok

It seems the rgw server is having some issue to boot via vstart.sh

The box is Ubuntu 14.04.3 LTS (kernel 3.16.0-53-generic, SMP, x86_64)

The branch is 'master', commit b89ba9986db64217418b156ae571d8b7f6dc1cbd

Log attached.

Thanks!

vstart-rgw-error-log.txt View (5.59 KB) Javier M. Mellid, 02/20/2016 05:30 PM

Associated revisions

Revision 809189b4 (diff)
Added by Javier M. Mellid almost 7 years ago

vstart.sh: avoid race condition starting rgw via vstart.sh

In slow environments running vstart.sh hits a race condition setting up
the rgw server. Creating the S3 and Swift users before booting rgw
avoids the issue.

Fixes: #14829

Signed-off-by: Javier M. Mellid <>

History

#1 Updated by Javier M. Mellid almost 7 years ago

It seems a race condition on the rados lock. Delaying the rgw server booting is good enough and all things work as expected.

PR available at:

https://github.com/ceph/ceph/pull/7727

#2 Updated by Sage Weil almost 7 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF