Seite 1 von 2

Problem nach Update: Windows7 Installation bricht ab

Verfasst: 18 Nov 2014, 11:53
von J.Siebold
Hallo,

Seit dem Update auf die aktuelle Opsiversion bricht bei uns das Windows7 Netboot-Product im Linuxboot-Image mit dem Fehler "'NoneType' object is not iterable" ab.

Hier das Traceback:

Code: Alles auswählen

[6] [Nov 18 09:48:04] Adding additional drivers (WindowsDrivers.py|438)
[2] [Nov 18 09:48:05] Traceback: (Logger.py|767)
[2] [Nov 18 09:48:05]      line 1464 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
[2] [Nov 18 09:48:05]      line 268 in '<module>' in file '/tmp/setup.py' (Logger.py|767)
[2] [Nov 18 09:48:05]      line 446 in 'integrateAdditionalWindowsDrivers' in file '/usr/lib/pymodules/python2.7/OPSI/Util/WindowsDrivers.py' (Logger.py|767)
[2] [Nov 18 09:48:05]      ==>>> 'NoneType' object is not iterable (master.py|1512)
[7] [Nov 18 09:48:05] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8b6480c> (master.py|1515)
[7] [Nov 18 09:48:05] ProductId: win7-x64 (master.py|1516)
Haben Sie eine Idee woran das liegen könnte?
Vielen Dank im Voraus

Mit freundlichen Grüßen
Jan Siebold

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 18 Nov 2014, 12:14
von ueluekmen
Hallo,

bitte mal die Ausgaben von:

Code: Alles auswählen

dpkg -l | grep opsi-linux-bootimage
und

Code: Alles auswählen

opsi-package-manager -l win7-x64
checken.

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 18 Nov 2014, 13:15
von J.Siebold
Hier die Ausgaben:

Code: Alles auswählen

ii  opsi-linux-bootimage               20140919-2                   opsi linux bootimage

Code: Alles auswählen

win7-x64                  4.0.1-11                  Windows 7 - x64  
Das Windows7-Paket haben wir nach der Installation meines Wissens nach noch nie upgedatet.
Ich werde versuchen die neueste Version des Produkts zu installieren und anschließend berichten, ob das Problem weiterhin besteht.

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 18 Nov 2014, 15:47
von J.Siebold
Hallo,

Nachdem ich das Windows7 Paket aktualisiert habe, tritt das Problem nicht mehr auf.

Danke für die Hilfe.
Gruß Jan

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 16 Dez 2014, 11:04
von tobgo
Hallo,
auch ich erhalte leider diese Fehlermeldung (mit WinXP und Win7).
Wie hast Du das Paket aktualisiert?
opsi-makeproductfile -n
-> neue Version erstellt
opsi-package-manager -i winxppro-oem_4.0-5.opsi
Kann mir hier jemand weiterhelfen?

Ich habe folgende Versionen:
dpkg -l | grep opsi-linux-bootimage

Code: Alles auswählen

ii  opsi-linux-bootimage                 20140919-2                                      opsi linux bootimage
opsi-package-manager -l winxppro-oem
Product ID Version Name
=====================================================================================================================================================
winxppro-oem 4.0-5 Windows XP professional OEM - x86 - deutsch
bootimage Log
[6] [Dez 16 10:50:15] Adding additional drivers (WindowsDrivers.py|438)
[2] [Dez 16 10:50:16] Traceback: (Logger.py|767)
[2] [Dez 16 10:50:16] line 1464 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
[2] [Dez 16 10:50:16] line 135 in '<module>' in file '/tmp/setup.py' (Logger.py|767)
[2] [Dez 16 10:50:16] line 446 in 'integrateAdditionalWindowsDrivers' in file '/usr/lib/pymodules/python2.7/OPSI/Util/WindowsDrivers.py' (Logger.py|767)
[2] [Dez 16 10:50:16] ==>>> 'NoneType' object is not iterable (master.py|1512)

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 17 Dez 2014, 01:06
von SisterOfMercy
tobgo hat geschrieben:Wie hast Du das Paket aktualisiert?
Already tried opsi-product-updater?

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 17 Dez 2014, 08:36
von tobgo
ich habe das Paket mit

