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

Warn - No data for internalusers while retrieving configuration for #503

Closed
CarlosALgit opened this issue Oct 29, 2024 · 1 comment
Closed
Labels
level/task Task issue qa_known Issues that are already known by the QA team type/bug Bug issue

Comments

@CarlosALgit
Copy link
Member

Describe the bug
While doing the 4.9.2-rc1 Installation Assistant test, I found a warning in the Wazuh Indexer logs for the Amazon Linux 2023 - Offline as shown below:

[2024-10-29T10:52:56,541][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for internalusers while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)
[2024-10-29T10:52:56,542][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for actiongroups while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)
[2024-10-29T10:52:56,558][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for config while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)
[2024-10-29T10:52:56,560][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for roles while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)
[2024-10-29T10:52:56,561][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for rolesmapping while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)
[2024-10-29T10:52:56,561][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for tenants while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)

To Reproduce
Steps to reproduce the behavior:

  1. Perform the Assisted Offline Installation for Amazon Linux 2023
  2. Check the /var/log/wazuh-indexer/wazuh-indexer-cluster.log

Host/Environment (please complete the following information):

  • OS: Amazon Linux
  • Version 2023

Additional context
As you can see in the referred test, the deployment finished successfully, so it is not a bug that breaks the Wazuh installation process for now.

@AlexRuiz7
Copy link
Member

The Indexer node tried to access the information in the .opendistro_security index before if was initialized. As said, these warnings do not impede the node from starting. We can verify that comparing the logs' timestamps.

29/10/2024 10:53:17 INFO: Wazuh indexer cluster security configuration initialized.
29/10/2024 10:53:17 INFO: Wazuh indexer cluster initialized.
[2024-10-29T10:52:56,541][WARN ][o.o.s.c.ConfigurationLoaderSecurity7] [node-1] No data for internalusers while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT]  (index=.opendistro_security)

These logs have been reported previously, as in here.

This behavior is totally fine and does not represent a bug on the Indexer side.

@AlexRuiz7 AlexRuiz7 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
@rauldpm rauldpm added the qa_known Issues that are already known by the QA team label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue qa_known Issues that are already known by the QA team type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

3 participants