Hallo,
habe mich heute mal an das Upgrade von cee 1.5.0p23 auf 1.6.0p9 (auf Debian 9) gewagt.
Bis jetzt gibt es nur bei der Agent Bakery Probleme.
Bekomme da beim erstellen der Agenten diese Meldungen:
Exception: Error running automation call bake-agents (exit code 2), error:
Error creating agent for xxxxxxAPP01: Error creating agents: Error creating d9eeb43c1a792768/linux_rpm agent for xxxxxxAPP01: Error in bakery plugin “check_docker”: ‘module’ object has no attribute ‘paths’
Traceback (most recent call last):
File “/omd/sites/mwg/lib/python/cmk_base/cee/agent_bakery.py”, line 364, in execute_bakery_plugin
bake_func(*func_args)
File “/omd/sites/mwg/local/share/check_mk/agents/bakery/check_docker”, line 16, in bake_docker
source_dir = cmk.paths.local_agents_dir
AttributeError: ‘module’ object has no attribute ‘paths’
.
Error creating d9eeb43c1a792768/linux_deb agent for xxxxxxAPP01: Error in bakery plugin “check_docker”: ‘module’ object has no attribute ‘paths’
Traceback (most recent call last):
File “/omd/sites/mwg/lib/python/cmk_base/cee/agent_bakery.py”, line 364, in execute_bakery_plugin
bake_func(*func_args)
File “/omd/sites/mwg/local/share/check_mk/agents/bakery/check_docker”, line 16, in bake_docker
source_dir = cmk.paths.local_agents_dir
AttributeError: ‘module’ object has no attribute ‘paths’
Error creating agent for xxxxxxAPP03: Error creating agents: Error creating 06b6e09612eb1c7c/linux_rpm agent for xxxxxxAPP03: Error in bakery plugin “sslcertificates”: ‘module’ object has no attribute ‘paths’
Traceback (most recent call last):
File “/omd/sites/mwg/lib/python/cmk_base/cee/agent_bakery.py”, line 364, in execute_bakery_plugin
bake_func(*func_args)
File “/omd/sites/mwg/local/share/check_mk/agents/bakery/sslcertificates”, line 6, in bake_sslcertificates
shutil.copy2(cmk.paths.local_agents_dir + "/plugins/sslcertificates", plugins_dir + "/sslcertificates")
AttributeError: ‘module’ object has no attribute ‘paths’
Und noch weitere Meldungen die den oben gleichen.
Hat jemand das auch schon gehabt? Wie kann man das beheben?
Beste Grüße,
Oliver