Keine Verbindung: NoneType object has no attribute has_key
Verfasst: 10 Mai 2012, 14:47
Hi,
ich habe heute zwei neue Clients installiert (Win 7 Pro 64bit und Windows XP Pro 32bit). Was frueher bestens geklappt hat, resultiert jetzt in einem Client, der beim Starten keine Verbindung mit dem Server aufnehmen kann:
Der opsiclientd versucht mehrere RPC-Verbindungen zu oeffnen, aber alle beenden mit demselben Fehler.
Ein kompletter Block ist soweit ich sehe (C:\tmp\opsiclient.log):
Serverseitig (opsiconfd log fuer den Client im config editor) sieht es etwa so aus
Auf beiden Clients hatte ich opsi komplett geloescht und neu installiert. Die einzige bewusste Aenderung in letzter Zeit war die Aenderung von ResolveHostAddress in /etc/opsi/backends/hostcontrol.conf. Ich habe diese Aenderung rueckgaengig gemacht und OPSI neu gestartet, aber leider ohne Erfolg. Bereits installierte Clients funktionieren weiterhin bestens und OPSI wurde in letzter Zeit nicht aktualisiert. Ebenfalls faellt auf, dass der Connection-Timeout bei den neu installierten Clients 30 Sekunden ist, waehrend die schon installierten Clients alle einen Timeout von 10 Sekunden haben.
Serverseitig installiert sind:
Ich bin gerade etwas ratlos.
frank
ich habe heute zwei neue Clients installiert (Win 7 Pro 64bit und Windows XP Pro 32bit). Was frueher bestens geklappt hat, resultiert jetzt in einem Client, der beim Starten keine Verbindung mit dem Server aufnehmen kann:
Code: Alles auswählen
Failed to connect to config server 'https://MEINSERVER:4447/rpc/rpc': 'NoneType' object has no attribute 'has_key' (OpsiService.pyo|340)
Ein kompletter Block ist soweit ich sehe (C:\tmp\opsiclient.log):
Code: Alles auswählen
[6] [May 10 14:18:45] [ control pipe ] Creating pipe \\.\pipe\opsiclientd (ControlPipe.pyo|253)
[5] [May 10 14:18:45] [ control pipe ] -----> Executing: getBlockLogin() (JsonRpc.pyo|123)
[5] [May 10 14:18:45] [ opsiclientd ] rpc getBlockLogin: blockLogin is 'True' (ControlPipe.pyo|428)
[6] [May 10 14:18:45] [ control pipe ] Got result (JsonRpc.pyo|131)
[5] [May 10 14:18:45] [ control pipe ] -----> Executing: isShutdownRequested() (JsonRpc.pyo|123)
[6] [May 10 14:18:45] [ control pipe ] Got result (JsonRpc.pyo|131)
[6] [May 10 14:18:45] [ control pipe ] Creating pipe \\.\pipe\opsiclientd (ControlPipe.pyo|253)
[5] [May 10 14:18:46] [ control pipe ] -----> Executing: isRebootRequested() (JsonRpc.pyo|123)
[6] [May 10 14:18:46] [ control pipe ] Got result (JsonRpc.pyo|131)
[6] [May 10 14:18:46] [ control pipe ] Creating pipe \\.\pipe\opsiclientd (ControlPipe.pyo|253)
[5] [May 10 14:18:47] [ control pipe ] -----> Executing: getBlockLogin() (JsonRpc.pyo|123)
[5] [May 10 14:18:47] [ opsiclientd ] rpc getBlockLogin: blockLogin is 'True' (ControlPipe.pyo|428)
[6] [May 10 14:18:47] [ control pipe ] Got result (JsonRpc.pyo|131)
[6] [May 10 14:18:47] [ control pipe ] Creating pipe \\.\pipe\opsiclientd (ControlPipe.pyo|253)
[5] [May 10 14:18:47] [ service connection ] Connecting to config server 'https://MEINSERVER:4447/rpc/rpc' #2 (OpsiService.pyo|308)
[5] [May 10 14:18:48] [ control pipe ] -----> Executing: isShutdownRequested() (JsonRpc.pyo|123)
[6] [May 10 14:18:48] [ control pipe ] Got result (JsonRpc.pyo|131)
[6] [May 10 14:18:48] [ control pipe ] Creating pipe \\.\pipe\opsiclientd (ControlPipe.pyo|253)
[6] [May 10 14:18:48] [ service connection ] Verifying modules file signature (JSONRPC.pyo|520)
[3] [May 10 14:18:48] [ service connection ] Failed to connect to config server 'https://MEINSERVER:4447/rpc/rpc': 'NoneType' object has no attribute 'has_key' (OpsiService.pyo|340)
Code: Alles auswählen
[5] [May 10 13:42:57] New session created (session.py|74)
[5] [May 10 13:42:57] Authorization request from host MEINCLIENT@10.11.28.127 (application: opsiclientd version 4.0.68) (workers.py|186)
[5] [May 10 13:42:58] -----> Executing: backend_getInterface() (JsonRpc.py|123)
[5] [May 10 13:42:58] -----> Executing: backend_info() (JsonRpc.py|123)
[5] [May 10 13:42:58] -----> Executing: backend_info() (JsonRpc.py|123)
[5] [May 10 13:42:58] -----> Executing: dispatcher_getConfig() (JsonRpc.py|123)
[5] [May 10 13:43:01] Application 'opsiclientd version 4.0.68' on client '10.11.28.127' did not send cookie (workers.py|161)
Serverseitig installiert sind:
Code: Alles auswählen
sauron:~# dpkg -l | grep -i opsi
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcr
ii opsi-configed 4.0.1.12-1 OPSI config editor
ii opsi-depotserver 4.0.1.10-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110829-1 Linux-Bootimage fuer das Softwareverteilungs
ii opsi-utils 4.0.1.14-1 opsi utils
ii opsiconfd 4.0.1.9-3 opsi configuration service
ii opsipxeconfd 4.0.1.4-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.28-1 opsi python library
sauron:~#
frank