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

[BUG]: DFP Grafana : ModuleNotFoundError: No module named 'logging_loki' #1917

Closed
2 tasks done
dagardner-nv opened this issue Sep 30, 2024 · 0 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

dagardner-nv commented Sep 30, 2024

Version

24.10

Which installation method(s) does this occur on?

Docker, Source

Describe the bug.

Looks like in examples/digital_fingerprinting/production/Dockerfile this line:

RUN source activate morpheus \
    && /opt/conda/bin/conda env update --solver=libmamba -n morpheus --file /workspace/conda/environments/examples_cuda-121_arch-x86_64.yaml

Really should be something like:

RUN source activate morpheus && \
    /opt/conda/bin/conda run -n base --live-stream conda-merge \
        /workspace/examples/digital_fingerprinting/production/conda_env.yml
        /workspace/conda/environments/examples_cuda-121_arch-x86_64.yaml > /tmp/merged.yaml &&\
    /opt/conda/bin/conda env update --solver=libmamba -n morpheus --file /tmp/merged.yaml &&\
    rm /tmp/merged.yaml

Minimum reproducible example

Follow documentation in examples/digital_fingerprinting/production/grafana/README.md

Relevant log output

Click here to see error details

Traceback (most recent call last):
File "/workspace/examples/digital_fingerprinting/production/grafana/run.py", line 26, in
import logging_loki
ModuleNotFoundError: No module named 'logging_loki'

Full env printout

Click here to see environment details

[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@dagardner-nv dagardner-nv added the bug Something isn't working label Sep 30, 2024
@dagardner-nv dagardner-nv changed the title [BUG]: DFP Viz : ModuleNotFoundError: No module named 'logging_loki' [BUG]: DFP Grafana : ModuleNotFoundError: No module named 'logging_loki' Sep 30, 2024
@mdemoret-nv mdemoret-nv added this to the 24.10 - Release milestone Oct 23, 2024
rapids-bot bot pushed a commit that referenced this issue Oct 28, 2024
- Dependencies for DFP container were recently moved from `examples/digital_fingerprinting/production/conda_env.yaml`  to `conda/environments/examples_cuda-125_arch-x86_64.yaml` but `python-logging-loki` was not included.
- Add `python-logging-loki` to `example-dfp-prod` in `dependencies.yaml`.
- Remove `conda_env.yaml` since it's no longer being used anywhere.

Closes #1917

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: #1977
@github-project-automation github-project-automation bot moved this from Todo to Done in Morpheus Boards Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants