Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning and error messages found in 4.10.0 Alpha-2 OVA #480

Closed
hossam1522 opened this issue Oct 21, 2024 · 2 comments
Closed

Warning and error messages found in 4.10.0 Alpha-2 OVA #480

hossam1522 opened this issue Oct 21, 2024 · 2 comments
Labels
level/task Task issue type/bug Bug issue

Comments

@hossam1522
Copy link
Member

hossam1522 commented Oct 21, 2024

Version Revision Production/Development Component Install type
4.10.0 Alpha 2 Development wazuh-indexer Download

Description

While analyzing logs in wazuh/wazuh#26438 (comment), some new error and warning logs were found in wazuh-indexer. Further investigation is required.

Environment

The environment is the following OVA https://packages-dev.wazuh.com/pre-release/vm/wazuh-4.10.0.ova deployed locally in VirtualBox.

Steps to reproduce

  1. Download the OVA https://packages-dev.wazuh.com/pre-release/vm/wazuh-4.10.0.ova

  2. Deploy it in VirtualBox

  3. Use the following command: grep -R -i -E "error|critical|fatal|warning" /var/log/wazuh-indexer/

Current result

The error and warning logs obtained are the following:

/var/log/wazuh-indexer/wazuh-cluster.log:[2024-10-21T17:55:18,600][WARN ][stderr                   ] [node-1] WARNING: A restricted method in java.lang.foreign.Linker has been called
/var/log/wazuh-indexer/wazuh-cluster.log:[2024-10-21T17:55:18,600][WARN ][stderr                   ] [node-1] WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module
/var/log/wazuh-indexer/wazuh-cluster.log:[2024-10-21T17:55:18,600][WARN ][stderr                   ] [node-1] WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module
/var/log/wazuh-indexer/wazuh-cluster.log:[2024-10-21T17:55:26,150][ERROR][o.o.s.l.BuiltinLogTypeLoader] [node-1] Failed loading builtin log types from disk!
/var/log/wazuh-indexer/wazuh-cluster.log:       at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) [opensearch-cli-2.16.0.jar:2.16.0]

Expected result

These warning and error logs should not appear.

Attachments

@AlexRuiz7
Copy link
Member

@AlexRuiz7
Copy link
Member

Close in favor of #488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
Status: Done
Development

No branches or pull requests

2 participants