Some errors when using opsi-configed

Antworten
Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Some errors when using opsi-configed

Beitrag von Taomyn »

Hello,

While looking around various things I noticed that the following was being reported in the error log whenever I used opsi-configed (Windows version, 4.1.9.11.1 (2021/10/01)):

Code: Alles auswählen

 [3] [2022-06-01 14:19:28,985] [192.168.1.30    ] Backend configuration error: You have tried to execute a method, that will not work with filebackend.

Code: Alles auswählen

Traceback (most recent call last):
  File "opsiconfd/application/jsonrpc.py", line 546, in process_rpcs
  File "opsiconfd/application/jsonrpc.py", line 518, in process_rpc
  File "starlette/concurrency.py", line 39, in run_in_threadpool
  File "anyio/to_thread.py", line 28, in run_sync
  File "anyio/_backends/_asyncio.py", line 818, in run_sync_in_worker_thread
  File "anyio/_backends/_asyncio.py", line 754, in run
  File "opsiconfd/application/jsonrpc.py", line 452, in execute_rpc
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Manager/AccessControl.py", line 429, in _executeMethodProtected
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Base/Extended.py", line 126, in _executeMethod
  File "<string>", line 1, in getRawData
  File "OPSI/Backend/Manager/Dispatcher.py", line 199, in _dispatchMethod
  File "OPSI/Backend/File.py", line 1257, in getRawData
opsicommon.exceptions.BackendConfigurationError: Backend configuration error: You have tried to execute a method, that will not work with filebackend.

Code: Alles auswählen

[4] [2022-06-01 14:19:29,036] [192.168.1.30    ] Client 192.168.1.30 (opsi config editor 4.1.9.11.1) is calling deprecated method 'getPossibleMethods_listOfHashes'
[5] [2022-06-01 14:19:29,052] [192.168.1.30    ] JSONRPC request: method=getPossibleMethods_listOfHashes, num_params=0, duration=0.0158, error=False, num_results=399
[4] [2022-06-01 14:19:29,094] [192.168.1.30    ] Client 192.168.1.30 (opsi config editor 4.1.9.11.1) is calling deprecated method 'getOpsiInformation_hash'

Code: Alles auswählen

[3] [2022-06-01 14:19:36,235] [192.168.1.30    ] No translation file found for language en_GB, falling back to en_US
Are these known about and can they be fixed on my side?
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: Some errors when using opsi-configed

Beitrag von r.roeder »

Hi,

the "error" "You have tried to execute a method .. " is provoked by the check if the mysql backend is really used. The configed cannot state this in another way.

I agree that this log entry is somewhat irritating.

Regards
Rupert


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten