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

Conflict with master node configuration in Wazuh cluster using Kubernetes #83

Closed
SitoRBJ opened this issue Dec 27, 2018 · 2 comments
Closed

Comments

@SitoRBJ
Copy link
Contributor

SitoRBJ commented Dec 27, 2018

Hello team,

When deploying the Wazuh cluster using Kubernetes we have a problem in the master node, which does not know how to solve the pod "hostname" in the cluster configuration in ossec.conf.

ConfigMap: https://github.com/wazuh/wazuh-kubernetes/blob/master/wazuh_managers/wazuh-master-conf.yaml#L325

        <nodes>
            <node>wazuh-manager-master-0.wazuh-cluster.wazuh.svc.cluster.local</node>
        </nodes>

Error:

ERROR: Error 3004 - Error in cluster configuration: Master IP not valid. Valid ones are: 11.22.33.44

Cause: https://github.com/wazuh/wazuh/blob/v3.7.2/framework/wazuh/cluster/cluster.py#L87-L88

We are going to implement an alternative solution in Docker.

Regards,

Alfonso Ruiz-Bravo

@jesuslinares
Copy link
Contributor

Thanks @SitoRBJ.

We will keep this issue open until it is fixed in Wazuh.

@SitoRBJ
Copy link
Contributor Author

SitoRBJ commented Jan 15, 2019

Hello @jesuslinares,

Apparently this problem was solved in the PR #2227

We have performed the PR #99 to remove the alternative solution that is already invalidated.

Kind regards,

Alfonso Ruiz-Bravo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants