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

Docker pcap-monitor.Dockerfile opensearch-py dependancy bug #205

Closed
JonathanReifer opened this issue Apr 1, 2022 · 2 comments
Closed

Docker pcap-monitor.Dockerfile opensearch-py dependancy bug #205

JonathanReifer opened this issue Apr 1, 2022 · 2 comments

Comments

@JonathanReifer
Copy link

JonathanReifer commented Apr 1, 2022

Hello INL / CISA,
First and foremost - fantastic project, thank you! Great project and solid documentation, its really appreciated!
The issue I'm reporting is that when you build the system with the current version of opensearch-py that's utilized in the Dockerfiles/pcap-monitor.Dockerfile file it will fail to run. This seems to be do to an upstream dependency issue with opensearch-py missing requests from its install_requires. (appears to be a failure based on this: opensearch-project/opensearch-py#141 (comment) )

Temp fix while we wait for the upstream library is to perhaps pin the opensearch-py version to an older one OR include requests in the Dockerfile:

pip3 install --no-cache-dir opensearch-py opensearch-dsl pyzmq pyinotify python-magic requests && \

Thanks again for a great system!
jon

@mmguero
Copy link
Collaborator

mmguero commented Apr 1, 2022

Thanks!

mmguero added a commit to mmguero-dev/Malcolm that referenced this issue Apr 1, 2022
@mmguero
Copy link
Collaborator

mmguero commented Apr 1, 2022

Will be fixed (via the workaround suggested) in 5.2.10.

@mmguero mmguero closed this as completed Apr 1, 2022
This was referenced Apr 4, 2022
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants