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

[BUG] Scriptlet error messages upgrading to 4.10.1 #534

Open
rauldpm opened this issue Feb 18, 2025 · 0 comments
Open

[BUG] Scriptlet error messages upgrading to 4.10.1 #534

rauldpm opened this issue Feb 18, 2025 · 0 comments
Labels

Comments

@rauldpm
Copy link
Member

rauldpm commented Feb 18, 2025

Describe the bug

A user reported an error while upgrading the Wazuh dashboard from 4.9.1 to 4.10.1 related to invalid argument in the scriptlet executions

Reviewing this with @Desvelao, he pointed that this seems to be related to a systemd issue https://discussion.fedoraproject.org/t/systemd-error-in-f41/136011 that seems to be harmless, checking the Wazuh dashboard status after the upgrade, I could verify that the service was running and the Wazuh user interface was accessible, in fact, the upgrade transactions ended as success. The systemd hypothesis seems to be related as the error messages seems to be related to a systemctl output

dnf history info 9
Transaction ID : 9
Begin time     : Tue 18 Feb 2025 09:40:16 AM CET
Begin rpmdb    : 7f9eb5ed0ab06cd0d89c5ffeacdf2ae41eb90813a7169f706f599991c8d7000a
End time       : Tue 18 Feb 2025 09:41:58 AM CET (102 seconds)
End rpmdb      : 718dc89dfc03e323140bfcb0aaf2bc97dfe7587ea9ad2787ce811b89fbdb5249
User           : xxx <xxx>
Return-Code    : Success
Releasever     : 9
Command Line   : upgrade wazuh-dashboard
Comment        :
Packages Altered:
    Upgrade  wazuh-dashboard-4.10.1-1.x86_64 @wazuh
    Upgraded wazuh-dashboard-4.9.1-1.x86_64  @@System
Scriptlet output:
   1 Failed to start jobs: Failed to enqueue some jobs, see logs for details: Invalid argument
   2 Failed to start jobs: Failed to enqueue some jobs, see logs for details: Invalid argument

I was unable to reproduce the error but the user reports that he always had problems with the upgrade task since 4.5.1

# dnf history | grep dashboard
     9 | upgrade wazuh-dashboard                                                                                                                                                                                                                                         | 2025-02-18 09:40 | Upgrade        |    1 EE
     8 | upgrade wazuh-dashboard                                                                                                                                                                                                                                         | 2024-10-23 12:53 | Upgrade        |    1 EE
     6 | upgrade wazuh-dashboard                                                                                                                                                                                                                                         | 2024-08-01 14:58 | Upgrade        |    1
     2 | install wazuh-dashboard-4.5.1 -y  

The systemd user version is 252-38, but I couldn't reproduce it using 252-17 nor 252-47 (The '38' package is not available in the repositories)

Maybe related:

To Reproduce
Steps to reproduce the behavior:

  1. Couldn't be reproduced

Expected behavior
No scriptlet error messages should appear

OpenSearch Version
2.16.0

Dashboards Version
2.16.0

Plugins
N/A

Screenshots

Image

Host/Environment (please complete the following information):

  • OS: CentOS 9 Stream
  • Browser and version: Not applicable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant