Netboot Probleme seit letztem Update

Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

Hi zusammen,

bekomme immer folgende Meldung beim Netboot Paket
win7-x64 4.0.5-7 Windows 7 - x64

Exception Attribute Error:"TftpContextClientDownload# Object has no attribute 'metrics'" in <bound method Tftp....>

Muss ich das Windows Paket Updaten, ist einiges an Arbeit :-( ?! Oder gibt es eine andere Lösung? Danke euch!
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Netboot Probleme seit letztem Update

Beitrag von SisterOfMercy »

Valentino-46 hat geschrieben:Muss ich das Windows Paket Updaten, ist einiges an Arbeit :-( ?! Oder gibt es eine andere Lösung? Danke euch!
So you have updated the opsi server to 4.0.6, but not run opsi-product-updater?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Re: Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

ii opsi-atftpd 0.7.dfsg-5 i386 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.6.3.5.1-2 all OPSI config editor
ii opsi-depotserver 4.0.6.4-1 all opsi depotserver configuration package
ii opsi-linux-bootimage 20150916-3 i386 opsi bootimage for netboot tasks.
ii opsi-nagios-plugins 4.0.5.1-2 all opsi nagios plugins
ii opsi-utils 4.0.6.9-1 all utilites for working with opsi.
ii opsiconfd 4.0.6.10-7 all opsi configuration service
ii opsipxeconfd 4.0.5.5-2 all opsi pxe configuration daemon
ii python-opsi 4.0.6.28-1 all opsi python library


All up to date
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Netboot Probleme seit letztem Update

Beitrag von SisterOfMercy »

Yes, but your opsi-products are not up to date. That's why I asked if you had run opsi-product-updater.

Code: Alles auswählen

opsi-product-updater --help

Usage: opsi-product-updater [options]
Options:
    -h    Show this help text
    -v    Increase verbosity (can be used multiple times)
    -V    Show version information and exit
    -c    Location of config file
    -i    Install all downloadable packages from configured repositories (ignores excludes)
    -p    List of productIds that will be processed: opsi-winst,opsi-client-agent
The command you need:

Code: Alles auswählen

opsi-product-updater -i -vv
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Re: Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

thanks for your help. But I don't want to have all these packages!! The only package not up to date is the windows7 package in 64 bit. all others are up 2 date or not installed!
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Netboot Probleme seit letztem Update

Beitrag von SisterOfMercy »

Have you tried this:

Code: Alles auswählen

opsi-product-updater -i -p win7-x64 -vv
Or maybe this only works without -i, I don't know, haven't tried.
I just remove the packages I don't need afterwards. For example: I'm never going to install vista or an ancient version of opensuse.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Re: Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

I don't know how the product updater will update the package. There are so much drivers included, passwords, tools and configfiles so thats the last thing I want to do :-) have to check everything.
Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Re: Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

now I've updated the win7-x64 package. one last error occurs. while driver integrating there is a message "[errno -2] name or service not known"
I'll try to find out if the problem is a included driver problem or if it is that problem:

Code: Alles auswählen

(1068)    [5] [Okt 27 11:05:15] pckey not found in kernel cmdline, trying to get boot configuration by tftp (master.py|883)
(1069)    [6] [Okt 27 11:05:15] Connecting to tftpserver 'https://opsiserver:4447/rpc:69' (master.py|885)
(1070)    [6] [Okt 27 11:05:15] Trying to download pxelinux configuration file 'linux/pxelinux.cfg/01-b8-ca-3a-a5-d2-79' (master.py|889)
(1071)    [3] [Okt 27 11:05:15] Failed to get boot configuration from tftp server: [Errno -2] Name or service not known (master.py|951)
after the error message the computer reboots and setup goes on.
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Netboot Probleme seit letztem Update

Beitrag von m.radtke »

The booimage tries to get the cmdline via tftp
this reads the pipe generated by setting a product on setup, which results in an error becasue the pipe gets deleted after it has been read by the pxeclient

so your pckey is not written into the pxe pipe while setting a client on setup


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


Valentino-46
Beiträge: 284
Registriert: 05 Aug 2011, 14:24

Re: Netboot Probleme seit letztem Update

Beitrag von Valentino-46 »

how can I fix that?! worked all the time until the update
Antworten