Problem nach opsiconfd update bei OS installation

Antworten
darky4711
Beiträge: 6
Registriert: 08 Sep 2010, 15:21

Problem nach opsiconfd update bei OS installation

Beitrag von darky4711 »

Hallo,

nach einem update auf opsiconfd 4.0.0.3 tritt bei der os installation über pxe boot folgendes problem auf

Code: Alles auswählen

[5] [Feb 17 15:38:09] Application 'opsi linux bootimage 20110117' on client '##############' did not send cookie (opsiconfd.py|473)
[5] [Feb 17 15:38:09] New session created (opsiconfd.py|1562)
[5] [Feb 17 15:38:09] Authorization request from ##@############### (application: opsi linux bootimage 20110117) (opsiconfd.py|571)
[5] [Feb 17 15:38:09] Backend created: <OPSI.Backend.BackendManager.BackendManager instance at 0x33c67a0> (opsiconfd.py|687)
[5] [Feb 17 15:38:09] -----> Executing: backend_getInterface() (opsiconfd.py|796)
[5] [Feb 17 15:38:09] -----> Executing: getClientIds_list(None, [], None, None, None, None, None, None, None) (opsiconfd.py|796)
[5] [Feb 17 15:38:12] -----> Executing: createClient(u'############.uni-kl.de', u'wiwi.uni-kl.de', None, u'Automatically created by linux bootimage', None, u'00:13:d4:6d:7a:2d') (opsiconfd.py|796)
[3] [Feb 17 15:38:12] Execution error: Bad hostname: '#####.uni-kl.de' (opsiconfd.py|809)
wir können den dhcp server leider nicht verwalten, jedoch scheint die abfrage nach dem namen neu, füher konnte man die client id von hand eingeben.
doch selbst wenn das nicht das problem sein sollte, müsste sich der client mit dem (zugegebenermaßen unsinnvollen und hässlichen namen) erstellen lassen ...

grüße
Benutzeravatar
c.kampka
Ex-uib-Team
Beiträge: 87
Registriert: 09 Aug 2010, 16:27
Kontaktdaten:

Re: Problem nach opsiconfd update bei OS installation

Beitrag von c.kampka »

Hallo,

da trügt der Schein, diese Checks sind in allen opsi 4.0 Versionen aktiviert und lassen sich auch nicht deaktivieren.
Der Fehler rührt in diesem Fall daher, dass der Client mir einem Hostnamen (ich rate einfach mal: der Hostname enthält einen _) im DHCP und vermutlich auch im DNS angelegt wurde,
der allgemein Ungültig ist. Siehe dazu auch http://support.microsoft.com/kb/909264/EN-US.
Eine schelle Lösung ist daher die korrekte Benennung des Clients.

Viele Grüße,
Christian Kampka
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://uib.de
http://opsi.org
darky4711
Beiträge: 6
Registriert: 08 Sep 2010, 15:21

Re: Problem nach opsiconfd update bei OS installation

Beitrag von darky4711 »

danke für die antowort, hab nochmal einiges getestet:

vorab:
der dns eintrag ist it-ipv4-0014.wiwi.uni-kl.de (entspricht der konvention)
der name des pcs ist aber itservice-nb05

init-current-config
neuinstallation von opsiconfd und bootimage hat nichts gebacht,
auch mit der testing version von opsi-linux-bootimage gehts nicht, füher hat das bei diversen problemen geholfen

bei der installation mit dem onetimepassword passiert jedoch was interessantes:

Code: Alles auswählen

 Authorization request from itservice-nb05.wiwi.uni-kl.de@131.246.23.142 (application: opsi linux bootimage 20110117) (opsiconfd.py|571)
[5] [Feb 21 13:38:52] Session 'UrVXqqOn0Zu0AffsKBWRk*****' from ip '131.246.23.142', application 'opsi linux bootimage 20110117' deleted (opsiconfd.py|1595)
[3] [Feb 21 13:38:52] Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: OpsiHostKey authentication failed for host 'itservice-nb05.wiwi.uni-kl.de': wrong key (opsiconfd.py|351)
[5] [Feb 21 13:40:02] Application 'opsi linux bootimage 20110117' on client '131.246.23.142' did not send cookie (opsiconfd.py|473)
[5] [Feb 21 13:40:02] New session created (opsiconfd.py|1562)
[5] [Feb 21 13:40:03] Authorization request from itservice-nb05.wiwi.uni-kl.de@131.246.23.142 (application: opsi linux bootimage 20110117) (opsiconfd.py|571)
[5] [Feb 21 13:40:03] Backend created: <OPSI.Backend.BackendManager.BackendManager instance at 0x262f170> (opsiconfd.py|687)
[5] [Feb 21 13:40:03] -----> Executing: backend_getInterface() (opsiconfd.py|796)
[5] [Feb 21 13:40:04] -----> Executing: getOpsiHostKey(u'it-ipv4-0014.wiwi.uni-kl.de.wiwi.uni-kl.de') (opsiconfd.py|796)
[3] [Feb 21 13:40:04] Execution error: Backend missing data error: Host 'it-ipv4-0014.wiwi.uni-kl.de.wiwi.uni-kl.de' not found (opsiconfd.py|809)
man beachte die letze zeile: er nimmt den fqdn als hostname und hängt die domain nochmal an.

was kann man machen? für alle rechner statische dhcp bindings machen zu lassen wird mir keine freunde machen, außerdem führt das nicht zum gewünschten ergebnis, weil sie den nur in ihrem subnet bekommen, laptops aber durchaus woanders ans netz gesteckt werden
Benutzeravatar
j.schneider
uib-Team
Beiträge: 2046
Registriert: 29 Mai 2008, 15:14

Re: Problem nach opsiconfd update bei OS installation

Beitrag von j.schneider »

Hallo,

bitte einmal die komplette Bootimage-Log posten.


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten