ich versuche jetzt schon seit einiger Zeit zum test ein Paket selbst zu Paketieren und zu verteilen. Das Paketieren funktioniert einwandfrei mit den Setup-Detector und dem PackageBuilder.
Nachdem ich die Software in opsi-configed verteilen möchte, schließt sich der opsi-agent sehr schnell und es taucht das gewohnte failed (setup) in opsi-configed auf. Die vorhandene Software, beispielweise den Packagebuilder und setup detector konnte ich ohne Probleme mit opsi-configed verteilen.
log vom Client unter /var/log/opsi/opsiconfd/*Client*
Code: Alles auswählen
[5] [Feb 20 08:43:37] -----> Executing: productOnClient_updateObject(<ProductOnClient(clientId=u''Client@domänexxx'', productId=u'gimp', installationStatus=u'unknown', actionRequest=u'none')>) (JsonRpc.py|133)
[5] [Feb 20 08:43:37] -----> Executing: log_write(u'instlog', u'\n[1] [Feb 20 08:43:43:539] --\n[1] [Feb 20 08:43:43:539] --\n[1] [Feb 20 08:43:43:539] c:\\opsi.org\\log\\\\opsi-script-part-Xo41Oj66.log\n[1] [Feb 20 08:43:43:539] opsi-script 4.12.1.5...) (JsonRpc.py|133)
[5] [Feb 20 08:43:37] User 'Client@domänexxx' asked to close the session (workers.py|447)
[5] [Feb 20 08:43:37] Session 'Zkg3fqaaxSrxxxxxxxxJDNzZC5LxSf' from ip '10.114.80.43', application 'opsi-script 4.12.1.5' deleted (Session.py|234)
[5] [Feb 20 08:43:44] -----> Executing: log_write(u'clientconnect', u'[6] [Feb 19 13:28:18] [ opsiclientd ] Setting config value global.log_file (Config.pyo|204)\r\n[6] [Feb 19 13:28:18] [ opsiclientd ] Setting c...) (JsonRpc.py|133)
[5] [Feb 20 08:43:44] User 'Client@domänexxx' asked to close the session (workers.py|447)
[5] [Feb 20 08:43:44] Session 'ioB5citXXRjYKxxxxxxxxx4dnImq4F' from ip '10.114.80.43', application 'opsiclientd version 4.0.96' deleted (Session.py|234)
Code: Alles auswählen
[7] [Feb 20 08:43:45:345] [gimp] Found ImportLib statement for file: .opsiscript and function:
[2] [Feb 20 08:43:45:347] [gimp] Error: Could not find import file :.opsiscript
[1] [Feb 20 08:43:45:347] [gimp] ___________________
[1] [Feb 20 08:43:45:347] [gimp] script finished: failed
[1] [Feb 20 08:43:45:347] [gimp] 0 errors
[1] [Feb 20 08:43:45:347] [gimp] 0 warnings
[1] [Feb 20 08:43:45:347] [gimp]
[1] [Feb 20 08:43:45:347] [gimp] installed product: gimp Version: 2.10.14-1
[1] [Feb 20 08:43:45:347] [gimp]
[5] [Feb 20 08:43:45:347] [gimp] We do not look for a update script, because the setup script is failed
[7] [Feb 20 08:43:45:347] [gimp] BuildPC: update switches .....
[7] [Feb 20 08:43:45:347] [gimp] JSON service request https://opsiserver:4447/rpc productOnClient_updateObject
[7] [Feb 20 08:43:45:499] Registry started with redirection (32 Bit)
[6] [Feb 20 08:43:45:499] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [Feb 20 08:43:45:499] Variable "RebootRequested" is keeping its value "0"
[6] [Feb 20 08:43:45:499] Variable "LastLogFilename" is keeping its value "c:\opsi.org\log\opsi-script.log"
[6] [Feb 20 08:43:45:499] Variable "ContinueLogFile" is keeping its value "0"
[6] [Feb 20 08:43:45:499] Variable "NumberOfErrors" is keeping its value "0"
[6] [Feb 20 08:43:45:503] Key flushed
[6] [Feb 20 08:43:45:503] Key closed