Project

General

Profile

Actions

Bug #47645

open

mgr: self-test fails on devicehealth module

Added by Sunny Kumar over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
devicehealth module
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

Steps to reproduce:

1. MDS=0 MGR=1 OSD=2 MON=1 ../src/vstart.sh -n -b --without-dashboard --debug
2. ./bin/ceph mgr module enable selftest
3. /bin/ceph mgr self-test module devicehealth

Output:

Error EPERM: Test failed: Remote method threw exception: Traceback (most recent call last):
File "/home/sunny/lab/ceph/src/pybind/mgr/devicehealth/module.py", line 214, in self_test
assert before != after
AssertionError

-------------
mgr.x.log
-------------
2020-09-24T14:25:21.939+0100 7f4950f5c700 0 [devicehealth ERROR root] Fail to parse JSON result from daemon mon.a ()
2020-09-24T14:25:21.939+0100 7f4950f5c700 1 -- 192.168.0.5:0/2012805582 --> [v2:192.168.0.5:6810/13776,v1:192.168.0.5:6811/13776] -- osd_op(unknown.0.0:2 1.0 1:9eeed0c4:::SAMSUNG_MZVLB256HAHQ-000L7_S41GNX3M542660:head [omap-get-vals in=16b] snapc 0=[] ondisk+read+known_if_redirected e16) v8 -- 0x558e62c99400 con 0x558e62ba3180
2020-09-24T14:25:21.940+0100 7f49714db700 1 -- 192.168.0.5:0/2012805582 <== osd.1 v2:192.168.0.5:6810/13776 2 ==== osd_op_reply(2 SAMSUNG_MZVLB256HAHQ-000L7_S41GNX3M542660 [omap-get-vals] v0'0 uv0 ondisk = -2 ((2) No such file or directory)) v8 ==== 185+0+0 (secure 0 0 0) 0x558e62d02240 con 0x558e62ba3180
2020-09-24T14:25:21.941+0100 7f4950f5c700 20 mgr ~Gil Destroying new thread state 0x558e62a6d9e0
2020-09-24T14:25:21.941+0100 7f4950f5c700 -1 Remote method threw exception: Traceback (most recent call last):
File "/home/sunny/lab/ceph/src/pybind/mgr/devicehealth/module.py", line 214, in self_test
assert before != after
AssertionError

2020-09-24T14:25:21.941+0100 7f4950f5c700 20 mgr ~Gil Destroying new thread state 0x558e62974d80
2020-09-24T14:25:21.941+0100 7f4950f5c700 -1 mgr.server reply reply (1) Operation not permitted Test failed: Remote method threw exception: Traceback (most recent call last):
File "/home/sunny/lab/ceph/src/pybind/mgr/devicehealth/module.py", line 214, in self_test
assert before != after
AssertionError

2020-09-24T14:25:21.941+0100 7f4950f5c700 1 -- [v2:192.168.0.5:6800/14559,v1:192.168.0.5:6801/14559] --> 192.168.0.5:0/314104114 -- mgr_command_reply(tid 0: -1 Test failed: Remote method threw exception: Traceback (most recent call last):
File "/home/sunny/lab/ceph/src/pybind/mgr/devicehealth/module.py", line 214, in self_test
assert before != after
AssertionError

Actions

Also available in: Atom PDF