Agent Baking Failing

We are unable to bake or sign any agents at this point. I have disabled automatic agent updates a while ago but it says it is active.

**CMK version: Version: 2.0.0p23, Edition: cee
**OS version: centos-release-7-9.2009.1.el7.centos.x86_64

Error creating agent for GENERIC: Error in bakery plugin “cmk_update_agent” (“files” section): You have activated automatic agent updates but no signature keys are defined

Exception: Error running automation call bake-agents (exit code 2), error: 

Error creating agent for GENERIC: Error in bakery plugin "cmk_update_agent" ("files" section): You have activated automatic agent updates but no signature keys are defined

Traceback (most recent call last):
  File "/omd/sites/servermon/lib/python3/cmk/base/cee/bakery/agent_bakery.py", line 338, in _collect_bakelet_objects
    objects += function(**func_args)
  File "/omd/sites/servermon/lib/python3/cmk/base/cee/bakery/core_bakelets/agent_updater.py", line 97, in get_cmk_update_agent_files
    raise MKGeneralException(
cmk.utils.exceptions.MKGeneralException: You have activated automatic agent updates but no signature keys are defined
.
Error creating agent for FirstStar-12AD01: Error in bakery plugin "cmk_update_agent" ("files" section): You have activated automatic agent updates but no signature keys are defined

Traceback (most recent call last):
  File "/omd/sites/servermon/lib/python3/cmk/base/cee/bakery/agent_bakery.py", line 338, in _collect_bakelet_objects
    objects += function(**func_args)
  File "/omd/sites/servermon/lib/python3/cmk/base/cee/bakery/core_bakelets/agent_updater.py", line 97, in get_cmk_update_agent_files
    raise MKGeneralException(
cmk.utils.exceptions.MKGeneralException: You have activated automatic agent updates but no signature keys are defined
.

How did you disable the automatic agent updates? Just with its master switch or did you disable the updater plugin rules also?

I turned off the master switch. I am not sure about updater plugin rules. Not sure where to find that.

Before creating the agent updater plugin configuration you need to create keys for the package signatures.

Please read Automatic agent updates - Distribute agents and plug-ins automatically and follow the steps therein.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.