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 - Rhel 8 installation failed Jan 5, 2024 in 2m 25s

Test_unattended

Below you have the stage output

Details

Rhel 8 log



--------------------------------
05/01/2024 21:10:47 DEBUG: Checking root permissions.
05/01/2024 21:10:47 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.2
05/01/2024 21:10:47 INFO: Verbose logging redirected to /var/log/wazuh-install.log
05/01/2024 21:10:47 DEBUG: YUM package manager will be used.
05/01/2024 21:10:47 DEBUG: Checking system distribution.
05/01/2024 21:10:47 DEBUG: Detected distribution name: rhel
05/01/2024 21:10:47 DEBUG: Detected distribution version: 8
05/01/2024 21:10:47 DEBUG: Checking Wazuh installation.
05/01/2024 21:10:51 DEBUG: Installing check dependencies.
05/01/2024 21:10:51 DEBUG: CentOS repository file created.
05/01/2024 21:10:51 DEBUG: CentOS repositories added.
05/01/2024 21:11:00 INFO: --- Dependencies ---
05/01/2024 21:11:00 INFO: Installing lsof.
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) Updating Subscrip
tion Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. CentOS Linux 8 - Extras 1
69 kB/s | 10 kB 00:00 CentOS Linux 8 - BaseOS 45 MB/s | 4.6 MB 00:00 CentOS Linux 8 - AppStream 53 MB/s | 8.4 MB 00:00 Dependencies resolved. ==========================================================
====================== Package Architecture Version Repository Size ================================================================================ Installing: lsof x86_64 4.93.2-1.el8 baseos 253 k T
ransaction Summary ================================================================================ Install 1 Package Total download size: 253 k Installed size: 623 k Downloading Packages: lsof-4.93.2
-1.el8.x86_64.rpm 9.5 MB/s | 253 kB 00:00 -------------------------------------------------------------------------------- Total 8.2 MB/s | 253 kB 00:00 warning: /var/cache/dnf/baseos-398269605bdca3dc
/packages/lsof-4.93.2-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY CentOS Linux 8 - BaseOS 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Of
ficial Signing Key) <[email protected]>" Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial Key imported successfully Running transacti
on check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : lsof-4.93.2-1.el8.x86_64 1/1 Running scriptlet: lsof-4.93.2-
1.el8.x86_64 1/1 Verifying : lsof-4.93.2-1.el8.x86_64 1/1 Installed products updated. Installed: lsof-4.93.2-1.el8.x86_64 Complete!
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) Updating Subscrip
tion Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. CentOS Linux 8 - Extras 1
69 kB/s | 10 kB 00:00 CentOS Linux 8 - BaseOS 45 MB/s | 4.6 MB 00:00 CentOS Linux 8 - AppStream 53 MB/s | 8.4 MB 00:00 Dependencies resolved. ==========================================================
====================== Package Architecture Version Repository Size ================================================================================ Installing: lsof x86_64 4.93.2-1.el8 baseos 253 k T
ransaction Summary ================================================================================ Install 1 Package Total download size: 253 k Installed size: 623 k Downloading Packages: lsof-4.93.2
-1.el8.x86_64.rpm 9.5 MB/s | 253 kB 00:00 -------------------------------------------------------------------------------- Total 8.2 MB/s | 253 kB 00:00 warning: /var/cache/dnf/baseos-398269605bdca3dc
/packages/lsof-4.93.2-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY CentOS Linux 8 - BaseOS 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Of
ficial Signing Key) <[email protected]>" Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial Key imported successfully Running transacti
on check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : lsof-4.93.2-1.el8.x86_64 1/1 Running scriptlet: lsof-4.93.2-
1.el8.x86_64 1/1 Verifying : lsof-4.93.2-1.el8.x86_64 1/1 Installed products updated. Installed: lsof-4.93.2-1.el8.x86_64 Complete!
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

