Skip to content

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

Closed

Description

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions