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

Merge 4.8.1 into 4.8.2 #2750

Merged
merged 22 commits into from
Jan 8, 2024

Fix source branch version

18e8de9
Select commit
Loading
Failed to load commit list.
Merged

Merge 4.8.1 into 4.8.2 #2750

Fix source branch version
18e8de9
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Wazuh CI / All In One - Centos 7 installation failed Jan 5, 2024 in 1m 9s

Test_unattended

Below you have the stage output

Details

Centos 7 log



--------------------------------
05/01/2024 21:10:59 DEBUG: Checking root permissions.
05/01/2024 21:10:59 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.2
05/01/2024 21:10:59 INFO: Verbose logging redirected to /var/log/wazuh-install.log
05/01/2024 21:10:59 DEBUG: YUM package manager will be used.
05/01/2024 21:10:59 DEBUG: Checking system distribution.
05/01/2024 21:10:59 DEBUG: Detected distribution name: centos
05/01/2024 21:10:59 DEBUG: Detected distribution version: 7
05/01/2024 21:10:59 DEBUG: Checking Wazuh installation.
05/01/2024 21:11:05 DEBUG: Installing check dependencies.
05/01/2024 21:11:10 INFO: --- Dependencies ---
05/01/2024 21:11:10 INFO: Installing lsof.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install.sh base: downl
oad.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install.sh epel: forksystems.mm.fcix.net builder.sh cert_tool common_function
s config Development-guide.md install_functions passwords_tool wazuh-install.sh extras: download.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passw
ords_tool wazuh-install.sh updates: download.cf.centos.org Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resoluti
on Dependencies Resolved ================================================================================ Package Arch Version Repository Size =========================================================
======================= Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summary ================================================================================ Install 1 Package Total downl
oad size: 331 k Installed size: 927 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Ve
rifying : 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 builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install.sh base: downl
oad.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install.sh epel: forksystems.mm.fcix.net builder.sh cert_tool common_function
s config Development-guide.md install_functions passwords_tool wazuh-install.sh extras: download.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passw
ords_tool wazuh-install.sh updates: download.cf.centos.org Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be installed --> Finished Dependency Resoluti
on Dependencies Resolved ================================================================================ Package Arch Version Repository Size =========================================================
======================= Installing: lsof x86_64 4.87-6.el7 base 331 k Transaction Summary ================================================================================ Install 1 Package Total downl
oad size: 331 k Installed size: 927 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-6.el7.x86_64 1/1 Ve
rifying : lsof-4.87-6.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-6.el7 Complete!
05/01/2024 21:11:12 DEBUG: Checking system architecture.
05/01/2024 21:11:12 INFO: Verifying that your system meets the recommended minimum hardware requirements.
05/01/2024 21:11:12 DEBUG: CPU cores detected: 2
05/01/2024 21:11:12 DEBUG: Free RAM memory detected: 7742
05/01/2024 21:11:12 INFO: Wazuh web interface port will be 443.
05/01/2024 21:11:12 DEBUG: Checking ports availability.
05/01/2024 21:11:13 DEBUG: Installing prerequisites dependencies.
05/01/2024 21:11:14 DEBUG: Checking curl tool version.
05/01/2024 21:11:14 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
05/01/2024 21:11:15 INFO: Wazuh development repository added.
05/01/2024 21:11:15 INFO: --- Configuration files ---
05/01/2024 21:11:15 INFO: Generating configuration files.
05/01/2024 21:11:15 DEBUG: Creating Wazuh certificates.
05/01/2024 21:11:15 DEBUG: Reading configuration file.
05/01/2024 21:11:15 DEBUG: Creating the root certificate.
Generating a 2048 bit RSA private key
....................................+++
...........+++
writing new private key to '/tmp/wazuh-certificates//root-ca.key'
-----
05/01/2024 21:11:15 DEBUG: Generating Admin certificates.
Generating RSA private key, 2048 bit long modulus
...+++
...........+++
e is 65537 (0x10001)
Signature ok
subject=/C=US/L=California/O=Wazuh/OU=Wazuh/CN=admin
Getting CA Private Key
05/01/2024 21:11:15 DEBUG: Generating Wazuh indexer certificates.
05/01/2024 21:11:15 DEBUG: Creating the Wazuh indexer certificates.
05/01/2024 21:11:15 DEBUG: Generating certificate configuration.
Generating a 2048 bit RSA private key
...............................+++
...............................................................+++
writing new private key to '/tmp/wazuh-certificates//wazuh-indexer-key.pem'
-----
Signature ok
subject=/C=US/L=California/O=Wazuh/OU=Wazuh/CN=wazuh-indexer
Getting CA Private Key
05/01/2024 21:11:15 DEBUG: Generating Filebeat certificates.
05/01/2024 21:11:15 DEBUG: Creating the Wazuh server certificates.
05/01/2024 21:11:15 DEBUG: Generating certificate configuration.
Generating a 2048 bit RSA private key
......+++
.....+++
writing new private key to '/tmp/wazuh-certificates//wazuh-server-key.pem'
-----
Signature ok
subject=/C=US/L=California/O=Wazuh/OU=Wazuh/CN=wazuh-server
Getting CA Private Key
05/01/2024 21:11:15 DEBUG: Generating Wazuh dashboard certificates.
05/01/2024 21:11:15 DEBUG: Creating the Wazuh dashboard certificates.
05/01/2024 21:11:15 DEBUG: Generating certificate configuration.
Generating a 2048 bit RSA private key
.............................+++
.............................................................+++
writing new private key to '/tmp/wazuh-certificates//wazuh-dashboard-key.pem'
-----
Signature ok
subject=/C=US/L=California/O=Wazuh/OU=Wazuh/CN=wazuh-dashboard
Getting CA Private Key
05/01/2024 21:11:16 DEBUG: Cleaning certificate files.
05/01/2024 21:11:16 DEBUG: Generating password file.
05/01/2024 21:11:16 DEBUG: Generating random passwords.
05/01/2024 21:11:16 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
05/01/2024 21:11:16 DEBUG: Extracting Wazuh configuration.
05/01/2024 21:11:16 DEBUG: Reading configuration file.
05/01/2024 21:11:16 INFO: --- Wazuh indexer ---
05/01/2024 21:11:16 INFO: Starting Wazuh indexer installation.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: download.cf.centos.org
 * epel: forksystems.mm.fcix.net
 * extras: download.cf.centos.org
 * updates: download.cf.centos.org
No package wazuh-indexer-4.8.2 available.
Error: Nothing to do
05/01/2024 21:11:18 DEBUG: Checking Wazuh installation.
05/01/2024 21:11:20 ERROR: Wazuh indexer installation failed.
05/01/2024 21:11:20 INFO: --- Removing existing Wazuh installation ---
05/01/2024 21:11:20 DEBUG: Removing GPG key from system.
05/01/2024 21:11:20 INFO: --- Dependencies ---
05/01/2024 21:11:20 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!
05/01/2024 21:11:22 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.