Merge 4.7.1 into master #2477
Merged
Merge 4.7.1 into master #2477
Wazuh CI / All In One - Ubuntu xenial installation
failed
Sep 22, 2023 in 1m 10s
Test_unattended
Below you have the stage output
Details
Ubuntu xenial log
--------------------------------
22/09/2023 15:36:59 DEBUG: Checking root permissions.
22/09/2023 15:36:59 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
22/09/2023 15:36:59 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/09/2023 15:36:59 DEBUG: APT package manager will be used.
22/09/2023 15:36:59 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Reading package lists...
22/09/2023 15:37:04 DEBUG: Checking system distribution.
22/09/2023 15:37:04 DEBUG: Detected distribution name: ubuntu
22/09/2023 15:37:04 DEBUG: Detected distribution version: 16
22/09/2023 15:37:04 DEBUG: Checking Wazuh installation.
22/09/2023 15:37:05 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Reading package lists...
22/09/2023 15:37:10 DEBUG: Checking system architecture.
22/09/2023 15:37:10 INFO: Verifying that your system meets the recommended minimum hardware requirements.
22/09/2023 15:37:10 DEBUG: CPU cores detected: 2
22/09/2023 15:37:10 DEBUG: Free RAM memory detected: 7903
22/09/2023 15:37:10 INFO: Wazuh web interface port will be 443.
22/09/2023 15:37:10 DEBUG: Checking ports availability.
22/09/2023 15:37:11 DEBUG: Installing prerequisites dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Reading package lists...
22/09/2023 15:37:14 DEBUG: Checking curl tool version.
22/09/2023 15:37:14 DEBUG: Adding the Wazuh repository.
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/usr/share/keyrings/wazuh.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 29111145: public key "Wazuh.com (Wazuh Signing Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 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 xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Get:6 https://packages-dev.wazuh.com/staging/apt unstable InRelease [17.3 kB]
Get:7 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 Packages [16.7 kB]
Fetched 34.0 kB in 0s (64.7 kB/s)
Reading package lists...
22/09/2023 15:37:16 INFO: Wazuh development repository added.
22/09/2023 15:37:16 INFO: --- Configuration files ---
22/09/2023 15:37:16 INFO: Generating configuration files.
22/09/2023 15:37:16 DEBUG: Creating Wazuh certificates.
22/09/2023 15:37:16 DEBUG: Reading configuration file.
22/09/2023 15:37:16 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:16 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:16 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:16 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:37:16 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:37:17 DEBUG: Generating Wazuh indexer certificates.
22/09/2023 15:37:17 DEBUG: Creating the Wazuh indexer certificates.
22/09/2023 15:37:17 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:37:17 DEBUG: Generating Filebeat certificates.
22/09/2023 15:37:17 DEBUG: Creating the Wazuh server certificates.
22/09/2023 15:37:17 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:37:17 DEBUG: Generating Wazuh dashboard certificates.
22/09/2023 15:37:17 DEBUG: Creating the Wazuh dashboard certificates.
22/09/2023 15:37:17 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:37:17 DEBUG: Cleaning certificate files.
22/09/2023 15:37:17 DEBUG: Generating password file.
22/09/2023 15:37:17 DEBUG: Generating random passwords.
22/09/2023 15:37:19 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/09/2023 15:37:19 DEBUG: Extracting Wazuh configuration.
22/09/2023 15:37:19 DEBUG: Reading configuration file.
22/09/2023 15:37:19 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:19 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:19 DEBUG: Checking if 127.0.0.1 is private.
22/09/2023 15:37:19 INFO: --- Wazuh indexer ---
22/09/2023 15:37:19 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:20 DEBUG: Checking Wazuh installation.
22/09/2023 15:37:21 ERROR: Wazuh indexer installation failed.
22/09/2023 15:37:21 INFO: --- Removing existing Wazuh installation ---
22/09/2023 15:37:21 DEBUG: Removing GPG key from system.
22/09/2023 15:37:21 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.
Loading