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.7.1 into master #2477

Merged
merged 38 commits into from
Sep 22, 2023

Merge branch 'merge-4.7.0-into-4.7.1' of https://github.com/wazuh/waz…

2eb7e7b
Select commit
Loading
Failed to load commit list.
Merged

Merge 4.7.1 into master #2477

Merge branch 'merge-4.7.0-into-4.7.1' of https://github.com/wazuh/waz…
2eb7e7b
Select commit
Loading
Failed to load commit list.
Wazuh CI / All In One - Rhel 7 installation failed Sep 22, 2023 in 1m 19s

Test_unattended

Below you have the stage output

Details

Rhel 7 log


error: package 2>&1 | tee -a /var/log/wazuh-install.log is not installed
--------------------------------
22/09/2023 15:36:28 DEBUG: Checking root permissions.
22/09/2023 15:36:28 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/09/2023 15:36:28 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/09/2023 15:36:28 DEBUG: YUM package manager will be used.
22/09/2023 15:36:28 DEBUG: Installing check dependencies.
22/09/2023 15:36:35 INFO: --- Dependencies ---
22/09/2023 15:36:35 INFO: Installing lsof.
Loaded plugins: amazon-id, search-disabled-repos
Resolving Dependencies
--> Running 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         rhel-7-server-rhui-rpms       331 k

Transaction Summary
================================================================================
Install  1 Package

Total download 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 
  Verifying  : lsof-4.87-6.el7.x86_64                                       1/1 

Installed:
  lsof.x86_64 0:4.87-6.el7                                                      

Complete!
22/09/2023 15:36:37 DEBUG: Checking system distribution.
22/09/2023 15:36:37 DEBUG: Detected distribution name: rhel
22/09/2023 15:36:37 DEBUG: Detected distribution version: 7
22/09/2023 15:36:37 DEBUG: Checking Wazuh installation.
22/09/2023 15:36:40 DEBUG: Installing check dependencies.
22/09/2023 15:36:48 DEBUG: Checking system architecture.
22/09/2023 15:36:48 INFO: Verifying that your system meets the recommended minimum hardware requirements.
22/09/2023 15:36:48 DEBUG: CPU cores detected: 2
22/09/2023 15:36:48 DEBUG: Free RAM memory detected: 7741
22/09/2023 15:36:48 INFO: Wazuh web interface port will be 443.
22/09/2023 15:36:48 DEBUG: Checking ports availability.
22/09/2023 15:36:48 DEBUG: Installing prerequisites dependencies.
22/09/2023 15:36:49 DEBUG: Checking curl tool version.
22/09/2023 15:36:49 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
22/09/2023 15:36:49 INFO: Wazuh development repository added.
22/09/2023 15:36:49 INFO: --- Configuration files ---
22/09/2023 15:36:49 INFO: Generating configuration files.
22/09/2023 15:36:49 DEBUG: Creating Wazuh certificates.
22/09/2023 15:36:49 DEBUG: Reading configuration file.
22/09/2023 15:36:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:50 DEBUG: Creating the root certificate.
Generating a 2048 bit RSA private key
..........+++
..............................................................................................+++
writing new private key to '/tmp/wazuh-certificates//root-ca.key'
-----
22/09/2023 15:36:50 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
22/09/2023 15:36:50 DEBUG: Generating Wazuh indexer certificates.
22/09/2023 15:36:50 DEBUG: Creating the Wazuh indexer certificates.
22/09/2023 15:36:50 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
22/09/2023 15:36:50 DEBUG: Generating Filebeat certificates.
22/09/2023 15:36:50 DEBUG: Creating the Wazuh server certificates.
22/09/2023 15:36:50 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
22/09/2023 15:36:50 DEBUG: Generating Wazuh dashboard certificates.
22/09/2023 15:36:50 DEBUG: Creating the Wazuh dashboard certificates.
22/09/2023 15:36:50 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
22/09/2023 15:36:51 DEBUG: Cleaning certificate files.
22/09/2023 15:36:51 DEBUG: Generating password file.
22/09/2023 15:36:51 DEBUG: Generating random passwords.
22/09/2023 15:36:51 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/09/2023 15:36:51 DEBUG: Extracting Wazuh configuration.
22/09/2023 15:36:51 DEBUG: Reading configuration file.
22/09/2023 15:36:51 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:51 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:51 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:36:51 INFO: --- Wazuh indexer ---
22/09/2023 15:36:51 INFO: Starting Wazuh indexer installation.
Loaded plugins: amazon-id, search-disabled-repos
No package wazuh-indexer-4.8.0 available.
Error: Nothing to do
22/09/2023 15:36:53 DEBUG: Checking Wazuh installation.
22/09/2023 15:36:57 ERROR: Wazuh indexer installation failed.
22/09/2023 15:36:57 INFO: --- Removing existing Wazuh installation ---
22/09/2023 15:36:57 DEBUG: Removing GPG key from system.
22/09/2023 15:36:57 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.