Werk #19008 · Apr 2, 26
Fix license enforcement aborting site update and leaving site broken
This fixes an issue only affecting users of the Checkmk 2.5 beta.
Previously, running omd update with the deprecated --conflict=keepold flag on an
unlicensed site (e.g. CEE 2.4 to PRO 2.5) could leave the site in a broken, unstartable
state. The license enforcement check would unconditionally abort the configuration migration
at step 08/11, but by that point skeleton files and the version symlink had already been
modified. The message "Your site has not been modified" was misleading.
The license enforcement pre-action now respects the conflict resolution mode, consistent with
all other pre-update actions. In force mode (used by the post-update script), the update
continues instead of aborting with a half-migrated site. In ask mode, the user is prompted
to decide whether to continue or abort. In abort mode, the update is stopped as before.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- OMD
- Versions:
- 3.0.0b1Not yet releasedProUltimateUltimate + MTCloud
- 2.5.0b4ProUltimateUltimate + MTCloud