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

Agent upgrade by WPK fails if any scan is running #14747

Open
Deblintrake09 opened this issue Aug 26, 2022 · 0 comments
Open

Agent upgrade by WPK fails if any scan is running #14747

Deblintrake09 opened this issue Aug 26, 2022 · 0 comments
Labels
level/task module/upgrade/wpk reporter/qa QA Team: Reporting possible bug type/bug Something isn't working

Comments

@Deblintrake09
Copy link
Contributor

Wazuh version Component Install type Install method Platform
4.3.7 agent-upgrade Manager Packages Centos8

Description

During testing for Issue #3189 it was found that when trying to upgrade a wazuh agent using wpk, if the agent that is being upgraded is running a scan (sca, rootcheck, etc), the upgrade process fails with a nondescript error. It would be recommended that the error message is improved to something that explains the actual cause and/or adding a note about this in the documentation.

Results evidence

# /var/ossec/bin/agent_upgrade -a 003 -f /home/qa/wazuh_agent_v4.4.0_linux_x86_64.wpk

Upgrading...

Failed upgrades:
	Agent 003 status: Send open file error
@jmv74211 jmv74211 changed the title Improvement: agent-upgrade error message when updating wpk Agent upgrade by WPK fails if any scan is running Aug 26, 2022
@jmv74211 jmv74211 added module/upgrade/wpk reporter/qa QA Team: Reporting possible bug and removed reporter/qa/storm labels Aug 26, 2022
@vikman90 vikman90 added type/bug Something isn't working and removed type/enhancement New feature or request labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task module/upgrade/wpk reporter/qa QA Team: Reporting possible bug type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants