Bug: Trying to define syslog leads to strange validation error.

Louis2

Contributor
Joined
Sep 7, 2019
Messages
177
I tried to setup syslog for TrueNAS-SCALE-23.10.1 That does not work. When trying to save the config, based on ^IPV4:portno via UDP^, I get the following error

•VALIDATION
•[EINVAL] advanced_settings_update.isolated_gpu_pci_ids: A. minimum of 1 GPU is required for the host to ensure it functions as desired

So. syslog not working at all :(
Also note that it is not clear to me which IP TrueNas would use, if it would work.
(I assume the GUI-IP, but it would have been logical if the IP was shown / you could define it)

Note that TreNas itself is in my GreenZone and I have some VM's running in different zones / vlan's
 

ABain

Bug Conductor
iXsystems
Joined
Aug 18, 2023
Messages
172
I am not able to reproduce this, I can successfully configure syslog from the UI and receive successfully on my syslog server, I suggest raising a bug report and attaching a debug if this issue is persisting.
 

Louis2

Contributor
Joined
Sep 7, 2019
Messages
177
For further info, at this moment I have one (unused) extra graphic board in the system. TrueNas uses the CPU-graphics and this small board is intended for a VM.

That apart, here some more detailed messages

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/service/config_service.py", line 83, in update rv = await self.middleware._call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/system_advanced/config.py", line 224, in do_update verrors.check() File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check raise self middlewared.service_exception.ValidationErrors: [EINVAL] advanced_settings_update.isolated_gpu_pci_ids: A minimum of 1 GPU is required for the host to ensure it functions as desired.

Let me know how I can attach further debug info
 

Louis2

Contributor
Joined
Sep 7, 2019
Messages
177
For Info.
- I did create a bug for this issue.
- in version 23.10.0.1 it does not work as well. However the error message is different
- in TrueNas core (my other system) syslog is not working as well, but the problem is different there, e..g. syslogd is not running
 
Top