2.4.0p7.cce to 2.4.0p13.cce:
SLES 15 sp6
During an update from 2.4.0p7.cce to 2.4.0p13.cce a few of the installed extensions were affected by Werk #17201 and were disabled, but cmk-update-config --conflict ask --dry-run is still failing to run, see the below messages. I’m not sure what needs to be done to complete updating the config at this point, but the site does appear to be running fine when I start it.
Any assistance is appreciated…thanks!
Error message:
Executing 'cmk-update-config --conflict ask --dry-run'
-| ATTENTION
-| Some steps may take a long time depending on your installation.
-| Please be patient.
-|
-| Cleanup precompiled host and folder files
-| Verifying Checkmk configuration...
-| 01/11 Legacy check plug-ins...
-| 02/11 Rulesets...
-| 03/11 UI extensions...
-| 04/11 Migrate Azure Databases...
-| 05/11 Agent based plugins...
-| Obsolete file: '/omd/sites/monitoring/local/lib/check_mk/base/plugins/agent_based/cisco_meraki_org_device_info.py'
-| Obsolete file: '/omd/sites/monitoring/local/lib/check_mk/base/plugins/agent_based/cisco_meraki_org_device_status.py'
-| Obsolete file: '/omd/sites/monitoring/local/lib/check_mk/base/plugins/agent_based/cisco_meraki_org_licenses_overview.py'
-| The file(s) residing in `local/lib/check_mk/plugins/agent_based` will no longer be loaded in Checkmk 2.4.
-| See: https://checkmk.com/werk/17201
-| The above file(s) are part of the extension package cisco_meraki 1.4.9-20250624.
-| You can abort the update process (A) or disable the extension package (d) and continue the update process.
-| Abort the update process? [A/d]
d
-| Disabled extension package: cisco_meraki 1.4.9-20250624
-| Obsolete file: '/omd/sites/monitoring/local/lib/check_mk/base/plugins/agent_based/lnx_if.py'
-| The file(s) residing in `local/lib/check_mk/plugins/agent_based` will no longer be loaded in Checkmk 2.4.
-| See: https://checkmk.com/werk/17201
-| The above file(s) are part of the extension package inv_lnx_if_ip 0.0.5-20250601.
-| You can abort the update process (A) or disable the extension package (d) and continue the update process.
-| Abort the update process? [A/d]
d
-| Disabled extension package: inv_lnx_if_ip 0.0.5-20250601
-| Obsolete file: '/omd/sites/monitoring/local/lib/check_mk/base/plugins/agent_based/inventory_win_networkadapter.py'
-| The file(s) residing in `local/lib/check_mk/plugins/agent_based` will no longer be loaded in Checkmk 2.4.
-| See: https://checkmk.com/werk/17201
-| The above file(s) are part of the extension package inv_win_if_ip 0.0.6-20250601.
-| You can abort the update process (A) or disable the extension package (d) and continue the update process.
-| Abort the update process? [A/d]
d
-| Disabled extension package: inv_win_if_ip 0.0.6-20250601
-| 06/11 Autochecks...
-| 07/11 Invalid hosts labels...
-| 08/11 Forecast graphs...
-| 09/11 Custom graphs...
-| 10/11 Graph collections...
-| 11/11 Deprecated .mk configuration of plugins...
-| Done (success)
-|
Executing update-pre-hooks script "02_cmk-update-config"...
-| ATTENTION
-| Some steps may take a long time depending on your installation.
-| Please be patient.
-|
-| Cleanup precompiled host and folder files
-| Verifying Checkmk configuration...
-| 01/11 Legacy check plug-ins...
-| 02/11 Rulesets...
-| Traceback (most recent call last):
-| File "/omd/sites/monitoring/lib/python3/cmk/update_config/main.py", line 104, in main_check_config
-| check_config(logger, conflict)
-| File "/omd/sites/monitoring/lib/python3/cmk/update_config/main.py", line 244, in check_config
-| pre_action(logger, conflict_mode)
-| File "/omd/sites/monitoring/lib/python3/cmk/update_config/plugins/pre_actions/rulesets.py", line 50, in __call__
-| result = _validate_rule_values(
-| ^^^^^^^^^^^^^^^^^^^^^^
-| File "/omd/sites/monitoring/lib/python3/cmk/update_config/plugins/pre_actions/rulesets.py", line 134, in _validate_rule_values
-| transformed_value = ruleset.rulespec.valuespec.transform_value(rule.value)
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| File "/omd/sites/monitoring/lib/python3/cmk/gui/valuespec/definitions.py", line 6704, in transform_value
-| return self.from_valuespec(self._valuespec.transform_value(self.to_valuespec(value)))
-| ^^^^^^^^^^^^^^^^^^^^^^^^
-| File "/omd/sites/monitoring/lib/python3/cmk/gui/utils/rule_specs/legacy_converter.py", line 1203, in _forth
-| return _pack_dict_groups(
-| ^^^^^^^^^^^^^^^^^^
-| File "/omd/sites/monitoring/lib/python3/cmk/gui/utils/rule_specs/legacy_converter.py", line 1174, in _pack_dict_groups
-| (nested_form := dict_elements[key_to_pack].parameter_form),
-| ~~~~~~~~~~~~~^^^^^^^^^^^^^
-| KeyError: 'excluded_sections'
-|
-| Update aborted with Error: 'excluded_sections'.
-| Your site has not been modified.
-| The update can be retried after the error has been fixed.
ERROR (exit code: 1)
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)