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

Add condition when trying to change API user credentials #3005

Add condition when trying to change API user credentials

7e0f02a
Select commit
Loading
Failed to load commit list.
Merged

Add condition when trying to change API user credentials #3005

Add condition when trying to change API user credentials
7e0f02a
Select commit
Loading
Failed to load commit list.
Wazuh CI / Distributed Cases - manager - centos - Wazuh server installation succeeded Jun 17, 2024 in 4m 8s

Test_unattended_distributed_cases

Below you have the stage output

Details

centos_7_master log



--------------------------------
17/06/2024 11:22:33 DEBUG: Checking root permissions.
17/06/2024 11:22:33 DEBUG: Checking sudo package.
17/06/2024 11:22:33 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.1
17/06/2024 11:22:33 INFO: Verbose logging redirected to /var/log/wazuh-install.log
17/06/2024 11:22:33 DEBUG: YUM package manager will be used.
17/06/2024 11:22:33 DEBUG: Checking system distribution.
17/06/2024 11:22:33 DEBUG: Detected distribution name: centos
17/06/2024 11:22:33 DEBUG: Detected distribution version: 7
17/06/2024 11:22:33 DEBUG: Checking Wazuh installation.
17/06/2024 11:22:37 DEBUG: Checking system architecture.
17/06/2024 11:22:37 INFO: Verifying that your system meets the recommended minimum hardware requirements.
17/06/2024 11:22:37 DEBUG: CPU cores detected: 2
17/06/2024 11:22:37 DEBUG: Free RAM memory detected: 7741
17/06/2024 11:22:37 DEBUG: Installing check dependencies.
17/06/2024 11:22:44 INFO: --- Dependencies ---
17/06/2024 11:22:44 INFO: Installing lsof.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazu
h-install.sh base: download.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazuh-install.sh extras: download.c
f.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazuh-install.sh updates: download.cf.centos.org Resolving Depen
dencies --> 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 base 331 k Tran
saction Summary ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transa
ction 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 C
omplete!
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazu
h-install.sh base: download.cf.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazuh-install.sh extras: download.c
f.centos.org builder.sh cert_tool common_functions config Development-guide.md install_functions passwords_tool wazuh-install-files.tar wazuh-install.sh updates: download.cf.centos.org Resolving Depen
dencies --> 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 base 331 k Tran
saction Summary ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transa
ction 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 C
omplete!
17/06/2024 11:22:46 DEBUG: Checking previous certificate existence.
17/06/2024 11:22:46 DEBUG: Checking ports availability.
17/06/2024 11:22:48 DEBUG: Installing prerequisites dependencies.
17/06/2024 11:22:48 DEBUG: Checking curl tool version.
17/06/2024 11:22:48 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
17/06/2024 11:22:49 INFO: Wazuh development repository added.
17/06/2024 11:22:49 DEBUG: Extracting Wazuh configuration.
17/06/2024 11:22:49 DEBUG: Reading configuration file.
17/06/2024 11:22:49 DEBUG: Checking if 172.31.83.13 is private.
17/06/2024 11:22:49 DEBUG: Checking if 172.31.85.57 is private.
17/06/2024 11:22:49 DEBUG: Checking if 172.31.83.13 is private.
17/06/2024 11:22:49 DEBUG: Checking node names in the configuration file.
17/06/2024 11:22:49 INFO: --- Wazuh server ---
17/06/2024 11:22:49 INFO: Starting the Wazuh manager installation.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: download.cf.centos.org
 * extras: download.cf.centos.org
 * updates: download.cf.centos.org
Resolving Dependencies
--> Running transaction check
---> Package wazuh-manager.x86_64 0:4.8.1-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch            Version            Repository      Size
================================================================================
Installing:
 wazuh-manager          x86_64          4.8.1-1            wazuh          298 M

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

Total download size: 298 M
Installed size: 887 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
pam_tally2: Error opening /var/log/tallylog for update: Permission denied
pam_tally2: Authentication error
useradd: failed to reset the tallylog entry of user "wazuh"
  Installing : wazuh-manager-4.8.1-1.x86_64                                 1/1 
  Verifying  : wazuh-manager-4.8.1-1.x86_64                                 1/1 

