Project

General

Profile

Actions

Bug #36604

closed

osd-bluefs-volume-ops.sh test hangs

Added by David Zafman over 5 years ago. Updated over 5 years ago.

Status:
Rejected
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

I ran this in my build tree as follows:

cd build
../qa/run-standalone.sh osd-bluefs-volume-ops.sh
...
../qa/standalone/osd/osd-bluefs-volume-ops.sh:87: TEST_bluestore:  kill 67496
../qa/standalone/osd/osd-bluefs-volume-ops.sh:87: TEST_bluestore:  sleep 1
../qa/standalone/osd/osd-bluefs-volume-ops.sh:87: TEST_bluestore:  kill 67496
../qa/standalone/osd/osd-bluefs-volume-ops.sh:87: TEST_bluestore:  sleep 1
../qa/standalone/osd/osd-bluefs-volume-ops.sh:87: TEST_bluestore:  kill 67496
../qa/standalone/osd/osd-bluefs-volume-ops.sh: line 87: kill: (67496) - No such process
../qa/standalone/osd/osd-bluefs-volume-ops.sh:88: TEST_bluestore:  ceph osd down 3
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
marked down osd.3.
../qa/standalone/osd/osd-bluefs-volume-ops.sh:91: TEST_bluestore:  ceph-objectstore-tool --type bluestore --data-path td/osd-bluefs-volume-ops/0 --op fsck --no-mon-config
fsck found no errors
../qa/standalone/osd/osd-bluefs-volume-ops.sh:94: TEST_bluestore:  ceph-bluestore-tool --path td/osd-bluefs-volume-ops/0 bluefs-bdev-sizes
inferring bluefs devices from bluestore path
HANG

I sent a termination to the ceph-bluestore-tool command.

I see a ceph-mon so I don't know why the previous command used --no-mon-connfig

../qa/standalone/osd/osd-bluefs-volume-ops.sh: line 52: 68109 Terminated              ceph-bluestore-tool --path $dir/0 bluefs-bdev-sizes
../qa/standalone/osd/osd-bluefs-volume-ops.sh:96: TEST_bluestore:  ceph-bluestore-tool --path td/osd-bluefs-volume-ops/0 --devs-source td/osd-bluefs-volume-ops/0/block.wal --dev-target td/osd-bluefs-volume-ops/0/block.db --command bluefs-bdev-migrate
too many positional options have been specified on the command line

The line 96 command also seems is failing after I terminate the hung command on line 94.

Actions #1

Updated by David Zafman over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Igor Fedotov over 5 years ago

David,
did you do make install for the new code base? Looks like the script runs legacy ceph-bluestore-tool..

Actions #3

Updated by David Zafman over 5 years ago

  • Status changed from New to Rejected

I ran cmake again and make then rebuilt the ceph-bluestore-tool and this problem went away.

Actions

Also available in: Atom PDF