96 files removed
05/01/2024 21:11:18 DEBUG: CentOS repositories and key deleted.
05/01/2024 21:11:18 DEBUG: Checking system architecture.
05/01/2024 21:11:18 INFO: Verifying that your system meets the recommended minimum hardware requirements.
05/01/2024 21:11:18 DEBUG: CPU cores detected: 2
05/01/2024 21:11:18 DEBUG: Free RAM memory detected: 7688
05/01/2024 21:11:18 INFO: Wazuh web interface port will be 443.
05/01/2024 21:11:18 DEBUG: Checking ports availability.
05/01/2024 21:11:20 DEBUG: Installing prerequisites dependencies.
05/01/2024 21:11:22 DEBUG: Checking curl tool version.
05/01/2024 21:11:22 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:22 INFO: Wazuh development repository added.
05/01/2024 21:11:22 INFO: --- Configuration files ---
05/01/2024 21:11:22 INFO: Generating configuration files.
05/01/2024 21:11:22 DEBUG: Creating Wazuh certificates.
05/01/2024 21:11:22 DEBUG: Reading configuration file.
05/01/2024 21:11:23 DEBUG: Creating the root certificate.
Generating a RSA private key
.........+++++
...............+++++
writing new private key to '/tmp/wazuh-certificates//root-ca.key'
-----
05/01/2024 21:11:23 DEBUG: Generating Admin certificates.
Generating RSA private key, 2048 bit long modulus (2 primes)
........................+++++
.......+++++
e is 65537 (0x010001)
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
Getting CA Private Key
05/01/2024 21:11:23 DEBUG: Generating Wazuh indexer certificates.
05/01/2024 21:11:23 DEBUG: Creating the Wazuh indexer certificates.
05/01/2024 21:11:23 DEBUG: Generating certificate configuration.
Generating a 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:23 DEBUG: Generating Filebeat certificates.
05/01/2024 21:11:23 DEBUG: Creating the Wazuh server certificates.
05/01/2024 21:11:23 DEBUG: Generating certificate configuration.
Generating a 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:23 DEBUG: Generating Wazuh dashboard certificates.
05/01/2024 21:11:23 DEBUG: Creating the Wazuh dashboard certificates.
05/01/2024 21:11:23 DEBUG: Generating certificate configuration.
Generating a 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:23 DEBUG: Cleaning certificate files.
05/01/2024 21:11:23 DEBUG: Generating password file.
05/01/2024 21:11:23 DEBUG: Generating random passwords.
05/01/2024 21:11:24 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
05/01/2024 21:11:24 DEBUG: Extracting Wazuh configuration.
05/01/2024 21:11:24 DEBUG: Reading configuration file.
05/01/2024 21:11:24 INFO: --- Wazuh indexer ---
05/01/2024 21:11:24 INFO: Starting Wazuh indexer installation.
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Red Hat Update Infrastructure 3 Client Configur  82 kB/s | 4.4 kB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - AppStre 133 MB/s |  58 MB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS  158 MB/s |  64 MB     00:00    
EL-8 - Wazuh                                     20 MB/s |  14 MB     00:00    
No match for argument: wazuh-indexer-4.8.2
Error: Unable to find a match: wazuh-indexer-4.8.2
05/01/2024 21:12:19 DEBUG: Checking Wazuh installation.
05/01/2024 21:12:24 ERROR: Wazuh indexer installation failed.
05/01/2024 21:12:24 INFO: --- Removing existing Wazuh installation ---
05/01/2024 21:12:24 DEBUG: Removing GPG key from system.
05/01/2024 21:12:24 INFO: --- Dependencies ---
05/01/2024 21:12:24 INFO: Removing lsof.
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) Updating Subscrip
tion Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Dependencies resolved. ==
============================================================================== Package Architecture Version Repository Size ============================================================================
==== Removing: lsof x86_64 4.93.2-1.el8 @baseos 623 k Transaction Summary ================================================================================ Remove 1 Package Freed space: 623 k Running t
ransaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : lsof-4.93.2-1.el8.x86_64 1/1 Running scriptlet: lsof-4.
93.2-1.el8.x86_64 1/1 Verifying : lsof-4.93.2-1.el8.x86_64 1/1 Installed products updated. Removed: lsof-4.93.2-1.el8.x86_64 Complete!
05/01/2024 21:12:25 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.