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

Unable to install Wazuh dashboard on SUSE 15 #160

Closed
s-ocando opened this issue Sep 12, 2023 · 4 comments
Closed

Unable to install Wazuh dashboard on SUSE 15 #160

s-ocando opened this issue Sep 12, 2023 · 4 comments
Labels
level/task Task issue type/bug Bug issue

Comments

@s-ocando
Copy link

Wazuh version Install type Action performed Platform
v4.6.0-alpha1 Wazuh dashboard Install SUSE 15

As part of the Release 4.6.0 - Alpha 1 - E2E UX tests - GCP integration, I tried to install the Wazuh central components on SUSE 15 and was unable to install the Wazuh dashboard.

The error message I received was: Problem: nothing provides 'libcap' needed by the to be installed wazuh-dashboard-4.6.0-1.x86_64.

  • Operating system details:
# cat /etc/os-release
NAME="SLES"
VERSION="15-SP5"
VERSION_ID="15.5"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp5"
DOCUMENTATION_URL="https://documentation.suse.com/"
  • InstanceType: t3a.xlarge

  • Wazuh dashboard installation:

# zypper install wazuh-dashboard
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_3_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'libcap' needed by the to be installed wazuh-dashboard-4.6.0-1.x86_64
 Solution 1: do not install wazuh-dashboard-4.6.0-1.x86_64
 Solution 2: break wazuh-dashboard-4.6.0-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 
  • Tried installing libcap without success:
# zypper install libcap
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_3_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
'libcap' not found in package names. Trying capabilities.
No provider of 'libcap' found.
Resolving package dependencies...
Nothing to do

Tried with the following libraries libcap-progs, libcap2 and libcap-devel but couldn't install Wazuh dashboard succesfully.

@mauromalara
Copy link

mauromalara commented Nov 22, 2023

Update 1

  1. libcap is required by wazuh-dashboard: https://github.com/wazuh/wazuh-packages/blob/v4.6.0/stack/dashboard/rpm/wazuh-dashboard.spec#L23
  2. Seems that libcap can be installed by following the steps here: https://software.opensuse.org/download.html?project=Base%3ASystem&package=libcap

Update 2

On hold due to https://github.com/wazuh/wazuh-jenkins/issues/5208

@mauromalara
Copy link

It is not clear if this is a task that corresponds to the QA or Docu team. So, I'll move it to triage again until this is clear.

@davidjiglesias
Copy link
Member

To be confirmed and approached after DTT1 is completed.

@rauldpm
Copy link
Member

rauldpm commented Mar 20, 2024

DTT1 does not install all central components, only the Wazuh manager and Wazuh agent, it is desired to install the Wazuh dashboard in DTT2 but we need to review if this issue is related to DTT as it appears a package install problem due to dependencies that must be approached from documentation or package creation.

Removing the DTT1 objective and setting it as blocked internal

Original blocked note: Blocked until DTT1 is completed
Original objective: Bulletproof deployability tier 1

Proposal: Migrate the issue to the Dashboard team, in DTT2 we will be able to check if the Wazuh dashboard has any installation problem, but it will not be fixed as part of the DTT2 development objective.

@rauldpm rauldpm transferred this issue from wazuh/wazuh-packages Apr 1, 2024
@havidarou havidarou closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

5 participants