Seite 1 von 1

opsiconfd.service fails after update

Verfasst: 23 Feb 2026, 09:02
von siil-itman
Just applied the update for opsiconfd to v4.3.49.7-1
After the update the service fails on startup

Code: Alles auswählen

Feb 23 10:53:48 systemd[1]: opsiconfd.service: Main process exited, code=exited, status=1/FAILURE
Feb 23 10:53:47 opsi.siil.com.qa opsiconfd[633098]: NameError: name 'hybrid' is not defined
Feb 23 10:53:47 opsi.siil.com.qa opsiconfd[633098]:   File "<string>", line 10, in <module>
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/backend/rpc/__init__.py", line 254, in read_backend_config_file
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/backend/rpc/host_control.py", line 162, in _read_host_control_config_file
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/backend/rpc/host_control.py", line 157, in __init__
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/backend/rpc/main.py", line 198, in __init__
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/backend/__init__.py", line 51, in get_unprotected_backend
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/manager.py", line 331, in __init__
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/utils/__init__.py", line 117, in __call__
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/main/opsiconfd.py", line 123, in opsiconfd_main
Feb 23 10:53:47 opsiconfd[633098]:   File "opsiconfd/main/__init__.py", line 76, in main
Is there something we can do to fix this?

Re: opsiconfd.service fails after update

Verfasst: 23 Feb 2026, 09:12
von j.schneider
You have a syntax error in the configuration file "/etc/opsi/backends/hostcontrol.conf".
Seems like you are using:

Code: Alles auswählen

"useMessagebus":      hybrid,
This should be:

Code: Alles auswählen

"useMessagebus":      "hybrid",
The default and recommended setting is:

Code: Alles auswählen

"useMessagebus":      True,

Re: opsiconfd.service fails after update

Verfasst: 23 Feb 2026, 10:10
von siil-itman
Thank you, that fixed it.