ZeroDivisionError when running ceph osd status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings!

I had an OSD down, so I ran ceph osd status and got this:

[root@ceph1 ~]# ceph osd status
Error EINVAL: Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/status/module.py", line 313, in handle_command
    return self.handle_osd_status(cmd)
  File "/usr/lib64/ceph/mgr/status/module.py", line 297, in
handle_osd_status
    self.format_dimless(self.get_rate("osd", osd_id.__str__(), "osd.op_w") +
  File "/usr/lib64/ceph/mgr/status/module.py", line 113, in get_rate
    return (data[-1][1] - data[-2][1]) / float(data[-1][0] - data[-2][0])
ZeroDivisionError: float division by zero
[root@ceph1 ~]#

I could still figure out which OSD it was with systemctl, put I had to
purge the OSD before ceph osd status would run again. Is this normal
behaviour?

Cordially yours,
Benjamin


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux