After upgrade to : 2.1p26, with Distributed monitoring enabled and pushing config to slave (Activate on selected sites) I get the the following error (“not enough values to unpack”). This have workd without issues for many years before this upgrade…
2.1p26
Ubuntu 20.04 (also tried 22.04)
Error message:
Started at: 12:27:10. Finished at: 12:27:14.
Got invalid data:
Internal automation error: Error running automation call restart (exit code 1), error:
An error occurred: Error creating configuration: not enough values to unpack (expected 3, got 2)
Traceback (most recent call last):
File “/omd/sites/slave/lib/python3/cmk/gui/wato/pages/automation.py”, line 266, in _execute_automation_command
response.set_data(repr(automation.execute(automation.get_request())))
File “/omd/sites/slave/lib/python3/cmk/gui/wato/pages/activate_changes.py”, line 761, in execute
return activate_changes.execute_activate_changes(
File “/omd/sites/slave/lib/python3/cmk/gui/watolib/activate_changes.py”, line 2091, in execute_activate_changes
warnings = get_config_domain(domain_request.name)().activate(domain_request.settings)
File “/omd/sites/slave/lib/python3/cmk/gui/watolib/config_domains.py”, line 74, in activate
return {“restart”: restart, “reload”: reload,}[
File “/omd/sites/slave/lib/python3/cmk/gui/watolib/check_mk_automations.py”, line 277, in restart
_automation_serialized(“restart”, args=hosts_to_update),
File “/omd/sites/slave/lib/python3/cmk/gui/watolib/check_mk_automations.py”, line 67, in _automation_serialized
cmdline, serialized_result = check_mk_local_automation_serialized(
File “/omd/sites/slave/lib/python3/cmk/gui/watolib/automations.py”, line 134, in check_mk_local_automation_serialized
raise local_automation_failure(
cmk.utils.exceptions.MKGeneralException: Error running automation call restart (exit code 1), error:
An error occurred: Error creating configuration: not enough values to unpack (expected 3, got 2)