Besides, this PR makes the /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml file point to 127.0.0.1 IP address instead of localhost when an AIO installation is performed using the WIA.
This fix avoids:
The WIA getting stuck in the Wazuh indexer installation.
Description
The aim of this PR is to revert the changes of the following PR: https://github.com/wazuh/wazuh-packages/pull/2422
Besides, this PR makes the
/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
file point to127.0.0.1
IP address instead oflocalhost
when an AIO installation is performed using the WIA.This fix avoids:
Logs example
Tests
Manual testing in RHEL9 (system which generated the error) was done here: https://github.com/wazuh/wazuh-packages/issues/2771#issuecomment-1909815151
:green_circle: CentOS 7: https://ci.wazuh.info/job/Test_unattended/5160/ :green_circle: Ubuntu Bionic: https://ci.wazuh.info/job/Test_unattended/5162/ :green_circle: Ubuntu Xenial: https://ci.wazuh.info/job/Test_unattended/5163/ :green_circle: AL2: https://ci.wazuh.info/job/Test_unattended/5165/ :green_circle: RHEL7: https://ci.wazuh.info/job/Test_unattended/5166/ :green_circle: RHEL8: https://ci.wazuh.info/job/Test_unattended/5168/ :green_circle: Ubuntu Focal: https://ci.wazuh.info/job/Test_unattended/5169/console :green_circle: CentOS 8: https://ci.wazuh.info/job/Test_unattended/5170/console
After ingressing a Wazuh dashboard instance of the Test unattended distributed, the health check was completely successful:![image](https://github.com/wazuh/wazuh-jenkins/assets/72193239/d15fbd24-fc0f-4e3b-830b-f1277d0079c9)
The unattended distributed failed because of other errors: https://ci.wazuh.info/job/Test_unattended_distributed/629/consoleFull To check if these errors are generated by this change or not, another distributed test has been performed and it generates the same errors, so they are not related to this development: https://ci.wazuh.info/job/Test_unattended_distributed/631/consoleFull