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

AWS module error in docker #68

Closed
havidarou opened this issue Nov 13, 2018 · 6 comments
Closed

AWS module error in docker #68

havidarou opened this issue Nov 13, 2018 · 6 comments
Labels

Comments

@havidarou
Copy link
Member

Hello guys,

we are having problems executing the AWS module inside docker. We get the following error:

2018/11/12 23:17:56 wazuh-modulesd:aws-s3: WARNING: Bucket:  -  Unknown error: [Errno 2] No such file or directory: '/proc/sys/net/core/rmem_max'

The specific file is not included in the docker container.

@havidarou havidarou added the bug label Nov 13, 2018
@SitoRBJ
Copy link
Contributor

SitoRBJ commented Nov 14, 2018

Hello @havidarou,

The error resides in this code section of the AWS integration:

https://github.com/wazuh/wazuh/blob/master/wodles/aws/aws-s3.py#L782-L783

We are requesting a kernel parameter and in Docker, this is not viable.

Currently, the use of this problematic variable is obsolete.

The following PR fixes the AWS integration used in Docker: #1880

We are working on an alternative solution until the PR is accepted.

We will keep you informed. Thank you very much for your patience.

Best regards,

@SitoRBJ
Copy link
Contributor

SitoRBJ commented Nov 14, 2018

Hello @havidarou,

We have created a branch dedicated to integration with AWS. This is a temporary solution, until the corrected code is accepted and merged.

Branch: https://github.com/wazuh/wazuh-docker/tree/aws-integration-compatibility

Use: https://github.com/wazuh/wazuh-docker/blob/aws-integration-compatibility/Use.txt

We hope we have been helpful.

Thank you for your attention and for your patience.

Best regards,

Alfonso Ruiz-Bravo

@SitoRBJ
Copy link
Contributor

SitoRBJ commented Nov 16, 2018

Hello @havidarou,

The PR #69 solves the problem. This is a temporary solution, until the corrected code is accepted and merged.

Thank you for your attention and for your patience.

Regards,

Alfonso Ruiz-Bravo

@jesuslinares
Copy link
Contributor

We will remove the temporary fix in v3.7.1: wazuh/wazuh#1880.

@jesuslinares
Copy link
Contributor

It was fixed in v3.7.1, so the workaround can be removed.

@cadoming
Copy link
Contributor

Hi @havidarou,

I created the PR #81 to solve this Issue, it will be merged as soon as possible.

Regards,
Carlos

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

No branches or pull requests

5 participants