Skip to content

waiting for API ends with error #3156

@badummtss

Description

@badummtss

|Wazuh version|Install type|Action performed|Platform|
|4.9.1|Ansible|TASK [../roles/wazuh/wazuh-indexer : Wait for Wazuh indexer |Ubuntu 24.04

I'm testing out the new 4.9.1 version with ansible as cluster configuration.
I have 3 lxc's on Proxmox created for that (all of them created with terraform).
I used this document https://documentation.wazuh.com/current/deployment-options/deploying-with-ansible/guide/install-ansible.html for installation.

On two of my nodes everything seems to be fine, on one I get the following error:
FAILED - RETRYING: [ct-xxxx]: Wait for Wazuh indexer API (22 retries left) and
fatal: [ct-cl-wazuh-02.loc]: FAILED! => {"attempts": 24, "changed": false, "content": "OpenSearch Security not initialized.", "content_length": "36", "content_type": "text/plain; charset=UTF-8", "elapsed": 0, "msg": "Status code was 503 and not [200, 401]: HTTP Error 503: Service Unavailable", "redirected": false, "status": 503, "url": "https://127.0.0.1:9200/_cat/health/"}

Could anyone help me out to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions