[gelöst] paket opsi-wan-config-on/off schlägt fehl

Antworten
obstesser
Beiträge: 31
Registriert: 23 Feb 2017, 11:39

[gelöst] paket opsi-wan-config-on/off schlägt fehl

Beitrag von obstesser »

Hallo UIB-Team,

bisher ließen sich die Pakete erfolgreich nutzen, nun leider nicht mehr. Es sind alle aktuellen OPSI-Updates per package-updater installiert.

Was sollte passieren?
Paket opsi-wan-config-on bzw. opsi-wan-config-on sollten nach dem Setzen auf "setup" erfolgreich durchlaufen.

Was ist passiert?
Pakete opsi-wan-config-on bzw. opsi-wan-config-off schlagen fehl.

Sind im Log Fehlermeldungen zu sehen?

Ja, hier für opsi-wan-config-on (bei opsi-wan-config-off ergibt sich der gleiche Fehler):

Code: Alles auswählen

[6] [Mai 28 20:36:33:409] [opsi-wan-config-on]   Calling opsi service on existing connection at https://opsi-server-fqdn:4447
[6] [Mai 28 20:36:33:479] [opsi-wan-config-on]   JSON Bench for configState_updateObjects "params":[],"id":1} Start: 20:36:33:409 Time: 00:00:00:070
[3] [Mai 28 20:36:33:479] [opsi-wan-config-on]   Error: retrieveJSONObject --- opsi service problem ----> {"message":"configState_updateObjects() takes exactly 2 arguments (1 given)","class":"TypeError"}
[3] [Mai 28 20:36:33:480] [opsi-wan-config-on]   Received (first 512): {"id": 1, "result": null, "error": {"message": "configState_updateObjects() takes exactly 2 arguments (1 given)", "class": "TypeError"}}
[6] [Mai 28 20:36:33:480] [opsi-wan-config-on]   JSON result:
[6] [Mai 28 20:36:33:480] [opsi-wan-config-on] If
[6] [Mai 28 20:36:33:480] [opsi-wan-config-on]   errorsOccuredSinceMark > 0   <<< result true
[6] [Mai 28 20:36:33:480] [opsi-wan-config-on] Then
[2] [Mai 28 20:36:33:480] [opsi-wan-config-on]   Error level set to fatal
[6] [Mai 28 20:36:33:480] [opsi-wan-config-on]   Process aborted
[1] [Mai 28 20:36:33:480] [opsi-wan-config-on] ___________________
[1] [Mai 28 20:36:33:480] [opsi-wan-config-on] script finished: failed
[1] [Mai 28 20:36:33:480] [opsi-wan-config-on] 2 errors
[1] [Mai 28 20:36:33:480] [opsi-wan-config-on] 0 warnings
Offenbar wird von "configState_updateObjects()" ein weiteres Argument erwartet, das jedoch fehlt...

Mit welchen Schritten kann das Problem nachgestellt werden?
Setzen eines oder beider Module opsi-wan-config-on bzw. opsi-wan-config-off auf setup sowohl beim "on-demand"-Ausführen bei bereits "fertig installiertem" Client als auch bei kompletter Neuinstallation des Clients. Im letzten Fall laufen alle Pakete sauber durch, bis auf die für wan-config.
Bei welche Versionen der beteiligten Komponenten tritt das Problem auf?
Verbundener opsi-Service: 4.1.1.86
opsi-wan-config-on: 4.0.1-2
opsi-wan-config-off: 4.0.1-1
opsi-client-agent: 4.1.0.0-40
opsi-winst: 4.12.3.12-1

Ich hoffe, das Problem lässt sich nachvollziehen. Bei Bedarf kann ich gerne gezielt weitere Infos liefern.

LG obstesser
Zuletzt geändert von obstesser am 03 Jun 2020, 18:37, insgesamt 1-mal geändert.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: paket opsi-wan-config-on/off schlägt fehl

Beitrag von wolfbardo »



OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
obstesser
Beiträge: 31
Registriert: 23 Feb 2017, 11:39

Re: paket opsi-wan-config-on/off schlägt fehl

Beitrag von obstesser »

Danke! Damit läuft es nun wieder sauber durch.

LG obstesser
Antworten