Giter Club home page Giter Club logo

Comments (3)

mfisher87 avatar mfisher87 commented on June 30, 2024

@trey-stafford I spent a minute trying to replicate this. I:

  • Removed the line from Dockerfile which installs mamba
  • Built the image
  • docker-compose up.

The Luigi scheduler successfully started with no error. Is there something else I should be trying to replicate the error?

from qgreenland.

trey-stafford avatar trey-stafford commented on June 30, 2024

Perhaps we can just remove the line that installs mamba. To replicate, the step that installs mamba has to come before the step that installs dependencies from conda lock. Revert the changes in #547 to replicate:

$ docker compose up
[+] Building 0.0s (0/0)
[+] Running 3/3
 ✔ Network qgreenland_default  Created                                                                                                                                                                                                                                                                                                            0.1s
 ✔ Container luigi             Created                                                                                                                                                                                                                                                                                                            0.0s
 ✔ Container webserver         Created                                                                                                                                                                                                                                                                                                            0.0s
Attaching to luigi, webserver
webserver  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
webserver  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
webserver  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
webserver  | 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
webserver  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
webserver  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
webserver  | /docker-entrypoint.sh: Configuration complete; ready for start up
luigi      | Traceback (most recent call last):
luigi      |   File "/opt/conda/bin/mamba", line 7, in <module>
luigi      |     from mamba.mamba import main
luigi      | ModuleNotFoundError: No module named 'mamba'
luigi exited with code 0
luigi      | Traceback (most recent call last):
luigi      |   File "/opt/conda/bin/mamba", line 7, in <module>
luigi      |     from mamba.mamba import main
luigi      | ModuleNotFoundError: No module named 'mamba'
luigi exited with code 0
luigi      | Traceback (most recent call last):
luigi      |   File "/opt/conda/bin/mamba", line 7, in <module>
luigi      |     from mamba.mamba import main
luigi      | ModuleNotFoundError: No module named 'mamba'
luigi exited with code 1
luigi      | Traceback (most recent call last):
luigi      |   File "/opt/conda/bin/mamba", line 7, in <module>
luigi      |     from mamba.mamba import main
luigi      | ModuleNotFoundError: No module named 'mamba'
luigi exited with code 1
luigi      | Traceback (most recent call last):
luigi      |   File "/opt/conda/bin/mamba", line 7, in <module>
luigi      |     from mamba.mamba import main
luigi      | ModuleNotFoundError: No module named 'mamba'
luigi exited with code 1

from qgreenland.

mfisher87 avatar mfisher87 commented on June 30, 2024

Got it. Yes, I think removing the line that installs mamba and conda is the solution also. I don't know why it was there in the first place :) Must be vestigial from using a much earlier version of micromamba, or perhaps before we started using micromamba?

I also don't know why the container would look for mamba at start-up time... maybe when we installed mamba some setup scripts or alterations to .bashrc were applied, and then when we bootstrapped with conda-lock, we blew away mamba? 🤷

from qgreenland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.