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 9 installation failed Sep 22, 2023 in 1m 19s

Test_unattended

Below you have the stage output

Details

Rhel 9 log


error: package 2>&1 | tee -a /var/log/wazuh-install.log is not installed
--------------------------------
22/09/2023 15:35:24 DEBUG: Checking root permissions.
22/09/2023 15:35:24 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/09/2023 15:35:24 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/09/2023 15:35:24 DEBUG: YUM package manager will be used.
22/09/2023 15:35:24 DEBUG: Installing check dependencies.
22/09/2023 15:35:32 INFO: --- Dependencies ---
22/09/2023 15:35:32 INFO: Installing lsof.
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:01:39 ago on Fri 22 Sep 2023 03:33:54 PM UTC.
Dependencies resolved.
================================================================================
 Package       Arch        Version           Repository                    Size
================================================================================
Installing:
 lsof          x86_64      4.94.0-3.el9      rhel-9-baseos-rhui-rpms      241 k
Installing dependencies:
 libtirpc      x86_64      1.3.3-1.el9       rhel-9-baseos-rhui-rpms       96 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 337 k
Installed size: 826 k
Downloading Packages:
(1/2): lsof-4.94.0-3.el9.x86_64.rpm             4.2 MB/s | 241 kB     00:00    
(2/2): libtirpc-1.3.3-1.el9.x86_64.rpm          1.6 MB/s |  96 kB     00:00    
--------------------------------------------------------------------------------
Total                                           3.6 MB/s | 337 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : libtirpc-1.3.3-1.el9.x86_64                            1/2 
  Installing       : lsof-4.94.0-3.el9.x86_64                               2/2 
  Running scriptlet: lsof-4.94.0-3.el9.x86_64                               2/2 
  Verifying        : lsof-4.94.0-3.el9.x86_64                               1/2 
  Verifying        : libtirpc-1.3.3-1.el9.x86_64                            2/2 
Installed products updated.

Installed:
  libtirpc-1.3.3-1.el9.x86_64              lsof-4.94.0-3.el9.x86_64             

