ich habe ein Problem mit dem Deployment per pxe und elilo
Hintergrund:
Der Opsi Server hängt in einem Netz (i08) und in diesem Netz kann ich die Clients per pxe installieren
Zusätzlich wird durch eine Firewall frei Schaltung noch ein anderes Vlan (i18) mit dem Opsi Server betankt. Hat auch alles soweit funktioniert. Beide netzte konnten vom OpsiServer im vollen Umfang genutzt werden.
Wir hatten eine Domänen Abkündigung weshalb ich den Opsi Server mit diesem Befehl umbenannt
Code: Alles auswählen
opsi-admin -d method host_renameOpsiDepotserver alter_Server neuer_Server
Alle Config files Überprüft und Opsi Client Agent neu installiert
Soweit hat auch alles funktioniert. Pakete können ausgerollt werden usw.
Bis ich gestern eine Neu-Installation von einem Client machen wollte.
Clients die im selben netz (Vlan) hängen wie der Opsi-Server laufen ganz normal durch
Clients die in einem anderen Netz (Vlan) wie der Opsi-Server bleiben hängen nachdem sie sich den Kernel und das Miniroot-x64 gezogen haben
(Bild füge ich mal hinzu) Unsere Netzabteilung sagt das an den Firewall Ports nicht geändert wurde
Und die sehen ach nicht mehr wie ich in meiner /var/log/opsi/opsipxeconfd.log
Weil der Client danach auch aufhängt und nicht mal ein ping geht.
Man muss ihn hart auschalten
Ich habe zwei logs /var/log/opsi/opsipxeconfd.log
1 Log von einem Client der funktioniert
Code: Alles auswählen
5] [2023-07-06 09:18:08.573] [PXEConfigWriter] Creating config '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' and waiting for access (pxeconfigwriter.py:210)
Gruß
Markus
[5] [2023-07-06 09:18:08.573] [ ] PXE boot configuration for host i08pc73.domäne.de is now set at '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' (opsipxeconfd.py:644)
[7] [2023-07-06 09:18:08.573] [PXEConfigWriter] Creating config file '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' (pxeconfigwriter.py:216)
[6] [2023-07-06 09:18:08.573] [ ] Returning result 'Boot configuration updated' (util.py:207)
[6] [2023-07-06 09:18:08.574] [ ] ClientConnection Thread-5 finished (took 0.005 seconds) (opsipxeconfd.py:299)
[7] [2023-07-06 09:18:08.574] [ ] ClientConnection 'Thread-5' removed (opsipxeconfd.py:308)
[7] [2023-07-06 09:18:08.574] [PXEConfigWriter] Watching config file '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' for read with inotify (pxeconfigwriter.py:222)
[7] [2023-07-06 09:18:08.574] [PXEConfigWriter] Inotify handle is (10). (adapters.py:58)
[7] [2023-07-06 09:18:08.574] [PXEConfigWriter] Adding watch: [/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5] (adapters.py:82)
[7] [2023-07-06 09:18:08.574] [PXEConfigWriter] Added watch (1): [/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5] (adapters.py:96)
[7] [2023-07-06 09:19:18.169] [PXEConfigWriter] Events received from epoll: ['IN_ACCESS'] (adapters.py:228)
[7] [2023-07-06 09:19:18.169] [PXEConfigWriter] Events received in stream: ['IN_OPEN'] (adapters.py:169)
[7] [2023-07-06 09:19:18.169] [PXEConfigWriter] Events received in stream: ['IN_ACCESS'] (adapters.py:169)
[7] [2023-07-06 09:19:18.169] [PXEConfigWriter] Events received from epoll: ['IN_ACCESS'] (adapters.py:228)
[7] [2023-07-06 09:19:18.169] [PXEConfigWriter] Events received in stream: ['IN_CLOSE_NOWRITE'] (adapters.py:169)
[6] [2023-07-06 09:19:18.169] [PXEConfigWriter] Config file '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' was accessed (pxeconfigwriter.py:235)
[6] [2023-07-06 09:19:18.170] [PXEConfigWriter] PXEConfigWriter Thread-6 (for i08pc73.domäne.de) finished (running for 69.597 seconds) (opsipxeconfd.py:324)
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] PXE config writer removed (opsipxeconfd.py:332)
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] ExtendedBackend <BackendManager()>: executing productOnClient_getObjects on backend <BackendExtender()> (Extended.py:120)
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] ExtendedBackend <BackendExtender()>: executing productOnClient_getObjects on backend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_getObjects on backend <HostControlBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] ExtendedBackend <HostControlBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_getObjects on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules='['OpsiPXEConfd']', dispatchConfigFile='/etc/opsi/ba>
[7] [2023-07-06 09:19:18.170] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:19:18.170] [PXEConfigWriter] Getting productOnClients, filter: {'productType': 'NetbootProduct', 'clientId': 'i08pc73.domäne.de', 'productId': 'win10-22h2-x64-enterprise'} (SQL.py:1705)
[7] [2023-07-06 09:19:18.171] [PXEConfigWriter] Created query: select * from `PRODUCT_ON_CLIENT` where (`productType` = 'NetbootProduct') and (`clientId` = 'i08pc73.domäne.de') and (`productId` = 'win10-22h2-x64-enterprise') (SQL.py:431)
[7] [2023-07-06 09:19:18.173] [PXEConfigWriter] Got productOnClients (Extended.py:1667)
[7] [2023-07-06 09:19:18.173] [PXEConfigWriter] ExtendedBackend <BackendManager()>: executing productOnClient_updateObjects on backend <BackendExtender()> (Extended.py:120)
[7] [2023-07-06 09:19:18.173] [PXEConfigWriter] ExtendedBackend <BackendExtender()>: executing productOnClient_updateObjects on backend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:19:18.173] [PXEConfigWriter] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_updateObjects on backend <HostControlBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:19:18.173] [PXEConfigWriter] ExtendedBackend <HostControlBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_updateObjects on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules='['OpsiPXEConfd']', dispatchConfigFile='/etc/opsi>
[6] [2023-07-06 09:19:18.174] [PXEConfigWriter] Updating productOnClient <ProductOnClient(clientId='i08pc73.domäne.de', productId='win10-22h2-x64-enterprise', installationStatus='unknown', actionRequest='none')> (Extended.py:1832)
[7] [2023-07-06 09:19:18.174] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:19:18.174] [PXEConfigWriter] Getting productOnClients, filter: {'productId': 'win10-22h2-x64-enterprise', 'productType': 'NetbootProduct', 'clientId': 'i08pc73.domäne.de'} (SQL.py:1705)
[7] [2023-07-06 09:19:18.174] [PXEConfigWriter] Created query: select `productId`,`productType`,`clientId` from `PRODUCT_ON_CLIENT` where (`productId` = 'win10-22h2-x64-enterprise') and (`productType` = 'NetbootProduct') and (`clientId` = 'i08pc73.domäne.de') (SQL.py:431)
[7] [2023-07-06 09:19:18.175] [PXEConfigWriter] Got productOnClients (Extended.py:1667)
[6] [2023-07-06 09:19:18.176] [PXEConfigWriter] ProductOnClient <ProductOnClient(clientId='i08pc73.domäne.de', productId='win10-22h2-x64-enterprise', installationStatus='unknown', actionRequest='none')> exists, updating (Extended.py:1836)
[7] [2023-07-06 09:19:18.176] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:19:18.176] [PXEConfigWriter] Getting productOnClients, filter: {'productId': 'win10-22h2-x64-enterprise', 'clientId': 'i08pc73.domäne.de'} (SQL.py:1705)
[7] [2023-07-06 09:19:18.176] [PXEConfigWriter] Created query: select * from `PRODUCT_ON_CLIENT` where (`productId` = 'win10-22h2-x64-enterprise') and (`clientId` = 'i08pc73.domäne.de') (SQL.py:431)
[7] [2023-07-06 09:19:18.177] [PXEConfigWriter] Dispatching method productOnClient_insertObject to backends: ['mysql'] (Dispatcher.py:214)
[5] [2023-07-06 09:19:18.190] [PXEConfigWriter] Deleting config file '/tftpboot/linux/pxelinux.cfg/01-90-1b-0e-d9-e0-b5' (pxeconfigwriter.py:240)
[7] [2023-07-06 09:19:18.190] [PXEConfigWriter] Cleaning-up inotify. (adapters.py:78)
[5] [2023-07-06 09:20:11.988] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:244)
[6] [2023-07-06 09:20:11.988] [Opsipxeconfd ] Creating thread for connection 1 (opsipxeconfd.py:247)
[7] [2023-07-06 09:20:11.989] [ ] Receiving data... (util.py:199)
[7] [2023-07-06 09:20:11.989] [Opsipxeconfd ] Connection Thread-7 started. (opsipxeconfd.py:253)
[6] [2023-07-06 09:20:11.989] [ ] Got command 'update i08pc73.domäne.de /var/run/opsipxeconfd/i08pc73.domäne.de.json' (util.py:204)
[6] [2023-07-06 09:20:11.989] [ ] Updating PXE boot configuration for host 'i08pc73.domäne.de' (opsipxeconfd.py:494)
[7] [2023-07-06 09:20:11.989] [ ] Removing 0 existing config writers for 'i08pc73.domäne.de' (opsipxeconfd.py:676)
[7] [2023-07-06 09:20:11.989] [ ] Reading data from /var/run/opsipxeconfd/i08pc73.domäne.de.json (opsipxeconfd.py:700)
[7] [2023-07-06 09:20:11.990] [ ] Cached data read for i08pc73.domäne.de: '{'host': <OpsiClient(id='i08pc73.domäne.de')>, 'productOnClient': []}' (opsipxeconfd.py:500)
[6] [2023-07-06 09:20:11.990] [ ] No netboot products with action requests for client 'i08pc73.domäne.de' found. (opsipxeconfd.py:517)
[6] [2023-07-06 09:20:11.990] [ ] Returning result 'Boot configuration updated' (util.py:207)
[6] [2023-07-06 09:20:11.990] [ ] ClientConnection Thread-7 finished (took 0.002 seconds) (opsipxeconfd.py:299)
[7] [2023-07-06 09:20:11.990] [ ] ClientConnection 'Thread-7' removed (opsipxeconfd.py:308)
[5] [2023-07-06 09:21:36.171] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:244)
[6] [2023-07-06 09:21:36.171] [Opsipxeconfd ] Creating thread for connection 1 (opsipxeconfd.py:247)
[7] [2023-07-06 09:21:36.172] [ ] Receiving data... (util.py:199)
[7] [2023-07-06 09:21:36.172] [Opsipxeconfd ] Connection Thread-8 started. (opsipxeconfd.py:253)
[6] [2023-07-06 09:21:36.172] [ ] Got command 'update i08pc73.domäne.de /var/run/opsipxeconfd/i08pc73.domäne.de.json' (util.py:204)
[6] [2023-07-06 09:21:36.172] [ ] Updating PXE boot configuration for host 'i08pc73.domäne.de' (opsipxeconfd.py:494)
[7] [2023-07-06 09:21:36.173] [ ] Removing 0 existing config writers for 'i08pc73.domäne.de' (opsipxeconfd.py:676)
[7] [2023-07-06 09:21:36.173] [ ] Reading data from /var/run/opsipxeconfd/i08pc73.domäne.de.json (opsipxeconfd.py:700)
[7] [2023-07-06 09:21:36.174] [ ] Cached data read for i08pc73.domäne.de: '{'host': <OpsiClient(id='i08pc73.domäne.de')>, 'productOnClient': []}' (opsipxeconfd.py:500)
[6] [2023-07-06 09:21:36.175] [ ] No netboot products with action requests for client 'i08pc73.domäne.de' found. (opsipxeconfd.py:517)
[6] [2023-07-06 09:21:36.175] [ ] Returning result 'Boot configuration updated' (util.py:207)
[6] [2023-07-06 09:21:36.175] [ ] ClientConnection Thread-8 finished (took 0.003 seconds) (opsipxeconfd.py:299)
[7] [2023-07-06 09:21:36.175] [ ] ClientConnection 'Thread-8' removed (opsipxeconfd.py:308)
Code: Alles auswählen
[5] [2023-07-06 09:30:21.486] [PXEConfigWriter] Creating config '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' and waiting for access (pxeconfigwriter.py:210)
[5] [2023-07-06 09:30:21.487] [ ] PXE boot configuration for host i18nb16.domäne.de is now set at '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' (opsipxeconfd.py:644)
[6] [2023-07-06 09:30:21.487] [ ] Returning result 'Boot configuration updated' (util.py:207)
[7] [2023-07-06 09:30:21.487] [PXEConfigWriter] Creating config file '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' (pxeconfigwriter.py:216)
[6] [2023-07-06 09:30:21.487] [ ] ClientConnection Thread-15 finished (took 3.056 seconds) (opsipxeconfd.py:299)
[7] [2023-07-06 09:30:21.487] [ ] ClientConnection 'Thread-15' removed (opsipxeconfd.py:308)
[7] [2023-07-06 09:30:21.487] [PXEConfigWriter] Watching config file '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' for read with inotify (pxeconfigwriter.py:222)
[7] [2023-07-06 09:30:21.487] [PXEConfigWriter] Inotify handle is (8). (adapters.py:58)
[7] [2023-07-06 09:30:21.487] [PXEConfigWriter] Adding watch: [/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf] (adapters.py:82)
[7] [2023-07-06 09:30:21.487] [PXEConfigWriter] Added watch (1): [/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf] (adapters.py:96)
[7] [2023-07-06 09:30:37.783] [PXEConfigWriter] Events received from epoll: ['IN_ACCESS'] (adapters.py:228)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] Events received in stream: ['IN_OPEN'] (adapters.py:169)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] Events received from epoll: ['IN_ACCESS'] (adapters.py:228)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] Events received in stream: ['IN_ACCESS'] (adapters.py:169)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] Events received from epoll: ['IN_ACCESS'] (adapters.py:228)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] Events received in stream: ['IN_CLOSE_NOWRITE'] (adapters.py:169)
[6] [2023-07-06 09:30:37.784] [PXEConfigWriter] Config file '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' was accessed (pxeconfigwriter.py:235)
[6] [2023-07-06 09:30:37.784] [PXEConfigWriter] PXEConfigWriter Thread-16 (for i18nb16.domäne.de) finished (running for 16.298 seconds) (opsipxeconfd.py:324)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] PXE config writer removed (opsipxeconfd.py:332)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] ExtendedBackend <BackendManager()>: executing productOnClient_getObjects on backend <BackendExtender()> (Extended.py:120)
[7] [2023-07-06 09:30:37.784] [PXEConfigWriter] ExtendedBackend <BackendExtender()>: executing productOnClient_getObjects on backend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:30:37.785] [PXEConfigWriter] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_getObjects on backend <HostControlBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:30:37.785] [PXEConfigWriter] ExtendedBackend <HostControlBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_getObjects on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules='['OpsiPXEConfd']', dispatchConfigFile='/etc/opsi/ba>
[7] [2023-07-06 09:30:37.785] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:30:37.785] [PXEConfigWriter] Getting productOnClients, filter: {'productType': 'NetbootProduct', 'clientId': 'i18nb16.domäne.de', 'productId': 'win10-22h2-x64-enterprise'} (SQL.py:1705)
[7] [2023-07-06 09:30:37.785] [PXEConfigWriter] Created query: select * from `PRODUCT_ON_CLIENT` where (`productType` = 'NetbootProduct') and (`clientId` = 'i18nb16.domäne.de') and (`productId` = 'win10-22h2-x64-enterprise') (SQL.py:431)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] Got productOnClients (Extended.py:1667)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] ExtendedBackend <BackendManager()>: executing productOnClient_updateObjects on backend <BackendExtender()> (Extended.py:120)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] ExtendedBackend <BackendExtender()>: executing productOnClient_updateObjects on backend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_updateObjects on backend <HostControlBackend(resolveHostAddress=True, maxConnections=50)> (Extended.py:120)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] ExtendedBackend <HostControlBackend(resolveHostAddress=True, maxConnections=50)>: executing productOnClient_updateObjects on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules='['OpsiPXEConfd']', dispatchConfigFile='/etc/opsi>
[6] [2023-07-06 09:30:37.788] [PXEConfigWriter] Updating productOnClient <ProductOnClient(clientId='i18nb16.domäne.de', productId='win10-22h2-x64-enterprise', installationStatus='not_installed', actionRequest='none')> (Extended.py:1832)
[7] [2023-07-06 09:30:37.788] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:30:37.788] [PXEConfigWriter] Getting productOnClients, filter: {'productId': 'win10-22h2-x64-enterprise', 'productType': 'NetbootProduct', 'clientId': 'i18nb16.domäne.de'} (SQL.py:1705)
[7] [2023-07-06 09:30:37.789] [PXEConfigWriter] Created query: select `productId`,`productType`,`clientId` from `PRODUCT_ON_CLIENT` where (`productId` = 'win10-22h2-x64-enterprise') and (`productType` = 'NetbootProduct') and (`clientId` = 'i18nb16.domäne.de') (SQL.py:431)
[7] [2023-07-06 09:30:37.790] [PXEConfigWriter] Got productOnClients (Extended.py:1667)
[6] [2023-07-06 09:30:37.790] [PXEConfigWriter] ProductOnClient <ProductOnClient(clientId='i18nb16.domäne.de', productId='win10-22h2-x64-enterprise', installationStatus='not_installed', actionRequest='none')> exists, updating (Extended.py:1836)
[7] [2023-07-06 09:30:37.790] [PXEConfigWriter] Dispatching method productOnClient_getObjects to backends: ['mysql'] (Dispatcher.py:214)
[6] [2023-07-06 09:30:37.790] [PXEConfigWriter] Getting productOnClients, filter: {'productId': 'win10-22h2-x64-enterprise', 'clientId': 'i18nb16.domäne.de'} (SQL.py:1705)
[7] [2023-07-06 09:30:37.791] [PXEConfigWriter] Created query: select * from `PRODUCT_ON_CLIENT` where (`productId` = 'win10-22h2-x64-enterprise') and (`clientId` = 'i18nb16.domäne.de') (SQL.py:431)
[7] [2023-07-06 09:30:37.792] [PXEConfigWriter] Dispatching method productOnClient_insertObject to backends: ['mysql'] (Dispatcher.py:214)
[5] [2023-07-06 09:30:37.803] [PXEConfigWriter] Deleting config file '/tftpboot/linux/pxelinux.cfg/01-a0-66-10-c1-8c-bf' (pxeconfigwriter.py:240)
[7] [2023-07-06 09:30:37.803] [PXEConfigWriter] Cleaning-up inotify. (adapters.py:78)
Wenn ich Windows auf dem Client manuell installiere und danach von Hand den Client Agent funktioniert das auch alles und ich kann wieder Pakete ausrollen.
Auch die Installation mit dem Bootimage direkt aus dem Bios funktioniert
Nur über PXE bleibt er stehen
Hat jemand eine Idee ich noch schauen könnte (log Files damit ich sehen kann was er macht und warum an der Stelle einfriert??