ich habe vor einigen Wochen auf OPSI 4.1 geupgraded. Stand heute sollten sämtliche Pakete Up-To-Date sein.
Leider ist mir direkt nach dem Upgrade aufgefallen, dass Testclients nach dem Reboot manchmal keine Pakete installieren.
Irgendwann hat es dann wieder etwas besser funktioniert, heute finde ich aber heraus, dass ganz viele Clients aktuell keine OPSI Pakete mehr beziehen. Der Opsi-Client-Agent startet, er erkennt, dass etwas zu tun ist und bricht mit Fehler ab.
Was noch funktioniert ist "on_demand" aber eben nach dem Reboot des Rechners klappt es nicht mehr häufig.
In der clientconnect Log kommt folgender Fehler (Aktuell bei jedem Reboot):
Code: Alles auswählen
Failed to Mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (Windows.pyo|788)
Ich habe nun auch schon die mDNS Thematik erschlagen, indem ich einfach direkt die IP-Adresse eintrage (Depot-Konfiguration).
Leider keinen Erfolg. Das Ubuntu Linux ist auch Up-To-Date, zumindest auf Xenial 16.04 LTS.
Er erkennt aber definitiv am Anfang sauber eine Netzwerkverbindung, fragt Pakete an und merkt, dass etwas installiert werden soll. Daraufhin möchte der Client-Agent dann das Depot Share verbinden und fällt dann auf die Nase.
Hier mal etwas Code:
Code: Alles auswählen
(666) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Dynamic depot selection enabled (Config.pyo|445)
(667) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Master depot for products [u'rebootwanted_prio-97', u'rebootwanted_prio94', u'shutdownwanted'] is opsi-wgt.kk.local (Config.pyo|473)
(668) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Got alternative depots for products: [u'rebootwanted_prio-97', u'rebootwanted_prio94', u'shutdownwanted'] (Config.pyo|477)
(669) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] 1. alternative depot is opsi-br.kk.local (Config.pyo|479)
(670) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] 2. alternative depot is opsi-dd.kk.local (Config.pyo|479)
(671) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] 3. alternative depot is opsi-gv.kk.local (Config.pyo|479)
(672) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] 4. alternative depot is opsi-sifi.kk.local (Config.pyo|479)
(673) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x03215D00> (Config.pyo|488)
(674) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x032158A0> (Config.pyo|488)
(675) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x03215D00> (Config.pyo|488)
(676) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x032158A0> (Config.pyo|488)
(677) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x03215D00> (Config.pyo|488)
(678) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x032158A0> (Config.pyo|488)
(679) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x03215D00> (Config.pyo|488)
(680) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x032158A0> (Config.pyo|488)
(681) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x03215D00> (Config.pyo|488)
(682) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Found network interface: <OPSI.System.Windows.IP_ADAPTER_INFO object at 0x032158A0> (Config.pyo|488)
(683) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Choosing depot from list of depots: (<string>|4)
(684) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Master depot: <OpsiConfigserver(id=u'opsi-wgt.kk.local', isMasterDepot=True)> (<string>|5)
(685) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Alternative depot: <OpsiDepotserver(id=u'opsi-br.kk.local', isMasterDepot=True, masterDepotId=u'opsi-br.kk.local')> (<string>|7)
(686) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Alternative depot: <OpsiDepotserver(id=u'opsi-dd.kk.local', isMasterDepot=True, masterDepotId=u'opsi-dd.kk.local')> (<string>|7)
(687) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Alternative depot: <OpsiDepotserver(id=u'opsi-gv.kk.local', isMasterDepot=True, masterDepotId=u'opsi-gv.kk.local')> (<string>|7)
(688) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Alternative depot: <OpsiDepotserver(id=u'opsi-sifi.kk.local', isMasterDepot=True, masterDepotId=u'opsi-sifi.kk.local')> (<string>|7)
(689) [5] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Choosing depot with networkAddress 192.168.20.0/255.255.255.0 for ip 192.168.20.164 (<string>|24)
(690) [5] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Selected depot is: <OpsiConfigserver(id=u'opsi-wgt.kk.local', isMasterDepot=True)> (Config.pyo|517)
(691) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Setting config value depot_server.depot_id (Config.pyo|204)
(692) [6] [Sep 10 14:27:19] [ event processing gui_startup{installation_pending}] Setting config value depot_server.url (Config.pyo|204)
(693) [6] [Sep 10 14:27:19] [ opsiclientd ] Searching pids of process name winlogon.exe (session id: 1) (Windows.pyo|1447)
(694) [6] [Sep 10 14:27:19] [ opsiclientd ] Found process winlogon.exe with matching name (pid 724, session 1) (Windows.pyo|1470)
(695) [5] [Sep 10 14:27:19] [ opsiclientd ] Executing: 'C:\Program Files (x86)\opsi.org\opsi-client-agent\\opsiclientd_rpc.exe "pc1608-00855.kk.local" "*** confidential ***" "4441" "setCurrentActiveDesktopName("1", System.getActiveDesktopName())"' in session '1' on desktop 'winsta0\winlogon' (Windows.pyo|1634)
(696) [6] [Sep 10 14:27:20] [ opsiclientd ] Process startet, pid: 5104 (Windows.pyo|1637)
(697) [6] [Sep 10 14:27:20] [ opsiclientd ] Waiting for process ending: 5104 (timeout: 60 seconds) (Windows.pyo|1640)
(698) [6] [Sep 10 14:27:20] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x030BAAD0> started processing (Worker.pyo|251)
(699) [5] [Sep 10 14:27:20] [ control server ] New session created (Session.pyo|184)
(700) [5] [Sep 10 14:27:20] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(701) [5] [Sep 10 14:27:20] [ opsiclientd ] -----> Executing: backend_getInterface() (JsonRpc.pyo|134)
(702) [6] [Sep 10 14:27:20] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(703) [6] [Sep 10 14:27:20] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x03284E68> started processing (Worker.pyo|251)
(704) [6] [Sep 10 14:27:20] [ control server ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.7.28' (Worker.pyo|397)
(705) [5] [Sep 10 14:27:20] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(706) [5] [Sep 10 14:27:20] [ opsiclientd ] -----> Executing: setCurrentActiveDesktopName(1, u'Winlogon') (JsonRpc.pyo|134)
(707) [5] [Sep 10 14:27:20] [ opsiclientd ] rpc setCurrentActiveDesktopName: current active desktop name for session 1 set to 'Winlogon' (ControlServer.pyo|565)
(708) [6] [Sep 10 14:27:20] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(709) [6] [Sep 10 14:27:20] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x03262F30> started processing (Worker.pyo|251)
(710) [6] [Sep 10 14:27:20] [ control server ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.7.28' (Worker.pyo|397)
(711) [5] [Sep 10 14:27:20] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(712) [5] [Sep 10 14:27:20] [ opsiclientd ] -----> Executing: backend_exit() (JsonRpc.pyo|134)
(713) [6] [Sep 10 14:27:20] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(714) [5] [Sep 10 14:27:20] [ opsiclientd ] Process 5104 ended with exit code 0 (Windows.pyo|1650)
(715) [5] [Sep 10 14:27:20] [ event processing gui_startup{installation_pending}] Updating action processor (EventProcessing.pyo|398)
(716) [5] [Sep 10 14:27:20] [ event processing gui_startup{installation_pending}] Mounting depot share smb://192.168.26.86/opsi_depot (EventProcessing.pyo|366)
(717) [6] [Sep 10 14:27:20] [ event processing gui_startup{installation_pending}] Added depot '192.168.26.86' to trusted domains (EventProcessing.pyo|375)
(718) [5] [Sep 10 14:27:20] [ event processing gui_startup{installation_pending}] Mounting '\\192.168.26.86\opsi_depot' to 'p:' (Windows.pyo|775)
(719) [3] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (Windows.pyo|788)
(720) [3] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Failed to update action processor: Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (EventProcessing.pyo|531)
(721) [5] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Starting action processor in session '1' on desktop 'winlogon' (EventProcessing.pyo|819)
(722) [6] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Running command "C:\Program Files (x86)\opsi.org\opsi-client-agent\action_processor_starter.exe" "pc1608-00855.kk.local" "*** confidential ***" "4441" "c:\\opsi.org\\log\\opsiclientd.log" "6" "smb://192.168.26.86/opsi_depot" "p:" "pcpatch" "*** confidential ***" "1" "winlogon" "\"C:\Program Files (x86)\opsi.org\opsi-client-agent\\opsi-winst\\winst32.exe\" /opsiservice \"https://192.168.26.86:4447/rpc\" /clientid pc1608-00855.kk.local /username pc1608-00855.kk.local /password *** confidential *** " 10800 "" "" false in session '1' on desktop 'winlogon' (EventProcessing.pyo|298)
(723) [6] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Searching pids of process name winlogon.exe (session id: 1) (Windows.pyo|1447)
(724) [6] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Found process winlogon.exe with matching name (pid 724, session 1) (Windows.pyo|1470)
(725) [5] [Sep 10 14:27:23] [ event processing gui_startup{installation_pending}] Executing: '"C:\Program Files (x86)\opsi.org\opsi-client-agent\action_processor_starter.exe" "pc1608-00855.kk.local" "*** confidential ***" "4441" "c:\\opsi.org\\log\\opsiclientd.log" "6" "smb://192.168.26.86/opsi_depot" "p:" "pcpatch" "*** confidential ***" "1" "winlogon" "\"C:\Program Files (x86)\opsi.org\opsi-client-agent\\opsi-winst\\winst32.exe\" /opsiservice \"https://192.168.26.86:4447/rpc\" /clientid pc1608-00855.kk.local /username pc1608-00855.kk.local /password *** confidential *** " 10800 "" "" false' in session '1' on desktop 'winsta0\winlogon' (Windows.pyo|1634)
(726) [6] [Sep 10 14:27:24] [ event processing gui_startup{installation_pending}] Process startet, pid: 4740 (Windows.pyo|1637)
(727) [6] [Sep 10 14:27:24] [ event processing gui_startup{installation_pending}] Waiting for process ending: 4740 (timeout: 0 seconds) (Windows.pyo|1640)
(728) [3] [Sep 10 14:27:24] [ action_processor_starter.exe ] Failed to read version info from file u'/etc/opsi/version': [Errno 2] No such file or directory: u'/etc/opsi/version' (Backend.pyo|206)
(729) [6] [Sep 10 14:27:24] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x03262DA0> started processing (Worker.pyo|251)
(730) [5] [Sep 10 14:27:24] [ control server ] New session created (Session.pyo|184)
(731) [5] [Sep 10 14:27:24] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(732) [5] [Sep 10 14:27:24] [ opsiclientd ] -----> Executing: backend_getInterface() (JsonRpc.pyo|134)
(733) [6] [Sep 10 14:27:24] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(734) [6] [Sep 10 14:27:24] [ action_processor_starter.exe ] <JSONRPCBackend(host=u'localhost', deflate=False)>: Connected to service (JSONRPC.pyo|497)
(735) [6] [Sep 10 14:27:24] [ action_processor_starter.exe ] Impersonating network account 'pcpatch' (action_processor_starter.py|98)
(736) [5] [Sep 10 14:27:24] [ action_processor_starter.exe ] Mounting depot share smb://192.168.26.86/opsi_depot (action_processor_starter.py|103)
(737) [6] [Sep 10 14:27:24] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x0328C670> started processing (Worker.pyo|251)
(738) [6] [Sep 10 14:27:24] [ control server ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.7.28' (Worker.pyo|397)
(739) [5] [Sep 10 14:27:24] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(740) [5] [Sep 10 14:27:24] [ opsiclientd ] -----> Executing: setStatusMessage(u'1', u'Verbinde mit Depot-Freigabe smb://192.168.26.86/opsi_depot') (JsonRpc.pyo|134)
(741) [5] [Sep 10 14:27:24] [ opsiclientd ] DEBUG: [<EventProcessingThread(Thread-18, started daemon 3480)>] (Opsiclientd.pyo|431)
(742) [5] [Sep 10 14:27:24] [ opsiclientd ] DEBUG: 1 (Opsiclientd.pyo|433)
(743) [5] [Sep 10 14:27:24] [ opsiclientd ] rpc setStatusMessage: Setting status message to 'Verbinde mit Depot-Freigabe smb://192.168.26.86/opsi_depot' (ControlServer.pyo|541)
(744) [6] [Sep 10 14:27:24] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(745) [5] [Sep 10 14:27:24] [ action_processor_starter.exe ] Mounting '\\192.168.26.86\opsi_depot' to 'p:' (Windows.pyo|775)
(746) [3] [Sep 10 14:27:24] [ action_processor_starter.exe ] Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (Windows.pyo|788)
(747) [2] [Sep 10 14:27:24] [ action_processor_starter.exe ] Traceback: (Logger.pyo|757)
(748) [2] [Sep 10 14:27:24] [ action_processor_starter.exe ] File "action_processor_starter.py", line 109, in <module>
(749) (Logger.pyo|757)
(750) [2] [Sep 10 14:27:24] [ action_processor_starter.exe ] File "OPSI\System\Windows.pyo", line 789, in mount
(751) (Logger.pyo|757)
(752) [2] [Sep 10 14:27:24] [ action_processor_starter.exe ] ==>>> Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (action_processor_starter.py|121)
(753) [6] [Sep 10 14:27:24] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x0326EE18> started processing (Worker.pyo|251)
(754) [6] [Sep 10 14:27:24] [ control server ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.7.28' (Worker.pyo|397)
(755) [5] [Sep 10 14:27:24] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(756) [5] [Sep 10 14:27:24] [ opsiclientd ] -----> Executing: setStatusMessage(u'1', u"Failed to process action requests: Failed to mount '\\\\192.168.26.86\\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')") (JsonRpc.pyo|134)
(757) [5] [Sep 10 14:27:24] [ opsiclientd ] DEBUG: [<EventProcessingThread(Thread-18, started daemon 3480)>] (Opsiclientd.pyo|431)
(758) [5] [Sep 10 14:27:24] [ opsiclientd ] DEBUG: 1 (Opsiclientd.pyo|433)
(759) [5] [Sep 10 14:27:24] [ opsiclientd ] rpc setStatusMessage: Setting status message to 'Failed to process action requests: Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')' (ControlServer.pyo|541)
(760) [6] [Sep 10 14:27:24] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(761) [3] [Sep 10 14:27:24] [ action_processor_starter.exe ] Failed to process action requests: Failed to mount '\\192.168.26.86\opsi_depot': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.') (action_processor_starter.py|128)
(762) [6] [Sep 10 14:27:24] [ control server ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x0328ABC0> started processing (Worker.pyo|251)
(763) [6] [Sep 10 14:27:24] [ control server ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.7.28' (Worker.pyo|397)
(764) [5] [Sep 10 14:27:24] [ control server ] Authorization request from pc1608-00855.kk.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.7.28) (ControlServer.pyo|162)
(765) [5] [Sep 10 14:27:24] [ opsiclientd ] -----> Executing: backend_exit() (JsonRpc.pyo|134)
(766) [6] [Sep 10 14:27:24] [ opsiclientd ] Got result (JsonRpc.pyo|142)
(767) [5] [Sep 10 14:27:24] [ event processing gui_startup{installation_pending}] Process 4740 ended with exit code 0 (Windows.pyo|1650)
(768) [6] [Sep 10 14:27:24] [ event processing gui_startup{installation_pending}] Session id set to 1 (EventProcessing.pyo|173)
Ich weiß nun nicht mehr was ich noch tun könnte. Wisst ihr Rat?
Vielen Dank im voraus!
Grüße,
Valentino