Werk #14608: Agent Bakery: Stabilize bake & sign

Component The Checkmk Micro Core
Title Agent Bakery: Stabilize bake & sign
Date Aug 10, 2022
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.2.0i1 2.1.0p10 2.0.0p28
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In some situations, it could happen that some agent packages are signed with an invalid signature after baking/signing with "Bake and sign agents" action.
The cause for this was that the signature of pre-existing packages sometimes wouldn't get updated if the package had to be repackaged for a bakery revision update.

This resulted in the agent updater being unable to update affected hosts and exiting with message signature #n is invalid, and the matching Check_MK service showing a WARN state.

Signatures will be fixed and updates will continue to work after first bake&sign action after applying this Werk.

To the list of all Werks