Project

General

Profile

Actions

Bug #10385

closed

ceph_objectstore_tool.py may race

Added by Loïc Dachary over 9 years ago. Updated over 9 years ago.

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

0%

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

Description

vstarting.... DONE
Wait for health_ok... DONE
Created Replicated pool #1
Created Erasure coded pool #2
Creating 4 objects in replicated pool
Creating 4 objects in erasure coded pool
Test invalid parameters
ERROR:Bad message to stderr "OSD has the store locked
" 
Test --op list variants
OSD has the store locked
ERROR:Bad exit status 1 from ./ceph-objectstore-tool --data-path ceph_objectstore_tool_dir/dev/osd0 --journal-path ceph_objectstore_tool_dir/dev/osd0.journal --op list --pretty-format=false
Traceback (most recent call last):
  File "./test/ceph_objectstore_tool.py", line 902, in <module>
    status = main(sys.argv[1:])
  File "./test/ceph_objectstore_tool.py", line 479, in main
    (pgid, jsondict) = json.loads(JSONOBJ[0])[0]
IndexError: list index out of range

if the osd take too long to shutdown, ceph-objectstore-tool may fail because they are still locking the files.

Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #10389: init-ceph stop may return before daemons are stoppedResolvedLoïc Dachary12/19/2014

Actions
Actions

Also available in: Atom PDF