Bug #53538
Updated by Sebastian Wagner over 2 years ago
<pre> root@service-01-08020:~# ceph osd status storage-01-08002 Error EINVAL: Traceback (most recent call last): File "/usr/share/ceph/mgr/mgr_module.py", line 1623, in _handle_command return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf) File "/usr/share/ceph/mgr/mgr_module.py", line 416, in call return self.func(mgr, **kwargs) File "/usr/share/ceph/mgr/status/module.py", line 338, in handle_osd_status wr_ops_rate = (self.get_rate("osd", osd_id.__str__(), "osd.op_w") + File "/usr/share/ceph/mgr/status/module.py", line 28, in get_rate return (data[-1][1] - data[-2][1]) // int(data[-1][0] - data[-2][0]) ZeroDivisionError: integer division or modulo by zero </pre> Since those PRs: * https://github.com/ceph/ceph/pull/25337 * https://github.com/ceph/ceph/pull/26270 * https://github.com/ceph/ceph/pull/26270/files#diff-dc6485f717f4dce4863733896375af75963412ebb2abc4b62fcd1f5233eee07dR44 * https://github.com/ceph/ceph/pull/28603 * https://tracker.ceph.com/issues/43224#note-11 no one had the patience to look into this all over again.