Open andraspavelbaystream opened 2 years ago
Hello @andraspavelbaystream
Do you have the data of the PVCs that you created before starting the migration and the current data of the new PVCs that you created with the previous volume?
Due to the errors that are being logged, it seems that the owner of the service does not have permissions on the previous indexes, so I ask you if you can enter the pod and verify the permissions of the index files.
Hello @vcerenu
Thanks for your reply.
I see the old data before the migration, and the new data is saved well.
From the logs it looks like it is affecting only the wazuh-statistics- and wazuh-monitoring- indicies.
I had the same idea (file permission issue), but for the new, and exisiting data files the permissions are 664 (rw+rw+r), and the user and group is also the "wazuh-indexer". See below.
Where else I can check for permission problems?
Thank you!
Hello @andraspavelbaystream
About the error message:
Sep 7, 2022 @ 16:55:00 INFO Could not check if the index wazuh-statistics-2022.36w exists due to no permissions for create, delete or check
You should check the permissions of the role assigned to the user you use to connect to the Wazuh API (the default user is wazuh_wui) on the index wazuh-statistics-2022.36w. In case you do not have permissions on the index, you should add it.
Regarding the other error, I'm still analyzing.
Hi @vcerenu
Thank you!
I was looking the permissions, spin up a new test environment via version 4.3.7, and checked the indexer permissions. The wazuh_ui_admin and the wazuh_ui_user roles were missing. (see below the entries) I created them using the same config as the test environment, and that did the trick, now the necessary indices are created successfully. I guess this should be added to the migration doc :)
Regarding the other issue with .opendistro-ism-config, no changes, that is still happening.
Thanks!
Hi @vcerenu
Do you have any news on the .opendistro-ism-config issue?
Thank you! Andras
Hello,
I did the upgrade from 4.2 to 4.3 based on the following guide: https://github.com/wazuh/wazuh-kubernetes/blob/migration-doc/upgrade-odfe-indexer.md I have two issues remained.
Issue 1: I have since the upgrade the following error repeteadly in the wazuh indexer:
Issue 2:
I have these errors in the /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log log file repeteadly:
I'd like to solve these two issues, these are the only remained problems in our environment.
Could somebody help me with this please?
Thanks, Andras