Actions
Bug #44500
closedceph-objectstore-tool error on apply-layout-settings+bluestore
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
2020-03-07T03:29:24.584 INFO:teuthology.orchestra.run.smithi025:> CEPH_ARGS='--filestore-merge-threshold 1 --filestore-split-multiple 1' sudo -E ceph-objectstore-tool --no-mon-config --log-file=/var/log/ceph/objectstore_tool.$pid.log --data-path /var/lib/ceph/osd/ceph-1 --journal-path /var/lib/ceph/osd/ceph-1/journal --op apply-layout-settings --pool device_health_metrics ... 2020-03-07T03:29:25.455 INFO:teuthology.orchestra.run.smithi025.stderr:Nothing to do for non-filestore backend ... 2020-03-07T03:29:25.999 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage2-testing-2020-03-06-1128/qa/tasks/ceph_manager.py", line 123, in wrapper return func(self) File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage2-testing-2020-03-06-1128/qa/tasks/ceph_manager.py", line 1205, in _do_thrash self.choose_action()() File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage2-testing-2020-03-06-1128/qa/tasks/ceph_manager.py", line 461, in kill_osd " failed with {status}".format(status=proc.exitstatus)) Exception: ceph-objectstore-tool apply-layout-settings failed with 10
/a/sage-2020-03-06_21:03:21-rados-wip-sage2-testing-2020-03-06-1128-distro-basic-smithi/4832203
the relevant code is
if (!fs) { cerr << "Nothing to do for non-filestore backend" << std::endl; return 0; // making this return success makes testing easier }
not sure where the 10 came from! during shutdown there is this,
int r = fs->umount(); if (r < 0) { cerr << "umount failed: " << cpp_strerror(r) << std::endl; // If no previous error, then use umount() error if (ret == 0) ret = r; }
but the tool log shows a successful shutdown (copied to archive dir)
Actions