Werk #17728: omd update: Don't query target version indefinitely

Component Site management
Title omd update: Don't query target version indefinitely
Date Mar 23, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Previously, the command omd -V {version} update did not work correctly, if {version} matched the version of the site. This a user error, since the site cannot be updated if it already has the target version. In this case, omd would open the TUI and ask the user to pick a different version. This infinite loop would only stop once the user selected 'Abort'.

With this Werk, omd will immediately exit with an appropriate error message.

To the list of all Werks