Installed:
  wazuh-manager.x86_64 0:4.8.1-1                                                

Complete!
17/06/2024 11:24:16 DEBUG: Checking Wazuh installation.
17/06/2024 11:24:17 DEBUG: There are Wazuh remaining files.
17/06/2024 11:24:19 INFO: Wazuh manager installation finished.
17/06/2024 11:24:19 DEBUG: Configuring Wazuh manager.
17/06/2024 11:24:19 DEBUG: Setting provisional Wazuh indexer password.
17/06/2024 11:24:19 INFO: Wazuh manager vulnerability detection configuration finished.
17/06/2024 11:24:19 INFO: Starting service wazuh-manager.
Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-manager.service to /usr/lib/systemd/system/wazuh-manager.service.
17/06/2024 11:24:36 INFO: wazuh-manager service started.
17/06/2024 11:24:36 INFO: Starting Filebeat installation.
17/06/2024 11:24:45 DEBUG: Checking Wazuh installation.
17/06/2024 11:24:46 DEBUG: There are Wazuh remaining files.
17/06/2024 11:24:48 DEBUG: There are Filebeat remaining files.
17/06/2024 11:24:49 INFO: Filebeat installation finished.
17/06/2024 11:24:49 DEBUG: Configuring Filebeat.
17/06/2024 11:24:49 DEBUG: Filebeat template was download successfully.
wazuh/
wazuh/_meta/
wazuh/_meta/docs.asciidoc
wazuh/_meta/fields.yml
wazuh/_meta/config.yml
wazuh/alerts/
wazuh/alerts/config/
wazuh/alerts/config/alerts.yml
wazuh/alerts/manifest.yml
wazuh/alerts/ingest/
wazuh/alerts/ingest/pipeline.json
wazuh/module.yml
wazuh/archives/
wazuh/archives/config/
wazuh/archives/config/archives.yml
wazuh/archives/manifest.yml
wazuh/archives/ingest/
wazuh/archives/ingest/pipeline.json
17/06/2024 11:24:49 DEBUG: Filebeat module was downloaded successfully.
17/06/2024 11:24:49 DEBUG: Copying Filebeat certificates.
Created filebeat keystore
Successfully updated the keystore
Successfully updated the keystore
17/06/2024 11:24:51 INFO: Filebeat post-install configuration finished.
17/06/2024 11:24:51 DEBUG: Setting Wazuh indexer cluster passwords.
17/06/2024 11:24:51 DEBUG: Checking Wazuh installation.
17/06/2024 11:24:51 INFO: Another process is using YUM. Waiting for it to release the lock. Next retry in 30 seconds (1/10)
17/06/2024 11:25:23 DEBUG: There are Wazuh remaining files.
17/06/2024 11:25:24 DEBUG: There are Filebeat remaining files.
Successfully updated the keystore
17/06/2024 11:25:28 DEBUG: Restarting filebeat service...
17/06/2024 11:25:28 DEBUG: filebeat started.
17/06/2024 11:25:29 DEBUG: Restarting wazuh-manager service...
17/06/2024 11:25:50 DEBUG: wazuh-manager started.
17/06/2024 11:25:50 DEBUG: Changing API passwords.
17/06/2024 11:25:55 INFO: Starting service filebeat.
Created symlink from /etc/systemd/system/multi-user.target.wants/filebeat.service to /usr/lib/systemd/system/filebeat.service.
17/06/2024 11:25:55 INFO: filebeat service started.
17/06/2024 11:25:55 INFO: --- Dependencies ---
17/06/2024 11:25:55 INFO: Removing lsof.
Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-6.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved =======
========================================================================= Package Arch Version Repository Size ================================================================================ Removing
: lsof x86_64 4.87-6.el7 @base 927 k Transaction Summary ================================================================================ Remove 1 Package Installed size: 927 k Downloading packages: R
unning transaction check Running transaction test Transaction test succeeded Running transaction Erasing : lsof-4.87-6.el7.x86_64 1/1 Verifying : lsof-4.87-6.el7.x86_64 1/1 Removed: lsof.x86_64 0:4.87
-6.el7 Complete!
17/06/2024 11:26:00 DEBUG: Restoring Wazuh repository.
17/06/2024 11:26:01 INFO: Installation finished.