Seite 1 von 1

[gelöst] unexpected keyword argument 'auditHardwareOnHosts'

Verfasst: 28 Dez 2012, 14:27
von Foxi352
Hallo,

Ich bin ganz neu bei OPSI. Hab das Produkt gester runtergeladen um eventuell unser "MDT2010 Healthcare" damit zu ersetzen. Auf den ersten Blick bin ich begeistert, musste die Begeisterung jedoch beim Versuch unseren ersten Win7-64bit enterprise zu installieren etwas bremsen :-)

PC: Fujistsu ESPRIMO Q910

OPSI Vm runtergeladen und auf ESXi 5.1 installiert. Alles wie in opsi-getting-started gemacht. Keine grösseren Probleme. Beim ersten Netboot zur Windows7 64bit installation war irgendein Fehler dass die netboot-image >= 20111114 sein müsste. Forumsuche -> uib.de archiv -> xUbuntu 10.04 netboot .deb runtergeladen. Problem gelöst.

Jedoch beim netboot installieren eines Windows 7 64bit enterprise edition hängt er immer mit folgender Fehlermeldung:

Code: Alles auswählen

[2] [Dez 28 14:08:03] Traceback: (Logger.py|742)
[2] [Dez 28 14:08:03]      line 1387 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|742)
[2] [Dez 28 14:08:03]      line 267 in '<module>' in file '/tmp/setup.py' (Logger.py|742)
[2] [Dez 28 14:08:03]      ==>>> integrateAdditionalWindowsDrivers() got an unexpected keyword argument 'auditHardwareOnHosts' (master.py|1435)
Habe ich was falsch gemacht ??

Re: unexpected keyword argument 'auditHardwareOnHosts'

Verfasst: 28 Dez 2012, 15:17
von d.oertel
Hi,

die Pakete und Produkte auf dem Server müssen aktuell sein:
http://download.uib.de/opsi4.0/doc/html ... fig-update
und
http://download.uib.de/opsi4.0/doc/html ... l-products
und dann nochmal probieren.

gruß
d.oertel

Re: unexpected keyword argument 'auditHardwareOnHosts'

Verfasst: 28 Dez 2012, 15:26
von Foxi352
Hallo,

Habe ich eigentlich gemacht. Wie gesagt, habe mich genau an das getting-started gehalten (denke ich mal). Ich hab nur das opsi-linux-bootimage selbst geupdated weil er ansonsten gemeckert hat dass das bootimage zu alt wäre.

Code: Alles auswählen

root@srvopsi:/opt/pcbin/install/win7-x64# dpkg -l | grep opsi
ii  opsi-atftpd                           0.7.dfsg-1.7                                    advanced TFTP server - opsi version with pcre, fifo and max-blks
ii  opsi-configed                         4.0.1.17-2                                      OPSI config editor
ii  opsi-depotserver                      4.0.1.11-1                                      opsi depotserver configuration package
ii  opsi-linux-bootimage                  20111114-1                                      opsi linux bootimage
ii  opsi-utils                            4.0.1.15-1                                      opsi utils
ii  opsiconfd                             4.0.1.9-4                                       opsi configuration service
ii  opsipxeconfd                          4.0.1.5-1                                       opsi pxe configuration daemon
ii  python-opsi                           4.0.1.36-1                                      opsi python library
und hier

Code: Alles auswählen

root@srvopsi:/opt/pcbin/install/win7-x64# opsi-product-updater -i -vv
Zsync command found: /usr/bin/zsync
Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
Disabling mysql backend and license management module: no customer in modules file
Reading config file '/etc/opsi/opsi-product-updater.conf'
Getting installed products
Getting info for local packages in '/var/lib/opsi/repository'
Getting package infos from repository 'http://download.uib.de'
config-win-base_4.0.1-1.opsi - installation not required: installed version '4.0.1-1' of product 'config-win-base' is up to date
hwaudit_4.0.5-1.opsi - installation not required: installed version '4.0.5-1' of product 'hwaudit' is up to date
javavm_1.6.0.33-2.opsi - installation not required: installed version '1.6.0.33-2' of product 'javavm' is up to date
jedit_4.5.2-2.opsi - installation not required: installed version '4.5.2-2' of product 'jedit' is up to date
opsi-adminutils_4.0.2.1-2.opsi - installation not required: installed version '4.0.2.1-2' of product 'opsi-adminutils' is up to date
opsi-client-agent_4.0.2.1-2.opsi - installation not required: installed version '4.0.2.1-2' of product 'opsi-client-agent' is up to date
opsi-template-with-admin_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template-with-admin' is up to date
opsi-template_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template' is up to date
opsi-winst-test_4.11.3-3.opsi - installation not required: installed version '4.11.3-3' of product 'opsi-winst-test' is up to date
opsi-winst_4.11.3.3-1.opsi - installation not required: installed version '4.11.3.3-1' of product 'opsi-winst' is up to date
shutdownwanted_1.0-4.opsi - installation not required: installed version '1.0-4' of product 'shutdownwanted' is up to date
swaudit_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'swaudit' is up to date
hwinvent_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'hwinvent' is up to date
memtest86_3.5b-1.opsi - installation not required: installed version '3.5b-1' of product 'memtest86' is up to date
ntfs-restore-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-restore-image' is up to date
ntfs-write-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-write-image' is up to date
win2k_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2k' is up to date
win7-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win7-x64' is up to date
win7_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win7' is up to date
win2003-r2-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2003-r2-x64' is up to date
win2003_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2003' is up to date
win2008-r2_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008-r2' is up to date
win2008-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008-x64' is up to date
win2008_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'win2008' is up to date
winvista-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winvista-x64' is up to date
winvista_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winvista' is up to date
winxppro-x64_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winxppro-x64' is up to date
winxppro_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'winxppro' is up to date
wipedisk_1.0-2.opsi - installation not required: installed version '1.0-2' of product 'wipedisk' is up to date
Allerdings gibt das aptitude update einen Fehler aus. Ich weiss nicht ob es damit zusammenhängt ?

Code: Alles auswählen

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://download.opensuse.org ./ Release: The following signatures were invalid: KEYEXPIRED 1348998505
Grüsse aus Luxemburg,

Foxi352

Re: unexpected keyword argument 'auditHardwareOnHosts'

Verfasst: 28 Dez 2012, 15:42
von Foxi352
Hab jetzt mal den Key geupdated mit

Code: Alles auswählen

wget -O - http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/xUbuntu_10.04/Release.key | apt-key add -
Danach hat das update auch ALLE Packate geupdated :-)

Code: Alles auswählen

root@srvopsi:/opt/pcbin/install/win7-x64# dpkg -l | grep opsi
ii  opsi-atftpd                           0.7.dfsg-2.1                                    advanced TFTP server - opsi version with pcre, fifo and max-blks
ii  opsi-configed                         4.0.2.5.8-1                                     OPSI config editor
ii  opsi-depotserver                      4.0.2.3-1                                       opsi depotserver configuration package
ii  opsi-linux-bootimage                  20120728-1                                      opsi linux bootimage
ii  opsi-utils                            4.0.2.3-1                                       opsi utils
ii  opsiconfd                             4.0.2.4-1                                       opsi configuration service
ii  opsipxeconfd                          4.0.2.6-1                                       opsi pxe configuration daemon
ii  python-opsi                           4.0.2.4-1                                       opsi python library
Funktioniert jetzt. Ausser dass er jetzt in WinPE meine Netzwerkkarte (noch) nicht erkennt wegen Treiber u.s.w.
Aber auf jedenfall hat netboot geklappt.

Danke !