[Check_mk (deutsch)] Agent Backery Problem nach Upgrade von 1.5.0p23 auf 1.6.0p9

Hallo,

ich hatte das auch. Bei mir waren das alte, inkompatible bzw. jetzt überflüssige (apt, ceph) Plugins. Nach dem ich die per WATO gelöscht hatte war das Problem weg.

Matthias

···

-----Ursprüngliche Nachricht-----

Von: Ramstedt, Oliver (FRA-FED) <oliver.ramstedt@interpublic.com>
Gesendet: Mittwoch 13 November 2019 12:37
An: checkmk-de@lists.mathias-kettner.de
Betreff: [Check_mk (deutsch)] Agent Backery Problem nach Upgrade von 1.5.0p23 auf 1.6.0p9

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
This message contains information which may be confidential and privileged.
Unless you are the intended recipient (or authorized to receive this message
for the intended recipient), you may not use, copy, disseminate or disclose
to anyone the message or any information contained in the message. If you
have received the message in error, please advise the sender by reply e-mail,
and delete the message. Thank you very much.

This topic was automatically closed after 58 days. New replies are no longer allowed.