Complete!
22/09/2023 15:35:34 DEBUG: Checking system distribution.
22/09/2023 15:35:34 DEBUG: Detected distribution name: rhel
22/09/2023 15:35:34 DEBUG: Detected distribution version: 9
22/09/2023 15:35:34 DEBUG: Checking Wazuh installation.
22/09/2023 15:35:37 DEBUG: Installing check dependencies.
22/09/2023 15:35:45 DEBUG: Checking system architecture.
22/09/2023 15:35:45 INFO: Verifying that your system meets the recommended minimum hardware requirements.
22/09/2023 15:35:45 DEBUG: CPU cores detected: 2
22/09/2023 15:35:45 DEBUG: Free RAM memory detected: 7605
22/09/2023 15:35:45 INFO: Wazuh web interface port will be 443.
22/09/2023 15:35:45 DEBUG: Checking ports availability.
22/09/2023 15:35:45 DEBUG: Installing prerequisites dependencies.
22/09/2023 15:35:47 DEBUG: Checking curl tool version.
22/09/2023 15:35:47 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:35:47 INFO: Wazuh development repository added.
22/09/2023 15:35:47 INFO: --- Configuration files ---
22/09/2023 15:35:47 INFO: Generating configuration files.
22/09/2023 15:35:47 DEBUG: Creating Wazuh certificates.
22/09/2023 15:35:47 DEBUG: Reading configuration file.
22/09/2023 15:35:47 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:47 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:47 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:48 DEBUG: Creating the root certificate.
.+...+..+......+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+......+.............+.....+...+...+......+.+.....+.......+............+...+..+...+++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++*...+......+......+...............+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...........+...+............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.........+...+...+....+.....+......+..........+..+.+..+.......+.....+.+.....+....+...+............+..+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...............+...+..+.........+....+.....+.......+...........+...+.+......+..+...+..........+..+.+..............+...+................
...+..............+....+.....+...+.......+.....+.+......+...........+.......+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/09/2023 15:35:48 DEBUG: Generating Admin certificates.
22/09/2023 15:35:48 DEBUG: Generating Wazuh indexer certificates.
22/09/2023 15:35:48 DEBUG: Creating the Wazuh indexer certificates.
22/09/2023 15:35:48 DEBUG: Generating certificate configuration.
Ignoring -days without -x509; not generating a certificate
.........+......+......+...+..+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.......+.....+.
.........+.....+...+...+.+..............+.......+..+......+.+..............+.+.....+......+...+....+..+....+.........+.....+.......+.....+............................+..+...+......+.+..............+..
.....+.....+...+....+........+...+.......+..+............+.........+..........+..+...+..........+...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+...+....+.........+..............+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.+............
......+.....+......+..........+.....+...+...+.............+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/09/2023 15:35:49 DEBUG: Generating Filebeat certificates.
22/09/2023 15:35:49 DEBUG: Creating the Wazuh server certificates.
22/09/2023 15:35:49 DEBUG: Generating certificate configuration.
Ignoring -days without -x509; not generating a certificate
........+......+.....+....+.....+...+.+............+..+.+..+...+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+..+............+.+..............+..........+.....+...+..
.....+...+...+............+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..................+.+...+..+....+...+..+.........+....+...+.........+.....+.........+.........+.+..+...+.
.....+.+..+.............+..............+.+...+...........+....+.....+.+......+.........+.......................+.+..+.........+...+...+.......+......+.....+.......+++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++
..+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+.......+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+..+.+..............+.....
.......+.+..+.......+.....+.........+....+..+...+.+..+....+...............+........+............+.+..+............+..........+...+..+......+...+..........+.....+..........+..+....+........+.+..+....+.
..+.....+...+....+..............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/09/2023 15:35:49 DEBUG: Generating Wazuh dashboard certificates.
22/09/2023 15:35:49 DEBUG: Creating the Wazuh dashboard certificates.
22/09/2023 15:35:49 DEBUG: Generating certificate configuration.
Ignoring -days without -x509; not generating a certificate
...........+.............+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+......+..+..
.....+............+.....+...+...+...+...............+....+...+..+......+.+......+...............+............+..................+....................+............+.+.....+......+...+.+.....+.+.....+..
.+......+....+..+.+.....+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+...........+...+......+......+.........+.+...+......+...........+.+.........+........+...+..........+.....+....+......+++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+............+...+.+...........+.......+...............+..+....+.....+....+...+..+.+.....+......+...............+..........+.....+.
..+..........+....................+...+.........+......+....+......+..+.+..+....+...+.....+.+...........+.+.....+..........+.....+...+....+...........+............+....+........+.+..+.......+...+..+..
.+.......+..+.........+..............................+.......+.....+...+.........+.+......+...+..+....+.........+.....+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
22/09/2023 15:35:50 DEBUG: Cleaning certificate files.
22/09/2023 15:35:50 DEBUG: Generating password file.
22/09/2023 15:35:50 DEBUG: Generating random passwords.
22/09/2023 15:35:50 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/09/2023 15:35:50 DEBUG: Extracting Wazuh configuration.
22/09/2023 15:35:50 DEBUG: Reading configuration file.
22/09/2023 15:35:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:35:50 INFO: --- Wazuh indexer ---
22/09/2023 15:35:50 INFO: Starting Wazuh indexer installation.
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

EL-9 - Wazuh                                    7.2 MB/s | 9.9 MB     00:01    
Last metadata expiration check: 0:00:04 ago on Fri 22 Sep 2023 03:35:52 PM UTC.
No match for argument: wazuh-indexer-4.8.0
Error: Unable to find a match: wazuh-indexer-4.8.0
22/09/2023 15:35:58 DEBUG: Checking Wazuh installation.
22/09/2023 15:36:01 ERROR: Wazuh indexer installation failed.
22/09/2023 15:36:01 INFO: --- Removing existing Wazuh installation ---
22/09/2023 15:36:01 DEBUG: Removing GPG key from system.
22/09/2023 15:36:01 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.