Unhandled exception from module 'devicehealth' while running on mgr.al111: 'NoneType' object has no attribute 'get'

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

 



Hi,

ceph -s reports an error in the ceph-mgr process.

Looking at the logfile I see:

Jun 30 16:07:09 al111 bash[171790]: debug 2021-06-30T14:07:09.939+0000 7f2a31d64700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'devicehealth' while running on mgr.al111: 'NoneType' object has no attribute 'get'
Jun 30 16:07:09 al111 bash[171790]: debug 2021-06-30T14:07:09.939+0000 7f2a31d64700 -1 devicehealth.serve:
Jun 30 16:07:09 al111 bash[171790]: debug 2021-06-30T14:07:09.939+0000 7f2a31d64700 -1 Traceback (most recent call last):
Jun 30 16:07:09 al111 bash[171790]:   File "/usr/share/ceph/mgr/devicehealth/module.py", line 330, in serve
Jun 30 16:07:09 al111 bash[171790]:     self.scrape_all()
Jun 30 16:07:09 al111 bash[171790]:   File "/usr/share/ceph/mgr/devicehealth/module.py", line 390, in scrape_all
Jun 30 16:07:09 al111 bash[171790]:     self.put_device_metrics(ioctx, device, data)
Jun 30 16:07:09 al111 bash[171790]:   File "/usr/share/ceph/mgr/devicehealth/module.py", line 477, in put_device_metrics
Jun 30 16:07:09 al111 bash[171790]:     wear_level = get_ata_wear_level(data)
Jun 30 16:07:09 al111 bash[171790]:   File "/usr/share/ceph/mgr/devicehealth/module.py", line 33, in get_ata_wear_level
Jun 30 16:07:09 al111 bash[171790]:     if page.get("number") != 7:
Jun 30 16:07:09 al111 bash[171790]: AttributeError: 'NoneType' object has no attribute 'get'

This is a containerized Ceph 16.4.2.

What is happening here?

Regards
-- 
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[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