Der Opsi server liefert die pxelinux.0 Datei per TFTP an den PXE boot client aus
jedoch scheint es dann nicht zu einem weiteren Bootvorgang zu kommen.
Die Named Pipe Datei die beim setup des Netboot Produktes angelegt wird hat leider Nullbyte und
enthält keine weiteren informationen.
Reinstall des opsi-tftpd-hpa und des opsi-linux-bootimage Paketes mit anschließemdem restart sowie
das neue setzen von Berechtigungen mit opsi-setup --set-rights hat an diesem Nullbyte verhalten nichts geändert.
Was kann ich tun damit damit die Named Pipe Dateien mit den erforderlichen Bootkomandos geschrieben werden?
Danke und Grüße
sunnysky
ls -lart /tftpboot/linux/pxelinux.cfg/
total 2212
-rw-rw-r-- 1 opsiconfd opsifileadmins 60 Aug 11 2015 memtest86
-rw-rw-r-- 1 opsiconfd opsifileadmins 1191448 Feb 17 06:23 shimx64.efi.signed
-rw-rw-r-- 1 opsiconfd opsifileadmins 759272 Feb 17 06:23 grubx64.efi
-rw-rw-r-- 1 opsiconfd opsifileadmins 236130 Feb 17 06:23 elilo.efi
drwxrwxr-x 3 opsiconfd opsifileadmins 4096 Mar 5 19:50 ..
-rw-rw-r-- 1 opsiconfd opsifileadmins 178 Mar 5 19:50 install-x64.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 178 Mar 5 19:50 install-x64
-rw-rw-r-- 1 opsiconfd opsifileadmins 238 Mar 5 19:50 install-grub-x64.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 238 Mar 5 19:50 install-grub-x64
-rw-rw-r-- 1 opsiconfd opsifileadmins 198 Mar 5 19:50 install-elilo-x64.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 198 Mar 5 19:50 install-elilo-x64
-rw-rw-r-- 1 opsiconfd opsifileadmins 299 Mar 5 19:50 install3264.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 299 Mar 5 19:50 install3264
-rw-rw-r-- 1 opsiconfd opsifileadmins 34 Mar 5 19:50 default.nomenu.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 34 Mar 5 19:50 default.nomenu
-rw-rw-r-- 1 opsiconfd opsifileadmins 665 Mar 5 19:50 default.menu.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 665 Mar 5 19:50 default.menu
-rw-rw-r-- 1 opsiconfd opsifileadmins 665 Mar 5 19:50 default
-rw-rw-r-- 1 opsiconfd opsifileadmins 43 Mar 5 19:50 elilo.conf.opsi
-rw-rw-r-- 1 opsiconfd opsifileadmins 43 Mar 5 19:50 elilo.conf
prw-r--r-- 1 root root 0 Mar 5 19:52 01-00-e0-4c-68-00-1f
prw-r--r-- 1 root root 0 Mar 5 19:52 01-a8-7e-ea-33-87-7c
prw-r--r-- 1 root root 0 Mar 5 19:52 01-a0-ce-c8-d7-b1-54
drwxrwxr-x 2 opsiconfd opsifileadmins 4096 Mar 5 19:52 .
tail -f opsi/opsipxeconfd.log
[5] [2022-03-05 21:01:23.071] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:231)
[6] [2022-03-05 21:01:23.071] [Opsipxeconfd ] Creating thread for connection 1 (opsipxeconfd.py:234)
[7] [2022-03-05 21:01:23.072] [ ] Receiving data... (util.py:195)
[6] [2022-03-05 21:01:23.072] [ ] Got command 'update test002.xxx.com /var/run/opsipxeconfd/test002.xxx.com.json' (util.py:200)
[6] [2022-03-05 21:01:23.073] [ ] Updating PXE boot configuration for host 'test002.xxx.com' (opsipxeconfd.py:478)
[7] [2022-03-05 21:01:23.073] [ ] Removing 0 existing config writers for 'test002.xxx.com' (opsipxeconfd.py:662)
[7] [2022-03-05 21:01:23.074] [Opsipxeconfd ] Connection Thread-13 started. (opsipxeconfd.py:240)
[7] [2022-03-05 21:01:23.074] [ ] Reading data from /var/run/opsipxeconfd/test002.xxx.com.json (opsipxeconfd.py:694)
[7] [2022-03-05 21:01:23.076] [ ] Cached data read for test002.xxx.com: '{'backendInfo': {'opsiVersion': '4.2.0.265', 'modules': {'valid': False}, 'realmodules': {}, 'hostCount': 3}, 'host': <OpsiClient(id='test002.xxx.com')>, 'productOnClient': <ProductOnClient(clientId='test002.xxx.com', productId='hwinvent', installationStatus='not_installed', actionRequest='setup')>, 'depotId': 'opsi2022.xxx.com', 'productOnDepot': <ProductOnDepot(productId='hwinvent', productType='NetbootProduct', productVersion='4.1.0.1', packageVersion='3', depotId='opsi2022.xxx.com')>, 'elilo': None, 'serviceAddress': '
https://192.168.0.110:4447/rpc', 'product': <NetbootProduct(id='hwinvent', name=None, productVersion='4.1.0.1', packageVersion='3')>, 'bootimageAppend': <ConfigState(configId='opsi-linux-bootimage.append', objectId='test002.xxx.com', values=[])>, 'productPropertyStates': {'architecture': '64bit', 'askbeforeinst': 'False'}}' (opsipxeconfd.py:484)
[5] [2022-03-05 21:01:23.076] [ ] Special pxe config template 'install3264' will be used used for host 'test002.xxx.com', product 'hwinvent' (opsipxeconfd.py:786)
[7] [2022-03-05 21:01:23.076] [ ] pxeConfigTemplate is not an absolute path. (opsipxeconfd.py:796)
[7] [2022-03-05 21:01:23.077] [ ] pxeConfigTemplate changed to /tftpboot/linux/pxelinux.cfg/install3264 (opsipxeconfd.py:798)
[7] [2022-03-05 21:01:23.077] [ ] Using pxe config template '/tftpboot/linux/pxelinux.cfg/install3264' (opsipxeconfd.py:552)
[7] [2022-03-05 21:01:23.077] [ ] Got hardware address 'a0:ce:c8:d7:b1:54' for host 'test002.xxx.com' (opsipxeconfd.py:845)
[6] [2022-03-05 21:01:23.078] [ ] Creating thread for pxeconfig 3 (opsipxeconfd.py:614)
[7] [2022-03-05 21:01:23.078] [ ] ExtendedBackend <BackendManager()>: executing backend_getLicensingInfo on backend <BackendExtender()> (Extended.py:120)
[7] [2022-03-05 21:01:23.078] [ ] ExtendedBackend <BackendExtender()>: executing backend_getLicensingInfo on backend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)> (Extended.py:120)
[7] [2022-03-05 21:01:23.078] [ ] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)>: executing backend_getLicensingInfo on backend <HostControlBackend(resolveHostAddress=False, maxConnections=50)> (Extended.py:120)
[7] [2022-03-05 21:01:23.078] [ ] ExtendedBackend <HostControlBackend(resolveHostAddress=False, maxConnections=50)>: executing backend_getLicensingInfo on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)> (Extended.py:120)
[7] [2022-03-05 21:01:23.079] [ ] ExtendedBackend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)>: executing backend_getLicensingInfo on backend <BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Extended.py:120)
[7] [2022-03-05 21:01:23.079] [ ] Dispatching method backend_getLicensingInfo to backends: ['file', 'mysql', 'dhcpd'] (Dispatcher.py:192)
[8] [2022-03-05 21:01:23.079] [ ] Finished dispatching method backend_getLicensingInfo (Dispatcher.py:210)
[7] [2022-03-05 21:01:23.080] [ ] Got licensing info from service: {'client_numbers': {'macos': 0, 'linux': 0, 'windows': 3, 'all': 3}, 'available_modules': ['treeview', 'vista'], 'licenses_checksum': '0'} (opsipxeconfd.py:452)
[6] [2022-03-05 21:01:23.080] [ ] uefi module is disabled, secureboot module is disabled (opsipxeconfd.py:457)
[6] [2022-03-05 21:01:23.080] [ ] PXEConfigWriter initializing: templatefile '/tftpboot/linux/pxelinux.cfg/install3264', pxefile '/tftpboot/linux/pxelinux.cfg/01-a0-ce-c8-d7-b1-54', hostId 'test002.xxx.com', append {'pckey': '***secret***', 'hn': 'test002', 'dn': 'xxx.com', 'product': 'hwinvent', 'service': '
https://192.168.0.110:4447/rpc'} (pxeconfigwriter.py:78)
[7] [2022-03-05 21:01:23.080] [ ] Reading template '/tftpboot/linux/pxelinux.cfg/install3264' (pxeconfigwriter.py:111)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.080] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'architecture': value: '64bit' (pxeconfigwriter.py:121)
[8] [2022-03-05 21:01:23.081] [ ] Property: 'askbeforeinst': value: 'False' (pxeconfigwriter.py:121)
[5] [2022-03-05 21:01:23.081] [ ] PXE boot configuration for host test002.xxx.com is now set at '/tftpboot/linux/pxelinux.cfg/01-a0-ce-c8-d7-b1-54' (opsipxeconfd.py:630)
[6] [2022-03-05 21:01:23.081] [ ] Returning result 'Boot configuration updated' (util.py:203)
[6] [2022-03-05 21:01:23.081] [ ] ClientConnection Thread-13 finished (took 0.009 seconds) (opsipxeconfd.py:286)
[7] [2022-03-05 21:01:23.081] [ ] ClientConnection 'Thread-13' removed (opsipxeconfd.py:298)
Hier endet der Log Eintrag, die Erstellung von Pipe Informationen wird hier nicht mehr angezeigt.