Code: Alles auswählen

opsi-makeproductfile -n
aktualisiert.
Wie meinst Du es mit

Code: Alles auswählen

opsi-product-updater
?
Ich habe an den Windows Paketen eigentlich nichts gemacht.
Müssen die auch aktualisiert werden?

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 17 Dez 2014, 09:16
von ueluekmen
Hi,

geh mal in die Datei:

/etc/opsi/opsi-product-updater.conf

in der Sektion repository_uib, und lösche mal den Wert von excludes. Also den Eintrag: ^win.*

Danach einfach noch mal:

Code: Alles auswählen

opsi-product-updater -vv

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 17 Dez 2014, 10:06
von tobgo
danke für die Info.
Der Befehle

Code: Alles auswählen

opsi-product-updater -vv
lief erfolgreich durch.
Am Ende habe ich jedoch folgende Info erhalten:
Not setting action 'setup' for product 'win7' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win8-x64' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win8' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win81-x64' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win81' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win2008-r2' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win2008-x64' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win2008' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win2012-r2' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'win2012' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'winvista-x64' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'winvista' where installation status 'installed' because auto setup is not allowed for netboot products
Not setting action 'setup' for product 'winxppro' where installation status 'installed' because auto setup is not allowed for netboot products
Per E-Mail habe ich folgende Info erhalten:
Dec 17 09:51:57 Package '/var/lib/opsi/repository/win7_4.0.5-4.opsi' successfully installed
Dec 17 09:51:58 Package '/var/lib/opsi/repository/win8-x64_4.0.5-4.opsi' successfully installed
Dec 17 09:52:00 Package '/var/lib/opsi/repository/win8_4.0.5-4.opsi' successfully installed
Dec 17 09:52:01 Package '/var/lib/opsi/repository/win81-x64_4.0.5-4.opsi' successfully installed
Dec 17 09:52:03 Package '/var/lib/opsi/repository/win81_4.0.5-4.opsi' successfully installed
Dec 17 09:52:05 Package '/var/lib/opsi/repository/win2008-r2_4.0.5-5.opsi' successfully installed
Dec 17 09:52:07 Package '/var/lib/opsi/repository/win2008-x64_4.0.5-4.opsi' successfully installed
Dec 17 09:52:08 Package '/var/lib/opsi/repository/win2008_4.0.5-4.opsi' successfully installed
Dec 17 09:52:10 Package '/var/lib/opsi/repository/win2012-r2_4.0.5-4.opsi' successfully installed
Dec 17 09:52:12 Package '/var/lib/opsi/repository/win2012_4.0.5-4.opsi' successfully installed
Dec 17 09:52:13 Package '/var/lib/opsi/repository/winvista-x64_4.0.5-4.opsi' successfully installed
Dec 17 09:52:15 Package '/var/lib/opsi/repository/winvista_4.0.5-4.opsi' successfully installed
Dec 17 09:58:01 Package '/var/lib/opsi/repository/winxppro_4.0.3-1.opsi' successfully installed
Nun habe ich versucht, nochmals eine Installation zu starten, jedoch erhalte ich weiterhin die Meldung...
Muss ich nach dem Befehl opsi-product-updater -vv noch was aktivieren?

Hier mal die Fehlermeldung:
Bild

Re: Problem nach Update: Windows7 Installation bricht ab

Verfasst: 17 Dez 2014, 11:16
von ueluekmen
Hi,

was sagt denn nun:

Code: Alles auswählen

opsi-package-manager -l win7-x64
Hast du jetzt das Paket 4.0.5-4? Oder noch die 4.0.1-11?