ich bekomme nach einer Neuinstallation von OPSI 4.3 folgenden Fehler nach der Netboot Produkt Auswahl.
Netboot ist das Produkt Win10-x64 oder auch bei Win11-x64 (beide haben die Software Paketversion 4.2.0.6-7)
Code: Alles auswählen
name 'show_message' is not defined (Logger.py:344)
OS: Ubuntu Server 22.04 mit Updates
Namensauflösung funktioniert
Installiert wurde OPSI genau nach der Anleitung: https://docs.opsi.org/opsi-docs-de/4.3/ ... n/deb.html
Was mich etwas irritiert ist, dass wenn ich unter dem opsi-confided (Windows GUI) einstelle das ohne Nachfrage installiert werden soll (askbeforeinst false) trotzdem danach gefragt wird.
Im opsi-configed ist der Client angelegt und die Einstellung "aksbeforeinst ist hier auch false"
Wo könnte ich noch nachschauen ?
Viele Grüße
Benni
--- Auszug aus dem Log da Dateianhänge nicht funktionieren ---
Code: Alles auswählen
(1116) [6] [2024-04-24 11:51:39.737] [ ] Copying from 'win11-x64/opsisetuplib.py' to '/tmp' (Repository.py:583)
(1117) [7] [2024-04-24 11:51:39.740] [ ] Length of binary data to download: 56654 bytes (Repository.py:817)
(1118) [7] [2024-04-24 11:51:39.741] [ ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/opsisetuplib.py'> to <_io.BufferedWriter name='/tmp/opsisetuplib.py'> (size=56654, dynamic bandwidth=False, max bandwidth=0) (Repository.py:412)
(1119) [6] [2024-04-24 11:51:39.743] [ ] Transfered 55.33 kByte in 0.00 minutes, average speed was 33413.22 kByte/s (Repository.py:459)
(1120) [6] [2024-04-24 11:51:39.743] [ ] Copy done (Repository.py:676)
(1121) [5] [2024-04-24 11:51:39.752] [ ] ############################################################## (setup.py:55)
(1122) [5] [2024-04-24 11:51:39.752] [ ] initOpsiSetupLib() (<string>:20)
(1123) [5] [2024-04-24 11:51:39.752] [ ] OpsiSetupLib $Revision$ (<string>:21)
(1124) [5] [2024-04-24 11:51:39.752] [ ] OpsiSetupLib $Date$ (<string>:22)
(1125) [5] [2024-04-24 11:51:39.752] [ ] nt6.py (setup.py:57)
(1126) [5] [2024-04-24 11:51:39.752] [ ] ############################################################## (setup.py:59)
(1127) [2] [2024-04-24 11:51:40.756] [ ] name 'show_message' is not defined (Logger.py:344)
(1128) Traceback (most recent call last):
(1129) File "run-master", line 1682, in <module>
(1130) File "/tmp/setup.py", line 69, in <module>
(1131) show_message(u"Installing Product: %s_%s-%s" % (productId,productVersion,packageVersion), 10)
(1132) NameError: name 'show_message' is not defined
(1133) [7] [2024-04-24 11:51:40.756] [ ] Backend: <JSONRPCBackend(host=10.255.96.2, compression=True)> (run-master:1737)
(1134) [7] [2024-04-24 11:51:40.756] [ ] ProductId: win11-x64 (run-master:1738)
(1135) [7] [2024-04-24 11:51:40.756] [ ] ClientId: opsi-client.posrv.net (run-master:1739)
(1136) [7] [2024-04-24 11:51:40.756] [ ] ProductOnClient: <ProductOnClient(clientId='opsi-client.posrv.net', productId='win11-x64', installationStatus='unknown', actionRequest='none')> (run-master:1740)
(1137) [6] [2024-04-24 11:51:40.757] [ ] Updating productOnClient: {'targetConfiguration': None, 'installationStatus': 'unknown', 'actionRequest': 'none', 'lastAction': None, 'actionProgress': '', 'actionResult': 'failed', 'productVersion': None, 'packageVersion': None, 'modificationTime': None, 'actionSequence': None, 'productId': 'win11-x64', 'productType': 'NetbootProduct', 'clientId': 'opsi-client.posrv.net', 'type': 'ProductOnClient'} (run-master:1752)
(1138) [7] [2024-04-24 11:51:40.757] [ ] Executing jsonrpc method productOnClient_updateObjects on host 10.255.96.2 (JSONRPC.py:112)
(1139) [7] [2024-04-24 11:51:40.757] [ ] Posting request... (JSONRPC.py:726)
(1140) [7] [2024-04-24 11:51:40.757] [ ] Starting new HTTPS connection (1) to 10.255.96.2:4447 (HTTP.py:521)
(1141) [7] [2024-04-24 11:51:40.757] [ ] Connection established to: 10.255.96.2 (HTTP.py:523)
(1142) [7] [2024-04-24 11:51:40.782] [ ] Closing connection: <http.client.HTTPSConnection object at 0x7f63f179bf10> (HTTP.py:427)
(1143) [5] [2024-04-24 11:51:40.782] [ ] EXITING (run-master:1758)
(1144) [5] [2024-04-24 11:51:40.782] [ ] Writing log to service (run-master:1764)