postinst:Backend error: Failed to install package - timed out atfer 600 seconds
Verfasst: 28 Aug 2021, 17:11
Hallo zusammen,
wir sind aktuell dabei neben unserer bestehenden OPSI 4.1 Umgebung eine neues System parallel zu installieren, auf das später migriert werden soll. Dort läuft Ubuntu 20.04 sowie OPSI 4.2.
Leider kann kein Windows-Netboot-Produkt mittels "opsi-package-updater -v install" installiert werden, die Installationen schlagen immer fehl mit folgenden Meldungen:
Installierte Pakete:
Hat jemand eine Idee, was hier schief läuft und in welchem Log ich mehr Informationen finde? Ich bin nach der Getting-Started-Anleitung vorgegangen.
Grüße,
Julia
wir sind aktuell dabei neben unserer bestehenden OPSI 4.1 Umgebung eine neues System parallel zu installieren, auf das später migriert werden soll. Dort läuft Ubuntu 20.04 sowie OPSI 4.2.
Leider kann kein Windows-Netboot-Produkt mittels "opsi-package-updater -v install" installiert werden, die Installationen schlagen immer fehl mit folgenden Meldungen:
Code: Alles auswählen
[3] [2021-08-28 14:48:34.265] [package_install] Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds (Product.py:460)
Traceback (most recent call last):
File "OPSI/Util/Product.py", line 458, in _runPackageScript
File "OPSI/System/Posix.py", line 982, in execute
RuntimeError: Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
[4] [2021-08-28 14:48:34.266] [package_install] Installation error. Not unlocking product 'win7-x64-captured' on depot 'gershwin.sgm.local'. (Depotserver.py:223)
[3] [2021-08-28 14:48:34.266] [package_install] Failed to execute package script 'postinst' of package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi': Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds (Depotserver.py:502)
Traceback (most recent call last):
File "OPSI/Util/Product.py", line 458, in _runPackageScript
File "OPSI/System/Posix.py", line 982, in execute
RuntimeError: Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "OPSI/Backend/Depotserver.py", line 500, in installPackage
File "OPSI/Backend/Depotserver.py", line 488, in installPackage
File "contextlib.py", line 119, in __exit__
File "OPSI/Backend/Depotserver.py", line 245, in runPackageScripts
File "OPSI/Util/Product.py", line 472, in runPostinst
File "OPSI/Util/Product.py", line 464, in _runPackageScript
RuntimeError: Failed to execute package script 'postinst' of package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi': Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
[3] [2021-08-28 14:48:34.267] [ ] Backend error: Failed to install package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi' on depot 'gershwin.sgm.local': Failed to execute package script 'postinst' of package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi': Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds (opsipackageupdater.py:312)
Traceback (most recent call last):
File "OPSI/Util/Product.py", line 458, in _runPackageScript
File "OPSI/System/Posix.py", line 982, in execute
RuntimeError: Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "OPSI/Backend/Depotserver.py", line 500, in installPackage
File "OPSI/Backend/Depotserver.py", line 488, in installPackage
File "contextlib.py", line 119, in __exit__
File "OPSI/Backend/Depotserver.py", line 245, in runPackageScripts
File "OPSI/Util/Product.py", line 472, in runPostinst
File "OPSI/Util/Product.py", line 464, in _runPackageScript
RuntimeError: Failed to execute package script 'postinst' of package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi': Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "opsiutils/opsipackageupdater.py", line 308, in main
File "opsiutils/opsipackageupdater.py", line 280, in updater_main
File "OPSI/Util/Task/UpdatePackages/Updater.py", line 363, in processUpdates
File "<string>", line 1, in depot_installPackage
File "OPSI/Backend/Base/Extended.py", line 123, in _executeMethod
File "<string>", line 1, in depot_installPackage
File "OPSI/Backend/Base/Extended.py", line 123, in _executeMethod
File "<string>", line 1, in depot_installPackage
File "OPSI/Backend/Base/Extended.py", line 123, in _executeMethod
File "OPSI/Backend/Depotserver.py", line 122, in depot_installPackage
File "OPSI/Backend/Depotserver.py", line 505, in installPackage
OPSI.Exceptions.BackendError: Backend error: Failed to install package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi' on depot 'gershwin.sgm.local': Failed to execute package script 'postinst' of package '/var/lib/opsi/repository/win7-x64-captured_4.2.0.1-2.opsi': Command '/tmp/.opsi.unpack.t5WfK/OPSI/postinst' timed out atfer 600.0002253055573 seconds
Code: Alles auswählen
root@gershwin:~# dpkg -l | grep -i opsi
ii opsi-linux-bootimage 20210618-1 all opsi bootimage for netboot tasks.
ii opsi-linux-support 4.2.0.0-1 all Configure system to be able to deploy Linux with opsi.
ii opsi-server-full 4.2.0.55-1 all opsi server
ii opsi-tftpd-hpa 5.2.8-76 amd64 HPA's tftp server
ii opsi-utils 4.2.0.115-1 amd64 Utilities for working with opsi
ii opsi-windows-support 4.2.0.0-1 all Install utilities useful for deploying Windows with opsi.
ii opsiconfd 4.2.0.190-1 amd64 opsi configuration service
ii opsipxeconfd 4.2.0.19-1 amd64 opsi pxe configuration service
root@gershwin:~#
Grüße,
Julia