Alignak-monitoring-contrib / alignak-module-backend

Alignak modules (arbiter, broker, scheduler) for the backend
GNU Affero General Public License v3.0
0 stars 2 forks source link

backend arbiter exception #132

Open mohierf opened 6 years ago

mohierf commented 6 years ago
[2017-12-07 10:26:41 CET] ERROR: [alignak.daemons.arbiterdaemon] Module backend_arbiter get_objects raised an exception u'5a290946e8a5071fe1f954a2'. Log and continue to run
[2017-12-07 10:26:41 CET] ERROR: [alignak.daemons.arbiterdaemon] Back trace of this remove: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/alignak/daemons/arbiterdaemon.py", line 580, in load_modules_configuration_objects
    objs = inst.get_objects()
  File "/usr/local/lib/python2.7/site-packages/alignak_module_backend-1.0.1-py2.7.egg/alignak_module_backend/arbiter/module.py", line 1166, in get_objects
    self.get_services()
  File "/usr/local/lib/python2.7/site-packages/alignak_module_backend-1.0.1-py2.7.egg/alignak_module_backend/arbiter/module.py", line 768, in get_services
    service['host_name'] = self.configraw['hosts'][service['host']]
KeyError: u'5a290946e8a5071fe1f954a2'
mohierf commented 6 years ago

Same problem as the one raised for the backend broker in #131