Hallo Thomas,
so, da bin ich wieder, auf ein Neues

.
Erst einmal nochmals Danke für deine Unterstürzung!
Ausgabe:
Code: Alles auswählen
[Jan 14 09:18:24] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 09:18:24] New session created (session.py|77)
[5] [Jan 14 09:18:24] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 09:18:24] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 09:18:24] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 09:18:24] Session '8bf317RMqqKdIebNp3RYp3rUrgXqXxsZ' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 09:18:24] Traceback: (Logger.py|798)
[2] [Jan 14 09:18:24] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 09:18:24] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 09:18:24] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 09:18:24] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
[5] [Jan 14 09:18:26] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 09:18:26] New session created (session.py|77)
[5] [Jan 14 09:18:26] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 09:18:26] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 09:18:26] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 09:18:26] Session 'auPS13gb6fsM9kuHYEvuOaeKCSyUHkTa' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 09:18:26] Traceback: (Logger.py|798)
[2] [Jan 14 09:18:26] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 09:18:26] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 09:18:26] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 09:18:26] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
[5] [Jan 14 09:18:28] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 09:18:28] New session created (session.py|77)
[5] [Jan 14 09:18:28] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 09:18:28] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 09:18:28] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 09:18:28] Session 'FcUVSPxBsKUUXLb0soqAc2BewgORfRpL' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 09:18:28] Traceback: (Logger.py|798)
[2] [Jan 14 09:18:28] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 09:18:28] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 09:18:28] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 09:18:28] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
Dabei ist mir aufgefallen, daß ich im Verzeichnis
/var/log/opsi/opsiconfd/ u.a. die Datei
hp-compaq-6200.pot.loc.log -> /var/log/opsi/opsiconfd/192.168.104.198.log
Das ist der gleiche Client, aber mit reserviertem Eintrag im DHCP.
Wenn ich den Client fest im DHCP/DNS eintrage funktioniert ja auch wie gesagt die Installation via Opsi!
Kann es sein, daß der Opsi-Server dadurch durcheinander kommt?
Wie/wo kann ich die Daten der alten Installation entfernen?
Nun weiter:
Prozess opsiconfd via kill beendet.
Code: Alles auswählen
root@tanke:/var/log/opsi/opsiconfd# sudo -H -u opsiconfd bash -c '/usr/bin/opsiconfd -l 5'
Ausgabe:
Code: Alles auswählen
Got new config
[1] [Jan 14 09:43:33]
==================================================================
= opsi configuration service starting =
================================================================== (Logger.py|888)
[5] [Jan 14 09:43:33] Creating pid file u'/var/run/opsiconfd/opsiconfd.pid' (opsiconfd.py|513)
[5] [Jan 14 09:43:33] Starting opsiconfd main thread (opsiconfd.py|344)
[5] [Jan 14 09:43:33] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|217)
[5] [Jan 14 09:43:33] Running on depot server 'tanke.pot.loc', exporting repository directory (opsiconfd.py|233)
[5] [Jan 14 09:43:33] Running on depot server 'tanke.pot.loc', exporting depot directory (opsiconfd.py|246)
[5] [Jan 14 09:43:33] Added webdav content 'repository' which points to directory '/var/lib/opsi/repository' () (opsiconfd.py|279)
[5] [Jan 14 09:43:33] Added webdav content 'depot' which points to directory '/var/lib/opsi/depot' () (opsiconfd.py|279)
[5] [Jan 14 09:43:33] Added webdav content 'configed' which points to directory '/usr/lib/configed' (u'noauth',) (opsiconfd.py|279)
[5] [Jan 14 09:43:33] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd.py|332)
Weiter geht es dann erst mal nicht!
Wenn ich dann im opsi config editor den Client anklicke und das Netboot Produkt auf Setup setze, erscheinen zusätzlich diese Zeilen:
Code: Alles auswählen
[5] [Jan 14 10:03:24] New session created (session.py|77)
[5] [Jan 14 10:03:24] Application 'opsi config editor 4.1.4.3.3' on client '192.168.104.22' supplied non existing session id: 8uFyeKFqAqcWWu9LE4ZrShDhmJ0LIrND (Worker.py|396)
[5] [Jan 14 10:03:24] Authorization request from opsiadmin@192.168.104.22 (application: opsi config editor 4.1.4.3.3) (workers.py|217)
[5] [Jan 14 10:03:58] -----> Executing: productOnClient_updateObjects([<ProductOnClient(clientId=u'hp-compaq-6200.pot.loc', productId=u'win10-x64', installationStatus=None, actionRequest=u'setup')>]) (JsonRpc.py|133)
[5] [Jan 14 10:04:02] Creating unix socket u'/var/run/opsipxeconfd/opsipxeconfd.socket' (OpsiPXEConfd.py|79)
Nach kurzer Zeit legt sich dann wohl der opsi config editor wieder schlafen:
Code: Alles auswählen
[5] [Jan 14 10:05:58] Session 'IUrmd22NTbKp1OkjnTm3Pn65NwS3KWac' from ip '192.168.104.22', application 'opsi config editor 4.1.4.3.3' expired after 120 seconds (Session.py|199)
[5] [Jan 14 10:05:58] Session 'IUrmd22NTbKp1OkjnTm3Pn65NwS3KWac' from ip '192.168.104.22', application 'opsi config editor 4.1.4.3.3' deleted (Session.py|234)
Ich habe die Konsole weiter offen gelassen und den Client gebootet:
Code: Alles auswählen
[5] [Jan 14 10:15:50] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 10:15:50] New session created (session.py|77)
[5] [Jan 14 10:15:50] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 10:15:50] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 10:15:50] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 10:15:50] Session 'y1wntFgseXp6bNvHyDSNMZrt0x1FfzBl' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 10:15:50] Traceback: (Logger.py|798)
[2] [Jan 14 10:15:50] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 10:15:50] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 10:15:50] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 10:15:50] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
[5] [Jan 14 10:15:52] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 10:15:52] New session created (session.py|77)
[5] [Jan 14 10:15:52] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 10:15:52] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 10:15:52] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 10:15:52] Session 'MrM2LIwc6raW2Vdaxot5xvzc4yNPOiMA' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 10:15:52] Traceback: (Logger.py|798)
[2] [Jan 14 10:15:52] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 10:15:52] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 10:15:52] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 10:15:52] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
[5] [Jan 14 10:15:54] Application 'opsi-linux-bootimage/20210903' on client '192.168.104.220' did not send cookie (workers.py|185)
[5] [Jan 14 10:15:54] New session created (session.py|77)
[5] [Jan 14 10:15:54] Authorization request from host hp-compaq-6200.pot.loc@192.168.104.220 (application: opsi-linux-bootimage/20210903) (workers.py|215)
[4] [Jan 14 10:15:54] Failed to resolve hostname 'hp-compaq-6200.pot.loc': [Errno -2] Name or service not known (workers.py|229)
[2] [Jan 14 10:15:54] Host login attempt with username 'hp-compaq-6200.pot.loc' from ip '192.168.104.220', but name resolves to '[]' (access denied) (workers.py|240)
[5] [Jan 14 10:15:54] Session 'Y7yFeJcqlPCwGcKOyz9kCSzyKGscF44p' from ip '192.168.104.220', application 'opsi-linux-bootimage/20210903' deleted (Session.py|234)
[2] [Jan 14 10:15:54] Traceback: (Logger.py|798)
[2] [Jan 14 10:15:54] File "/usr/lib/python2.7/dist-packages/OPSI/Service/Worker.py", line 289, in _errback
failure.raiseException()
(Logger.py|798)
[2] [Jan 14 10:15:54] File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
(Logger.py|798)
[2] [Jan 14 10:15:54] File "/usr/lib/python2.7/dist-packages/opsiconfd/workers.py", line 294, in _authenticate
raise OpsiAuthenticationError(errorMessage)
(Logger.py|798)
[2] [Jan 14 10:15:54] ==>>> Opsi authentication error: Authentication failure for 'hp-compaq-6200.pot.loc' from '192.168.104.220': Access denied for username 'hp-compaq-6200.pot.loc' from '192.168.104.220' (Worker.py|291)
Tja wie gesagt,ich vermute mittlerweile, daß das Problem darin liegt daß die unterschiedlichen Konfigurationen meines Testclients (unterschiedliche IPs und auch Namen bei gleicher MAC Adresse) zu den Problemen mit der authentication führen.
Leider steht mir bis nächste Woche keine andere Testkiste zur Verfügung. Wie kann ich alle alten Daten des Clients restlos vom Opsi Server entfernen?
Viele Grüße
Tacky