wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
61 stars 30 forks source link

Environment deployment for vulnerability state testing #5301

Closed juliamagan closed 1 week ago

juliamagan commented 3 weeks ago

Description

This issue is intended to track the process of deploying the necessary environments for testing Vulnerability states.

Environment Requirements

Component Quantity Operating System CPU (cores) RAM (GB) Disk (GB)
Master 1 Ubuntu 22 4 8 50
Workers 2 Ubuntu 22 4 8 50
Agent 1 1 Ubuntu 22 2 4 30
Agent 2 1 Windows 11 2 4 30
Load Balancer 1 Ubuntu 22 4 8 50
Indexers 2 Ubuntu 22 2 4 30

[!NOTE] The load balancer is located on the master node.

Architecture Framework development package URL Core development package URL
DEB 4.8.0-python.vd.spike.deb.1 4.8.0-0.commitd31b277
RPM 4.8.0-python.vd.spike.rpm.1 4.8.0-0.commitd31b277
MARCOSD4 commented 3 weeks ago

The instances have been requested in this issue

MARCOSD4 commented 2 weeks ago

Update

The first environment including the Framwork development has been deployed and testing can now begin. The Load Balancer remains to be configured

rafabailon commented 2 weeks ago

Update

The second environment with the Core solution has been deployed. It is possible to start with the tests. The Load Balancer needs to be configured.

Update 2

To use the Load Balancer in the Wazuh Cluster it is necessary to use the Wazuh Coordinator https://github.com/wazuh/wazuh-tools/tree/dev-wazuh-coordinator/framework/wazuh_coordinator From what we have been able to verify, it is necessary configure a Proxy API to use the Load Balancer. We have tried to use it without success.

This is the documentation that we have been able to find about the Proxy https://github.com/wazuh/wazuh-documentation/blob/feature/7232-add-haproxy-helper-docs/source/user-manual/manager/configuring-cluster/advanced-settings.rst

We have asked for help and documentation to be able to move forward. Tests can be continued without configuring the Load Balancer.

MARCOSD4 commented 2 weeks ago

Update

Finally, after talking with @davidjiglesias and @wazuh/devel-qa-div2 it has been decided not to configure the load balancer in order to move forward with testing. Therefore, all environments are now correctly deployed.

davidjiglesias commented 1 week ago

LGTM