core
core copied to clipboard
Messages with wrong severity appear after editing Gateways.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [V] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [V] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
"Error" and "Warning" messages appear on logs each time a Gateway configuration is made.
To Reproduce
- Go to System>Gateways>Single.
- Choose any Gateway, click "edit".
- No changes needed, just scroll down and click "save"
- Click on "Apply changes".
- Check "System>Log Files>General". Error messages appear (the more Gateways the more error messages appear).
Optional steps to reproduce more related logs ... 3. Enable monitoring on a Gateway unticking "Disable Gateway Monitoring". 4. Add a working Monitor IP. 5. Save and click on "Apply changes". 6. Check "System>Log Files>General" for new error messages and System>Gateways>Log File for new warning messages.
Expected behavior
Logs are showing OPNsense internal normal behavior as error or warning. Apparently the Severity of those messages is wrong.
Describe alternatives you considered
System is working as expected, apparently there is no error at all or nothing to be warned, just normal behavior. There aren't connection drops, there is not bad configuration, all is working as expected.
Lower the severity of that messages. Informational maybe?
Screenshots
In the screenshots I did the optional steps to reproduce more error and warning messages.
Relevant log files
Shown as screenshots
Additional context
To check it was not my ISP connection creating errors I created two more (working) Gateways using WireGuard. The error and warning messages appears in all of them. The connection never dropped in any of the Gateways while having those errors. All is working perfectly, just getting those error and warning messages each time I edit or just save any Gateway setup.
Environment
OPNsense 22.1.6 1x ISP Gateway using ISP VLAN 2x Additional Gateways using WireGuard VPN connections
More or less a side affect of adding the level in 22.1, see also https://github.com/opnsense/core/pull/5541. we do need to change log levels for certain messages (these should be LOG_NOTICE)
This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.