wazuh / wazuh-cloudformation

Wazuh - Amazon AWS Cloudformation
https://wazuh.com
40 stars 22 forks source link

Debian Agent sometimes does not registers properly #29

Closed jm404 closed 4 years ago

jm404 commented 5 years ago

Wazuh version: 3.10.2

Elastic version: 7.3.2

Environment:

AWS EC2 instances deployed with CloudFormation Template

Is this a bug report or a feature requests?:

Bug report

What is the current behavior?

Sometimes the Debian Agent does not register properly to the Manager

What is the motivation/use case for changing the behavior?

Fix race conditions to avoid Agents trying to register to Manager before it starts.

Description:

I noticed that sometimes when deployin with the CF template the Debian Agent tries to register to the Manager.

image

The logs show a 3s difference between authd initialization and the Debian attempt to register.

Some info that should be considered:

In order to fix this we should fix the race conditions that generate this error.

Tasks

Best regards

Jose