Merge 4.7.1 into master #2477
Merged
Merge 4.7.1 into master #2477
Wazuh CI / All In One - Ubuntu bionic installation
failed
Sep 22, 2023 in 1m 20s
Test_unattended
Below you have the stage output
Details
Ubuntu bionic log
--------------------------------
22/09/2023 15:37:19 DEBUG: Checking root permissions.
22/09/2023 15:37:19 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/09/2023 15:37:19 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/09/2023 15:37:19 DEBUG: APT package manager will be used.
22/09/2023 15:37:19 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:5 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Fetched 4,595 B in 1s (8,793 B/s)
Reading package lists...
22/09/2023 15:37:27 DEBUG: Checking system distribution.
22/09/2023 15:37:27 DEBUG: Detected distribution name: ubuntu
22/09/2023 15:37:27 DEBUG: Detected distribution version: 18
22/09/2023 15:37:27 DEBUG: Checking Wazuh installation.
22/09/2023 15:37:29 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 4,595 B in 1s (8,845 B/s)
Reading package lists...
22/09/2023 15:37:37 DEBUG: Checking system architecture.
22/09/2023 15:37:37 INFO: Verifying that your system meets the recommended minimum hardware requirements.
22/09/2023 15:37:37 DEBUG: CPU cores detected: 2
22/09/2023 15:37:37 DEBUG: Free RAM memory detected: 7897
22/09/2023 15:37:37 INFO: Wazuh web interface port will be 443.
22/09/2023 15:37:37 DEBUG: Checking ports availability.
22/09/2023 15:37:37 DEBUG: Installing prerequisites dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Fetched 4,595 B in 1s (8,666 B/s)
Reading package lists...
22/09/2023 15:37:41 INFO: --- Dependencies ----
22/09/2023 15:37:41 INFO: Installing apt-transport-https.
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 323 not upgraded.
Need to get 1,692 B of archives.
After this operation, 155 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.17 [1,692 B]
Fetched 1,692 B in 0s (0 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 96312 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.17_all.deb ...
Unpacking apt-transport-https (1.6.17) ...
Setting up apt-transport-https (1.6.17) ...
22/09/2023 15:37:45 DEBUG: Checking curl tool version.
22/09/2023 15:37:45 DEBUG: Adding the Wazuh repository.
gpg: keyring '/usr/share/keyrings/wazuh.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 96B3EE5F29111145: public key "Wazuh.com (Wazuh Signing Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages-dev.wazuh.com/staging/apt/ unstable main
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Get:7 https://packages-dev.wazuh.com/staging/apt unstable InRelease [17.3 kB]
Get:8 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 Packages [16.7 kB]
Fetched 38.6 kB in 1s (43.0 kB/s)
Reading package lists...
22/09/2023 15:37:48 INFO: Wazuh development repository added.
22/09/2023 15:37:48 INFO: --- Configuration files ---
22/09/2023 15:37:48 INFO: Generating configuration files.
22/09/2023 15:37:48 DEBUG: Creating Wazuh certificates.
22/09/2023 15:37:48 DEBUG: Reading configuration file.
22/09/2023 15:37:48 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:48 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:48 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:49 DEBUG: Creating the root certificate.
Can't load /root/.rnd into RNG
139744445342144:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Generating a RSA private key
......+++++
............................................................................................................................................................+++++
writing new private key to '/tmp/wazuh-certificates//root-ca.key'
-----
22/09/2023 15:37:49 DEBUG: Generating Admin certificates.
Generating RSA private key, 2048 bit long modulus (2 primes)
................................................................................................................................+++++
......+++++
e is 65537 (0x010001)
Can't load /root/.rnd into RNG
140007865094592:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
Getting CA Private Key
22/09/2023 15:37:49 DEBUG: Generating Wazuh indexer certificates.
22/09/2023 15:37:49 DEBUG: Creating the Wazuh indexer certificates.
22/09/2023 15:37:49 DEBUG: Generating certificate configuration.
Ignoring -days; not generating a certificate
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
22/09/2023 15:37:49 DEBUG: Generating Filebeat certificates.
22/09/2023 15:37:49 DEBUG: Creating the Wazuh server certificates.
22/09/2023 15:37:49 DEBUG: Generating certificate configuration.
Ignoring -days; not generating a certificate
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
22/09/2023 15:37:49 DEBUG: Generating Wazuh dashboard certificates.
22/09/2023 15:37:49 DEBUG: Creating the Wazuh dashboard certificates.
22/09/2023 15:37:49 DEBUG: Generating certificate configuration.
Ignoring -days; not generating a certificate
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
22/09/2023 15:37:49 DEBUG: Cleaning certificate files.
22/09/2023 15:37:49 DEBUG: Generating password file.
22/09/2023 15:37:49 DEBUG: Generating random passwords.
22/09/2023 15:37:50 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/09/2023 15:37:50 DEBUG: Extracting Wazuh configuration.
22/09/2023 15:37:50 DEBUG: Reading configuration file.
22/09/2023 15:37:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:50 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:50 INFO: --- Wazuh indexer ---
22/09/2023 15:37:50 INFO: Starting Wazuh indexer installation.
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '4.8.0-*' for 'wazuh-indexer' was not found
22/09/2023 15:37:51 DEBUG: Checking Wazuh installation.
22/09/2023 15:37:53 ERROR: Wazuh indexer installation failed.
22/09/2023 15:37:53 INFO: --- Removing existing Wazuh installation ---
22/09/2023 15:37:53 DEBUG: Removing GPG key from system.
22/09/2023 15:37:53 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.
Loading