Ubuntu does not have a /var/log/messages by default anymore, it needs to check /var/log/syslog
[2017-10-25 16:17:30.438798] E [main:191:main] <top>: Report failure report=report_gluster_hung_task
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/glusterhealth/main.py", line 188, in main
func(context)
File "/usr/local/lib/python2.7/dist-packages/glusterhealth/reports/kernel_issues.py", line 23, in report_gluster_hung_task
with open("/var/log/messages","r") as fp:
IOError: [Errno 2] No such file or directory: '/var/log/messages'
[2017-10-25 16:17:30.438949] I [main:198:main] <top>: Finished execution of report function report=kernel_issues duration_sec=0 type=python func=report_gluster_hung_task
[2017-10-25 16:17:30.439003] I [main:181:main] <top>: Running report report=kernel_issues type=python func=report_kernel_issues
[2017-10-25 16:17:30.439060] E [utils:160:output_error] <top>: [ ERROR] Report failure report=report_kernel_issues
[2017-10-25 16:17:30.439129] E [main:191:main] <top>: Report failure report=report_kernel_issues
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/glusterhealth/main.py", line 188, in main
func(context)
File "/usr/local/lib/python2.7/dist-packages/glusterhealth/reports/kernel_issues.py", line 10, in report_kernel_issues
with open("/var/log/messages", "r") as fp:
IOError: [Errno 2] No such file or directory: '/var/log/messages'
Ubuntu does not have a
/var/log/messages
by default anymore, it needs to check/var/log/syslog