Remote Deployment Opsi-Client-Agent funktioniert nicht mehr (gelösst)
Verfasst: 17 Jun 2023, 14:38
Servus
Ich musste gestern unseren Opsi-Server neu aufsetzten. Bis dahin gab es keine Probleme den Client remote auszurollen.
Jedoch läuft die Installation jetzt auf Fehler.
Ich habe es jeweils an einem PC getestet auf dem die Installation vorher funktionierte, sowie auf einem ganz frischen ohne unsere Sicherheitssoftware.
Auch in den Foren konnte ich keine Lösung finden.
[5] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Starting deployment to host *Computername*****.*Domaine* (common.py:425)
[5] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Querying for ip address of host *Computername*****.*Domaine* (common.py:231)
[6] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Getting host *Computername*****.*Domaine* by name (common.py:233)
[5] [2023-06-17 14:33:07.536] [*Computername*****.*Domaine*] Got ip address *ipaddress* from syscall (common.py:242)
[5] [2023-06-17 14:33:07.536] [*Computername*****.*Domaine*] Pinging host *ipaddress* ... (common.py:258)
[6] [2023-06-17 14:33:07.537] [*Computername*****.*Domaine*] Executing ping -q -c2 *ipaddress* (common.py:86)
[5] [2023-06-17 14:33:08.570] [*Computername*****.*Domaine*] Host *ipaddress* is up (common.py:267)
[6] [2023-06-17 14:33:08.572] [*Computername*****.*Domaine*] Establishing connection with dcom of host '*Computername*****.*Domaine*'. (windows.py:65)
[5] [2023-06-17 14:33:08.825] [*Computername*****.*Domaine*] Querying 'SELECT * from Win32_OperatingSystem' on host '*Computername*****.*Domaine*' (windows.py:170)
[6] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Target os version: 10.0.19042 (windows.py:266)
[5] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Copying installation files (windows.py:270)
[6] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Using smbclient to copy files (windows.py:272)
[6] [2023-06-17 14:33:08.968] [*Computername*****.*Domaine*] Executing /usr/bin/smbclient -m SMB3 //*Computername*****.*Domaine*/c$ -U '*Domaine*\administrator%***secret***' -c 'prompt; recurse; md opsi.org; cd opsi.org; md log; md tmp; cd tmp; md opsi-deploy-client-agent-1687005188; cd opsi-deploy-client-agent-1687005188; mput files; mput setup.opsiscript; mput oca-installation-helper.exe; exit;' (common.py:86)
[5] [2023-06-17 14:33:12.151] [*Computername*****.*Domaine*] Installing opsi-client-agent (common.py:430)
[6] [2023-06-17 14:33:12.152] [*Computername*****.*Domaine*] Deploying from path c:\opsi.org\tmp\opsi-deploy-client-agent-1687005188 (windows.py:328)
[6] [2023-06-17 14:33:12.161] [*Computername*****.*Domaine*] Updating productOnClient <ProductOnClient(clientId='*Computername*****.*Domaine*', productId='opsi-client-agent', installationStatus='unknown', actionRequest='none')> (Extended.py:1819)
[6] [2023-06-17 14:33:12.163] [*Computername*****.*Domaine*] ProductOnClient <ProductOnClient(clientId='*Computername*****.*Domaine*', productId='opsi-client-agent', installationStatus='unknown', actionRequest='none')> exists, updating (Extended.py:1823)
[5] [2023-06-17 14:33:12.165] [*Computername*****.*Domaine*] Running installation script... (windows.py:342)
[6] [2023-06-17 14:33:12.198] [*Computername*****.*Domaine*] Register scheduled task 'opsi-deploy-client-agent-1687005192' (windows.py:236)
[6] [2023-06-17 14:33:12.224] [*Computername*****.*Domaine*] Scheduled task started (windows.py:242)
[6] [2023-06-17 14:33:17.244] [*Computername*****.*Domaine*] Scheduled task ended (windows.py:253)
[6] [2023-06-17 14:33:17.245] [*Computername*****.*Domaine*] Removing scheduled task 'opsi-deploy-client-agent-1687005192' (windows.py:259)
[3] [2023-06-17 14:33:17.257] [*Computername*****.*Domaine*] Deployment to *Computername*****.*Domaine* failed: Installation of opsi-client-agent on client *Computername*****.*Domaine* unsuccessful (common.py:455)
[5] [2023-06-17 14:33:17.257] [*Computername*****.*Domaine*] Cleaning up (windows.py:380)
[6] [2023-06-17 14:33:17.258] [*Computername*****.*Domaine*] Using smbclient to cleanup files (windows.py:385)
[6] [2023-06-17 14:33:17.258] [*Computername*****.*Domaine*] Executing /usr/bin/smbclient -m SMB3 //*Computername*****.*Domaine*/c$ -U '*Domaine*\administrator'*P* -c 'prompt; recurse; deltree c:\opsi.org\tmp\opsi-deploy-client-agent-1687005188; exit;' (common.py:86)
[5] [2023-06-17 14:33:18.575] [ ] 0/1 deployments successful (__init__.py:191)
[4] [2023-06-17 14:33:18.575] [ ] 1/1 deployments failed (__init__.py:195)
Ich werd auch nicht aus der Fehlermeldung schlau.
Die Konnektivität zu dem PC's besteht, die Zugriffsberechtigungen auch.
Die Anwendung ist genauso wie noch vor 2 Wochen (Eventuell auf einem älteren System)
Ich musste gestern unseren Opsi-Server neu aufsetzten. Bis dahin gab es keine Probleme den Client remote auszurollen.
Jedoch läuft die Installation jetzt auf Fehler.
Ich habe es jeweils an einem PC getestet auf dem die Installation vorher funktionierte, sowie auf einem ganz frischen ohne unsere Sicherheitssoftware.
Auch in den Foren konnte ich keine Lösung finden.
[5] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Starting deployment to host *Computername*****.*Domaine* (common.py:425)
[5] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Querying for ip address of host *Computername*****.*Domaine* (common.py:231)
[6] [2023-06-17 14:33:07.535] [*Computername*****.*Domaine*] Getting host *Computername*****.*Domaine* by name (common.py:233)
[5] [2023-06-17 14:33:07.536] [*Computername*****.*Domaine*] Got ip address *ipaddress* from syscall (common.py:242)
[5] [2023-06-17 14:33:07.536] [*Computername*****.*Domaine*] Pinging host *ipaddress* ... (common.py:258)
[6] [2023-06-17 14:33:07.537] [*Computername*****.*Domaine*] Executing ping -q -c2 *ipaddress* (common.py:86)
[5] [2023-06-17 14:33:08.570] [*Computername*****.*Domaine*] Host *ipaddress* is up (common.py:267)
[6] [2023-06-17 14:33:08.572] [*Computername*****.*Domaine*] Establishing connection with dcom of host '*Computername*****.*Domaine*'. (windows.py:65)
[5] [2023-06-17 14:33:08.825] [*Computername*****.*Domaine*] Querying 'SELECT * from Win32_OperatingSystem' on host '*Computername*****.*Domaine*' (windows.py:170)
[6] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Target os version: 10.0.19042 (windows.py:266)
[5] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Copying installation files (windows.py:270)
[6] [2023-06-17 14:33:08.967] [*Computername*****.*Domaine*] Using smbclient to copy files (windows.py:272)
[6] [2023-06-17 14:33:08.968] [*Computername*****.*Domaine*] Executing /usr/bin/smbclient -m SMB3 //*Computername*****.*Domaine*/c$ -U '*Domaine*\administrator%***secret***' -c 'prompt; recurse; md opsi.org; cd opsi.org; md log; md tmp; cd tmp; md opsi-deploy-client-agent-1687005188; cd opsi-deploy-client-agent-1687005188; mput files; mput setup.opsiscript; mput oca-installation-helper.exe; exit;' (common.py:86)
[5] [2023-06-17 14:33:12.151] [*Computername*****.*Domaine*] Installing opsi-client-agent (common.py:430)
[6] [2023-06-17 14:33:12.152] [*Computername*****.*Domaine*] Deploying from path c:\opsi.org\tmp\opsi-deploy-client-agent-1687005188 (windows.py:328)
[6] [2023-06-17 14:33:12.161] [*Computername*****.*Domaine*] Updating productOnClient <ProductOnClient(clientId='*Computername*****.*Domaine*', productId='opsi-client-agent', installationStatus='unknown', actionRequest='none')> (Extended.py:1819)
[6] [2023-06-17 14:33:12.163] [*Computername*****.*Domaine*] ProductOnClient <ProductOnClient(clientId='*Computername*****.*Domaine*', productId='opsi-client-agent', installationStatus='unknown', actionRequest='none')> exists, updating (Extended.py:1823)
[5] [2023-06-17 14:33:12.165] [*Computername*****.*Domaine*] Running installation script... (windows.py:342)
[6] [2023-06-17 14:33:12.198] [*Computername*****.*Domaine*] Register scheduled task 'opsi-deploy-client-agent-1687005192' (windows.py:236)
[6] [2023-06-17 14:33:12.224] [*Computername*****.*Domaine*] Scheduled task started (windows.py:242)
[6] [2023-06-17 14:33:17.244] [*Computername*****.*Domaine*] Scheduled task ended (windows.py:253)
[6] [2023-06-17 14:33:17.245] [*Computername*****.*Domaine*] Removing scheduled task 'opsi-deploy-client-agent-1687005192' (windows.py:259)
[3] [2023-06-17 14:33:17.257] [*Computername*****.*Domaine*] Deployment to *Computername*****.*Domaine* failed: Installation of opsi-client-agent on client *Computername*****.*Domaine* unsuccessful (common.py:455)
[5] [2023-06-17 14:33:17.257] [*Computername*****.*Domaine*] Cleaning up (windows.py:380)
[6] [2023-06-17 14:33:17.258] [*Computername*****.*Domaine*] Using smbclient to cleanup files (windows.py:385)
[6] [2023-06-17 14:33:17.258] [*Computername*****.*Domaine*] Executing /usr/bin/smbclient -m SMB3 //*Computername*****.*Domaine*/c$ -U '*Domaine*\administrator'*P* -c 'prompt; recurse; deltree c:\opsi.org\tmp\opsi-deploy-client-agent-1687005188; exit;' (common.py:86)
[5] [2023-06-17 14:33:18.575] [ ] 0/1 deployments successful (__init__.py:191)
[4] [2023-06-17 14:33:18.575] [ ] 1/1 deployments failed (__init__.py:195)
Ich werd auch nicht aus der Fehlermeldung schlau.
Die Konnektivität zu dem PC's besteht, die Zugriffsberechtigungen auch.
Die Anwendung ist genauso wie noch vor 2 Wochen (Eventuell auf einem älteren System)