Seite 1 von 2
Netboot Probleme seit letztem Update
Verfasst: 26 Okt 2015, 18:16
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!
Re: Netboot Probleme seit letztem Update
Verfasst: 26 Okt 2015, 20:40
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?
Re: Netboot Probleme seit letztem Update
Verfasst: 26 Okt 2015, 23:19
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
Re: Netboot Probleme seit letztem Update
Verfasst: 26 Okt 2015, 23:45
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:
Re: Netboot Probleme seit letztem Update
Verfasst: 26 Okt 2015, 23:50
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!
Re: Netboot Probleme seit letztem Update
Verfasst: 27 Okt 2015, 01:08
von SisterOfMercy
Have you tried this:
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.
Re: Netboot Probleme seit letztem Update
Verfasst: 27 Okt 2015, 01:11
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.
Re: Netboot Probleme seit letztem Update
Verfasst: 27 Okt 2015, 11:32
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.
Re: Netboot Probleme seit letztem Update
Verfasst: 27 Okt 2015, 11:38
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
Re: Netboot Probleme seit letztem Update
Verfasst: 27 Okt 2015, 11:56
von Valentino-46
how can I fix that?! worked all the time until the update