ich habe heute morgen meinen (Test) OPSI Server aktualisiert (Ubuntu 12.04.5), wodurch auch einige OPSI Pakete (Testing) aktualisiert wurden:
Code: Alles auswählen
Vorbereitung zum Ersetzen von opsi-configed 4.0.5.2.11-1 (durch .../opsi-configed_4.0.5.8-1_all.deb) ...
Ersatz für opsi-configed wird entpackt ...
Vorbereitung zum Ersetzen von python-opsi 4.0.5.17-1 (durch .../python-opsi_4.0.5.18-2_all.deb) ...
Ersatz für python-opsi wird entpackt ...
Vorbereitung zum Ersetzen von opsiconfd 4.0.5.3-1 (durch .../opsiconfd_4.0.5.3-2_all.deb) ...
Stopping opsi config service.... (done).
Ersatz für opsiconfd wird entpackt ...
opsi-configed (4.0.5.8-1) wird eingerichtet ...
python-opsi (4.0.5.18-2) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/opsi/version wird installiert ...
Neue Version der Konfigurationsdatei /etc/opsi/hwaudit/opsihwaudit.conf wird installiert ...
opsiconfd (4.0.5.3-2) wird eingerichtet ...
Starting opsi config service....... (done).
Das hwinvent wird aber mit dem Fehler "(1054, "Unknown column 'sku' in 'where clause'")". abgebrochen
Wenn ich nur das netbootProdukt hwinvent aufrufe erscheint der gleiche Fehler.
Bei einem opsi-setup --init-current-config erscheint mehrmals
No translation for property 'COMPUTER_SYSTEM.sku' found (Backend.py|1497)
Ist da bei der Aktualisierung etwas schief gelaufen, oder sehe ich den offensichtlichen Fehler gerade einfach nicht? Ich denke, dass vermutlich mit der /etc/opsi/hwaudit/opsihwaudit.conf etwas nicht stimmt, weil die beim Update aktualisiert wurde.
Folgende Pakete hab ich installiert:
Code: Alles auswählen
ii opsi-atftpd 0.7.dfsg-4 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.5.8-1 OPSI config editor
ii opsi-depotserver 4.0.5.11-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20150223-1 opsi linux bootimage
ii opsi-utils 4.0.5.6-2 opsi utils
ii opsiconfd 4.0.5.3-2 opsi configuration service
ii opsipxeconfd 4.0.5.3-6 opsi pxe configuration daemon
ii python-opsi 4.0.5.18-2 opsi python library
hwinvent 4.0-1 Hardware Inventarisierung
win2012-r2 4.0.5-7 Windows Server 2012
Folgendes steht im Bootimagelog des Rechners (Ausschnitt)
Code: Alles auswählen
[5] [Jun 08 08:25:11] Sending hardware information to service (setup.py|224)
2448 [7] [Jun 08 08:25:11] Executing jsonrpc method 'auditHardwareOnHost_setObsolete' on host lxopsitest.blub.bla (JSONRPC.py|111)
2449 [7] [Jun 08 08:25:11] Starting new HTTPS connection (0) to lxopsitest.blub.bla:4447 (HTTP.py|589)
2450 [7] [Jun 08 08:25:11] Connection established to: lxopsitest.blub.bla (HTTP.py|602)
2451 [7] [Jun 08 08:25:11] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
2452 [7] [Jun 08 08:25:11] Closing connection: <httplib.HTTPSConnection instance at 0x88f2ccc> (HTTP.py|516)
2453 [7] [Jun 08 08:25:11] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|686)
2454 [7] [Jun 08 08:25:11] Expecting compressed data from server (JSONRPC.py|690)
2455 [2] [Jun 08 08:25:11] Traceback: (Logger.py|767)
2456 [2] [Jun 08 08:25:11] line 101 in 'processResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
2457 [2] [Jun 08 08:25:11] ==>>> (1054, "Unknown column 'sku' in 'where clause'") (JSONRPC.py|105)
2458 [2] [Jun 08 08:25:12] Traceback: (Logger.py|767)
2459 [2] [Jun 08 08:25:12] line 1471 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
2460 [2] [Jun 08 08:25:12] line 225 in '<module>' in file '/tmp/setup.py' (Logger.py|767)
2461 [2] [Jun 08 08:25:12] line 1 in 'auditHardwareOnHost_setObsolete' in file '<string>' (Logger.py|767)
2462 [2] [Jun 08 08:25:12] line 638 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
2463 [2] [Jun 08 08:25:12] line 133 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
2464 [2] [Jun 08 08:25:12] line 119 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|767)
2465 [2] [Jun 08 08:25:12] ==>>> (1054, "Unknown column 'sku' in 'where clause'") (master.py|1519)
2466 [7] [Jun 08 08:25:12] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8dd1f8c> (master.py|1522)
2467 [7] [Jun 08 08:25:12] ProductId: win2012-r2 (master.py|1523)
2468 [7] [Jun 08 08:25:12] ClientId: win7opsitest.blub.bla (master.py|1524)
2469 [7] [Jun 08 08:25:12] ProductOnClient: <ProductOnClient clientId 'win7opsitest.blub.bla', productId 'win2012-r2', installationStatus 'unknown', actionRequest 'none'> (master.py|1525)
2470 [6] [Jun 08 08:25:12] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'win7opsitest.blub.bla', 'modificationTime': None, 'actionRequest': u'none', 'targetConfigur ation': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'pro ductId': u'win2012-r2'} (master.py|1536)
Danke und viele Grüße
Kathrin