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

Solve bugs when changing passwords in the manager, indexer and dashboard services #2968

Remove admin user from api users. Improve dashboard restart

5fa12c1
Select commit
Loading
Failed to load commit list.
Merged

Solve bugs when changing passwords in the manager, indexer and dashboard services #2968

Remove admin user from api users. Improve dashboard restart
5fa12c1
Select commit
Loading
Failed to load commit list.
Wazuh CI / Distributed Cases - manager - centos - Wazuh indexer installation failed Jun 7, 2024 in 1m 40s

Test_unattended_distributed_cases

Below you have the stage output

Details

centos_7 log




--------------------------------
07/06/2024 13:07:02 DEBUG: Checking root permissions.
07/06/2024 13:07:02 DEBUG: Checking sudo package.
07/06/2024 13:07:02 INFO: Starting Wazuh installation assistant. Wazuh version: 5.0.0
07/06/2024 13:07:02 INFO: Verbose logging redirected to /var/log/wazuh-install.log
07/06/2024 13:07:02 DEBUG: YUM package manager will be used.
07/06/2024 13:07:02 DEBUG: Checking system distribution.
07/06/2024 13:07:02 DEBUG: Detected distribution name: centos
07/06/2024 13:07:02 DEBUG: Detected distribution version: 7
07/06/2024 13:07:02 DEBUG: Installing check dependencies.
07/06/2024 13:07:02 DEBUG: Checking Wazuh installation.
07/06/2024 13:07:02 DEBUG: Checking system architecture.
07/06/2024 13:07:02 INFO: Verifying that your system meets the recommended minimum hardware requirements.
07/06/2024 13:07:02 DEBUG: CPU cores detected: 2
07/06/2024 13:07:02 DEBUG: Free RAM memory detected: 7741
07/06/2024 13:07:02 DEBUG: Installing check dependencies.
07/06/2024 13:07:03 DEBUG: Checking previous certificate existence.
07/06/2024 13:07:03 INFO: --- Dependencies ---
07/06/2024 13:07:03 INFO: Installing lsof.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
07/06/2024 13:07:05 DEBUG: Checking ports availability.
07/06/2024 13:07:05 DEBUG: Installing prerequisites dependencies.
07/06/2024 13:07:05 DEBUG: Checking curl tool version.
07/06/2024 13:07:05 DEBUG: Adding the Wazuh repository.
[wazuh]
gpgcheck=1
gpgkey=https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=EL-${releasever} - Wazuh
baseurl=https://packages-dev.wazuh.com/staging/yum/
protect=1
07/06/2024 13:07:06 INFO: Wazuh development repository added.
07/06/2024 13:07:06 DEBUG: Extracting Wazuh configuration.
07/06/2024 13:07:06 DEBUG: Reading configuration file.
07/06/2024 13:07:06 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:07:06 DEBUG: Checking if 172.31.65.196 is private.
07/06/2024 13:07:06 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:07:06 DEBUG: Checking node names in the configuration file.
07/06/2024 13:07:06 INFO: --- Wazuh indexer ---
07/06/2024 13:07:06 INFO: Starting Wazuh indexer installation.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org No package wazuh-indexer-5.0.
0-* available. Error: Nothing to do
07/06/2024 13:07:08 DEBUG: Checking Wazuh installation.
07/06/2024 13:07:09 ERROR: Wazuh indexer installation failed.
07/06/2024 13:07:09 INFO: --- Removing existing Wazuh installation ---
07/06/2024 13:07:09 DEBUG: Removing GPG key from system.
07/06/2024 13:07:09 INFO: --- Dependencies ---
07/06/2024 13:07:09 INFO: Removing lsof.
Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved =======
========================================================================= Package Arch Version Repository Size ================================================================================ Removing
: lsof x86_64 4.87-6.el7 @base 927 k Transaction Summary ================================================================================ Remove 1 Package Installed size: 927 k Downloading packages: R
unning transaction check Running transaction test Transaction test succeeded Running transaction Erasing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Removed: lsof.x86_64 0:4.87
-6.el7 Complete!
07/06/2024 13:07:10 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.


