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

Critical error after fresh install #121

Closed lnlrbr closed 7 years ago

lnlrbr commented 7 years ago

After activating alignak-modul-backend, Alignak doesn't start correctly and return: #########################

[2017-10-24 12:59:27 CEST] CRITICAL: [alignak.daemon] I got an unrecoverable error. I have to exit.
CRITICAL:alignak.daemon:I got an unrecoverable error. I have to exit.
[2017-10-24 12:59:27 CEST] CRITICAL: [alignak.daemon] You can get help at https://github.com/Alignak-monitoring/alignak CRITICAL:alignak.daemon:You can get help at https://github.com/Alignak-monitoring/alignak
[2017-10-24 12:59:27 CEST] CRITICAL: [alignak.daemon] If you think this is a bug, create a new issue including as much details as possible (version, configuration, ... CRITICAL:alignak.daemon:If you think this is a bug, create a new issue including as much details as possible (version, configuration, ...
[2017-10-24 12:59:27 CEST] CRITICAL: [alignak.daemon] -----
CRITICAL:alignak.daemon:-----
[2017-10-24 12:59:27 CEST] CRITICAL: [alignak.daemon] Back trace of the error: Traceback (most recent call last):
File "/root/git/alignak/alignak/daemons/arbiterdaemon.py", line 701, in main self.load_monitoring_config_file() File "/root/git/alignak/alignak/daemons/arbiterdaemon.py", line 334, in load_monitoring_config_file self.conf.create_objects(raw_objects) File "/root/git/alignak/alignak/objects/config.py", line 1245, in create_objects self.create_objects_for_type(raw_objects, o_type) File "/root/git/alignak/alignak/objects/config.py", line 1270, in create_objects_for_type obj = cls(obj_cfg) File "/root/git/alignak/alignak/objects/timeperiod.py", line 214, in init self.unresolved.append(key + ' ' + value) TypeError: coercing to Unicode: need string or buffer, int found

###################### timeperiod.py waits for a str but an int is returned for the key "schema_version"

mohierf commented 7 years ago

See https://github.com/Alignak-monitoring-contrib/alignak-module-backend/issues/121

ddurieux commented 7 years ago

You had referenced the same issue, inception :D