Bug #59068
openceph fs status throws AssertionError
0%
Description
Hello, we have many 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757) quincy (stable) clusters and on some of them we are observing following error:
PROD [root@mon01-ceph-drc:~] # ceph fs status
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1757, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 462, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/status/module.py", line 109, in handle_fs_status
assert metadata
AssertionError
We are parsing output of JSON version of status command as pre-update checks and as we are updating underlying OS right now we noticed this problem on about 3 out of 40 CEPH clusters, for this reason I can't tell you for how long this issue persists, might be in this state for months. Is there anything we can do to debug the culprit?