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

Fixed bug when trying to download nonexistent filebeat_wazuh_template #124

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

CarlosALgit
Copy link
Member

Related issue:

Description

The purpose of this PR is to contemplate the case in which the filebeat_wazuh_template cannot be downloaded because the link does not exist and then the execution of the script is stopped.

Tests

The source_branch variable that is defined in this execution is v4.10.0 and this carries to a link that does not exist.

root@ip-172-31-32-65:/home/ubuntu/wazuh-installation-assistant# bash wazuh-install.sh -wi node-1 -d pre-release
28/10/2024 09:54:42 INFO: Starting Wazuh installation assistant. Wazuh version: 4.10.0
28/10/2024 09:54:42 INFO: Verbose logging redirected to /var/log/wazuh-install.log
28/10/2024 09:54:53 INFO: Verifying that your system meets the recommended minimum hardware requirements.
28/10/2024 09:55:04 INFO: Wazuh development repository added.
28/10/2024 09:55:04 INFO: --- Wazuh indexer ---
28/10/2024 09:55:04 INFO: Starting Wazuh indexer installation.
28/10/2024 09:55:26 INFO: Wazuh indexer installation finished.
28/10/2024 09:55:26 INFO: Wazuh indexer post-install configuration finished.
28/10/2024 09:55:26 INFO: Starting service wazuh-indexer.
28/10/2024 09:55:53 INFO: wazuh-indexer service started.
28/10/2024 09:55:53 INFO: Initializing Wazuh indexer cluster security settings.
28/10/2024 09:55:57 INFO: Wazuh indexer cluster initialized.
28/10/2024 09:55:57 INFO: Installation finished.
root@ip-172-31-32-65:/home/ubuntu/wazuh-installation-assistant# bash wazuh-install.sh --start-cluster
28/10/2024 09:56:05 INFO: Starting Wazuh installation assistant. Wazuh version: 4.10.0
28/10/2024 09:56:05 INFO: Verbose logging redirected to /var/log/wazuh-install.log
28/10/2024 09:56:15 INFO: Verifying that your system meets the recommended minimum hardware requirements.
28/10/2024 09:56:21 INFO: Wazuh indexer cluster security configuration initialized.
28/10/2024 09:56:42 ERROR: The wazuh-alerts template could not be inserted into the Wazuh indexer cluster.

@CarlosALgit CarlosALgit requested a review from a team October 28, 2024 10:25
@CarlosALgit CarlosALgit self-assigned this Oct 28, 2024
vcerenu
vcerenu previously approved these changes Oct 28, 2024
Enaraque
Enaraque previously approved these changes Oct 28, 2024
@CarlosALgit CarlosALgit changed the title Bug/122 download filebeat wazuh template bug Fixed bug when trying to download nonexistent filebeat_wazuh_template Oct 28, 2024
@CarlosALgit CarlosALgit dismissed stale reviews from Enaraque and vcerenu via 8930ac9 October 28, 2024 11:07
@c-bordon c-bordon merged commit 7ac50be into 4.10.0 Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants