We are running masakari with consul, but we are getting the below
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager [-] Exception when host-monitor by consul: 'NoneType' object has no attribute 'get_health': AttributeError: 'NoneType' object has no attribute 'get_health'
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager Traceback (most recent call last):
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/masakarimonitors/hostmonitor/consul_check/manager.py", line 188, in monitor_hosts
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager self.update_monitoring_data()
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/masakarimonitors/hostmonitor/consul_check/manager.py", line 107, in update_monitoring_data
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager cluster_health = self.consul_manager.get_health(self.sequence)
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/masakarimonitors/hostmonitor/consul_check/consul_helper.py", line 75, in get_health
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager agent_health = consul_agent.get_health()
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager AttributeError: 'NoneType' object has no attribute 'get_health'
2024-03-21 13:39:30.097 7 ERROR masakarimonitors.hostmonitor.consul_check.manager
consul is configure correctly and working
masakari has been configured to use consul
Regards