Environment:
Delivery tag:
Platform: OPS Orange Cloud
Configuration:
Traceability:
N/A
Current Behavior:
The playbook security.yaml fails with an error during the TASK [security/wazuh : Join Wazuh Manager]
Expected Behavior:
The playbook security.yaml completes without error
Steps To Reproduce:
Steps to reproduce the behavior:
- Create a new node with the playbook cluster.yaml
- Run the playbook cluster.yaml with the config tag
- Run the playbook security.yaml
Test execution artefacts (i.e. logs, screenshots…)
TASK [security/wazuh : Join Wazuh Manager] ***********************************************************************************
FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true})
Whenever possible, first analysis of the root cause
For an unknown reason, the playbook installs the wazuh-agent v4.9, which is incompatible with our wazuh-manager 4.7.5-1.
Workaround
Edit file in rs-infrastructure:
vi ./roles/security/wazuh/tasks/role-agent.yaml
Add the version 4.7.5-1 here:
- name: install wazuh agent
apt:
name: wazuh-agent=4.7.5-1
state: present
update_cache: yes
cache_valid_time: 86400
Bug Generic Definition of Ready (DoR)
Bug Generic Definition of Done (DoD)
Environment:
Delivery tag:
Platform: OPS Orange Cloud
Configuration:
Traceability:
N/A
Current Behavior:
The playbook security.yaml fails with an error during the TASK [security/wazuh : Join Wazuh Manager]
Expected Behavior:
The playbook security.yaml completes without error
Steps To Reproduce:
Steps to reproduce the behavior:
Test execution artefacts (i.e. logs, screenshots…)
Whenever possible, first analysis of the root cause
For an unknown reason, the playbook installs the wazuh-agent v4.9, which is incompatible with our wazuh-manager 4.7.5-1.
Workaround
Edit file in rs-infrastructure:
vi ./roles/security/wazuh/tasks/role-agent.yaml
Add the version 4.7.5-1 here:
apt:
name: wazuh-agent=4.7.5-1
state: present
update_cache: yes
cache_valid_time: 86400
Bug Generic Definition of Ready (DoR)
Bug Generic Definition of Done (DoD)