Hi @all,
yesterday i have updated our main DC to 5.0-6 errata951 and after that i upgraded opsi from 4.2 to 4.3.
The installations runs without errors but the join-script 99opsi4ucs runs into a failure.
The main DC is our opsi configserver we got several slave DCs with opsi-depots.
Here is the output of the join.log:
univention-run-join-scripts started
Do 8. Feb 11:41:12 CET 2024
univention-join-hooks: looking for hook type "join/pre-joinscripts" on srv-ucs-asl.schule.local
Found hooks:
RUNNING 99opsi4ucs.inst
2024-02-08 11:41:13.467652005+01:00 (in joinscript_init)
Running on domaincontroller_master
Testing ldap connection to srv-ucs-asl.schule.local
Found configserver: srv-ucs-asl.schule.local
Hostname in global.conf: "srv-ucs-asl.schule.local"
System information
UCS version : 5.0
UCS patchlevel : 6
UCS role : domaincontroller_master
Opsi server role : configserver
Root dn : dc=schule,dc=local
LDAP master : srv-ucs-asl.schule.local
LDAP user : cn=srv-ucs-asl,cn=dc,cn=computers,dc=schule,dc=local
Hostname : srv-ucs-asl
Domain : schule.local
FQDN : srv-ucs-asl.schule.local
IP-Address : 172.16.2.1
Netmask : 255.255.255.0
Gateway : 172.16.2.254
Subnet : 172.16.2.0
Broadcast : 172.16.2.255
Windomain : SCHULE
OPSI UCS APP : installed
Object not found: cn=opsiHostId,cn=custom attributes,cn=univention,dc=schule,dc=local
Adding system users and groups...
No modification: cn=OPSI Depot Servers,cn=groups,dc=schule,dc=local
WARNING: cannot append cn=srv-ucs-asl,cn=dc,cn=computers,dc=schule,dc=local to hosts, value exists
Adding system users and group: opsifileadmins
Checking if pcpatch group exists
Result: 0
No modification: cn=opsiadmin,cn=groups,dc=schule,dc=local
WARNING: cannot append uid=opsiconfd,cn=users,dc=schule,dc=local to users, value exists
Adding Administrator to opsiadmin
No modification: cn=opsiadmin,cn=groups,dc=schule,dc=local
WARNING: cannot append uid=Administrator,cn=users,dc=schule,dc=local to users, value exists
Adding Administrator to opsifileadmins
No modification: cn=opsifileadmins,cn=groups,dc=schule,dc=local
WARNING: cannot append uid=Administrator,cn=users,dc=schule,dc=local to users, value exists
Waiting for opsi groups to be synced:Groups are synced.Creating container for samba shares
Object exists: cn=srv-ucs-asl.schule.local,cn=shares,dc=schule,dc=local
Failed to reload smbd.service: Unit smbd.service is masked.
Failed to reload smbd.service
Waiting for samba shares
Setting samba/acl/allow/execute/always=true
Setting samba/acl/allow/execute/always
Multifile: /etc/samba/smb.conf
Setting samba4/ntacl/backend
File: /etc/samba/base.conf
Multifile: /etc/samba/smb.conf
Configuring opsi
Skip samba in opsiconfd setup
Checking security options for opsi
Setting security/packetfilter/package/opsi4ucs/tcp/4447/all
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
Setting security/packetfilter/package/opsi4ucs/udp/69/all
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
Setting security/packetfilter/package/opsi4ucs/tcp/4447/all/en
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
Setting security/packetfilter/package/opsi4ucs/udp/69/all/en
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
Setting security/packetfilter/package/opsi4ucs/tcp/3000/all
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
Setting security/packetfilter/package/opsi4ucs/tcp/3000/all/en
File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh
File: /etc/security/packetfilter.d/10_univention-firewall_start.sh
Cleanup old opsi local-Filterrules
opsi-server dpkg status: install ok installed
opsiconfd dpkg status install ok installed
Check for opsi fileadmingroup:OK
Running opsiconfd setup...
Traceback (most recent call last):
File "run-opsiconfd.py", line 10, in <module>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
File "opsiconfd/__main__.py", line 11, in <module>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
File "opsiconfd/main.py", line 33, in <module>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
File "opsiconfd/application/__init__.py", line 31, in <module>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
File "opsiconfd/config.py", line 1436, in <module>
File "opsiconfd/utils.py", line 78, in __call__
File "opsiconfd/config.py", line 259, in __init__
File "opsiconfd/config.py", line 298, in _set_args
File "opsiconfd/config.py", line 319, in _parse_args
File "opsiconfd/config.py", line 370, in _update_config
File "urllib/parse.py", line 395, in urlparse
File "urllib/parse.py", line 500, in urlsplit
File "urllib/parse.py", line 446, in _check_bracketed_host
File "ipaddress.py", line 54, in ip_addressss
ValueError: 'samba' does not appear to be an IPv4 or IPv6 address
EXITCODE=1
3bf3f2aa-bde1-4576-b2c9-a60254541185
univention-join-hooks: looking for hook type "join/post-joinscripts" on srv-ucs-asl.schule.local
Found hooks:
I cant find out where the script get “samba” as an IP.