--------------------------------
07/06/2024 13:07:24 DEBUG: Checking root permissions.
07/06/2024 13:07:24 DEBUG: Checking sudo package.
07/06/2024 13:07:24 INFO: Starting Wazuh installation assistant. Wazuh version: 5.0.0
07/06/2024 13:07:24 INFO: Verbose logging redirected to /var/log/wazuh-install.log
07/06/2024 13:07:24 DEBUG: YUM package manager will be used.
07/06/2024 13:07:24 DEBUG: Checking system distribution.
07/06/2024 13:07:25 DEBUG: Detected distribution name: centos
07/06/2024 13:07:25 DEBUG: Detected distribution version: 7
07/06/2024 13:07:25 DEBUG: Installing check dependencies.
07/06/2024 13:07:25 DEBUG: Checking Wazuh installation.
07/06/2024 13:07:25 DEBUG: Checking system architecture.
07/06/2024 13:07:25 INFO: Verifying that your system meets the recommended minimum hardware requirements.
07/06/2024 13:07:25 DEBUG: CPU cores detected: 2
07/06/2024 13:07:25 DEBUG: Free RAM memory detected: 7741
07/06/2024 13:07:25 DEBUG: Installing check dependencies.
07/06/2024 13:07:26 DEBUG: Checking previous certificate existence.
07/06/2024 13:07:26 INFO: --- Dependencies ---
07/06/2024 13:07:26 INFO: Installing lsof.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
07/06/2024 13:07:28 DEBUG: Checking ports availability.
07/06/2024 13:07:28 DEBUG: Installing prerequisites dependencies.
07/06/2024 13:07:28 DEBUG: Checking curl tool version.
07/06/2024 13:07:28 DEBUG: Adding the Wazuh repository.
[wazuh]
gpgcheck=1
gpgkey=https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=EL-${releasever} - Wazuh
baseurl=https://packages-dev.wazuh.com/staging/yum/
protect=1
07/06/2024 13:07:28 INFO: Wazuh development repository added.
07/06/2024 13:07:28 DEBUG: Extracting Wazuh configuration.
07/06/2024 13:07:28 DEBUG: Reading configuration file.
07/06/2024 13:07:28 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:07:28 DEBUG: Checking if 172.31.65.196 is private.
07/06/2024 13:07:28 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:07:28 DEBUG: Checking node names in the configuration file.
07/06/2024 13:07:28 INFO: --- Wazuh indexer ---
07/06/2024 13:07:28 INFO: Starting Wazuh indexer installation.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org No package wazuh-indexer-5.0.
0-* available. Error: Nothing to do
07/06/2024 13:07:31 DEBUG: Checking Wazuh installation.
07/06/2024 13:07:31 ERROR: Wazuh indexer installation failed.
07/06/2024 13:07:31 INFO: --- Removing existing Wazuh installation ---
07/06/2024 13:07:31 DEBUG: Removing GPG key from system.
07/06/2024 13:07:31 INFO: --- Dependencies ---
07/06/2024 13:07:31 INFO: Removing lsof.
Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved =======
========================================================================= Package Arch Version Repository Size ================================================================================ Removing
: lsof x86_64 4.87-6.el7 @base 927 k Transaction Summary ================================================================================ Remove 1 Package Installed size: 927 k Downloading packages: R
unning transaction check Running transaction test Transaction test succeeded Running transaction Erasing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Removed: lsof.x86_64 0:4.87
-6.el7 Complete!
07/06/2024 13:07:33 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.

--------------------------------
07/06/2024 13:06:35 DEBUG: Checking root permissions.
07/06/2024 13:06:35 DEBUG: Checking sudo package.
07/06/2024 13:06:35 INFO: Starting Wazuh installation assistant. Wazuh version: 5.0.0
07/06/2024 13:06:35 INFO: Verbose logging redirected to /var/log/wazuh-install.log
07/06/2024 13:06:35 DEBUG: YUM package manager will be used.
07/06/2024 13:06:35 DEBUG: Checking system distribution.
07/06/2024 13:06:35 DEBUG: Detected distribution name: centos
07/06/2024 13:06:35 DEBUG: Detected distribution version: 7
07/06/2024 13:06:35 DEBUG: Installing check dependencies.
07/06/2024 13:06:35 DEBUG: Checking Wazuh installation.
07/06/2024 13:06:36 DEBUG: Checking system architecture.
07/06/2024 13:06:36 INFO: Verifying that your system meets the recommended minimum hardware requirements.
07/06/2024 13:06:36 DEBUG: CPU cores detected: 2
07/06/2024 13:06:36 DEBUG: Free RAM memory detected: 7741
07/06/2024 13:06:36 DEBUG: Installing check dependencies.
07/06/2024 13:06:36 DEBUG: Checking previous certificate existence.
07/06/2024 13:06:36 INFO: --- Dependencies ---
07/06/2024 13:06:36 INFO: Installing lsof.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org Resolving Dependencies --> Ru
nning transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===============================================================
================= Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summar
y ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Ru
nning transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
07/06/2024 13:06:38 DEBUG: Checking ports availability.
07/06/2024 13:06:38 DEBUG: Installing prerequisites dependencies.
07/06/2024 13:06:38 DEBUG: Checking curl tool version.
07/06/2024 13:06:38 DEBUG: Adding the Wazuh repository.
[wazuh]
gpgcheck=1
gpgkey=https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=EL-${releasever} - Wazuh
baseurl=https://packages-dev.wazuh.com/staging/yum/
protect=1
07/06/2024 13:06:39 INFO: Wazuh development repository added.
07/06/2024 13:06:39 DEBUG: Extracting Wazuh configuration.
07/06/2024 13:06:39 DEBUG: Reading configuration file.
07/06/2024 13:06:39 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:06:39 DEBUG: Checking if 172.31.65.196 is private.
07/06/2024 13:06:39 DEBUG: Checking if 172.31.89.147 is private.
07/06/2024 13:06:39 DEBUG: Checking node names in the configuration file.
07/06/2024 13:06:39 INFO: --- Wazuh indexer ---
07/06/2024 13:06:39 INFO: Starting Wazuh indexer installation.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org No package wazuh-indexer-5.0.
0-* available. Error: Nothing to do
07/06/2024 13:06:43 DEBUG: Checking Wazuh installation.
07/06/2024 13:06:43 ERROR: Wazuh indexer installation failed.
07/06/2024 13:06:43 INFO: --- Removing existing Wazuh installation ---
07/06/2024 13:06:43 DEBUG: Removing GPG key from system.
07/06/2024 13:06:43 INFO: --- Dependencies ---
07/06/2024 13:06:43 INFO: Removing lsof.
Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved =======
========================================================================= Package Arch Version Repository Size ================================================================================ Removing
: lsof x86_64 4.87-6.el7 @base 927 k Transaction Summary ================================================================================ Remove 1 Package Installed size: 927 k Downloading packages: R
unning transaction check Running transaction test Transaction test succeeded Running transaction Erasing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Removed: lsof.x86_64 0:4.87
-6.el7 Complete!
07/06/2024 13:06:48 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.