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

Broken docker-stacks-foundation image #2051

Closed
1 task done
sergree opened this issue Dec 6, 2023 · 1 comment · Fixed by #2052
Closed
1 task done

Broken docker-stacks-foundation image #2051

sergree opened this issue Dec 6, 2023 · 1 comment · Fixed by #2052
Labels
tag:Upstream A problem with one of the upstream packages installed in the docker images type:Bug A problem with the definition of one of the docker images maintained here

Comments

@sergree
Copy link

sergree commented Dec 6, 2023

What docker image(s) are you using?

docker-stacks-foundation

Host OS system

Ubuntu 22.04

Host architecture

x86_64

What Docker command are you running?

docker build -t my-container --build-arg PYTHON_VERSION="3.10" --build-arg ROOT_CONTAINER="nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04" docker-stacks/images/docker-stacks-foundation

How to Reproduce the problem?

Run that Docker command

Command output

29.73 # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
29.73
29.73     Traceback (most recent call last):
29.73       File "/opt/conda/lib/python3.10/site-packages/conda/exception_handler.py", line 17, in __call__
29.73         return func(*args, **kwargs)
29.73       File "/opt/conda/lib/python3.10/site-packages/mamba/mamba.py", line 956, in exception_converter
29.73         raise e
29.73       File "/opt/conda/lib/python3.10/site-packages/mamba/mamba.py", line 949, in exception_converter
29.73         exit_code = _wrapped_main(*args, **kwargs)
29.73       File "/opt/conda/lib/python3.10/site-packages/mamba/mamba.py", line 895, in _wrapped_main
29.73         result = do_call(parsed_args, p)
29.73       File "/opt/conda/lib/python3.10/site-packages/mamba/mamba.py", line 758, in do_call
29.73         exit_code = clean(args, parser)
29.73       File "/opt/conda/lib/python3.10/site-packages/mamba/mamba.py", line 701, in clean
29.73         module = import_module("conda.cli" + relative_mod, __name__.rsplit(".", 1)[0])
29.73       File "/opt/conda/lib/python3.10/importlib/__init__.py", line 126, in import_module
29.73         return _bootstrap._gcd_import(name[level:], package, level)
29.73       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
29.73       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
29.73       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
29.73       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
29.73       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
29.73       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
29.73       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
29.73       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
29.73       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
29.73       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
29.73       File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
29.73     ModuleNotFoundError: No module named 'conda.cliconda'
29.73
29.73 `$ /opt/conda/bin/mamba clean --all -f -y`
29.73
29.73   environment variables:
29.73                  CIO_TEST=<not set>
29.73                 CONDA_DIR=/opt/conda
29.73                CONDA_ROOT=/opt/conda
29.73            CURL_CA_BUNDLE=<not set>
29.73           LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
29.73                LD_PRELOAD=<not set>
29.73              LIBRARY_PATH=/usr/local/cuda/lib64/stubs
29.73                      PATH=/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sb
29.73                           in:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
29.73            PYTHON_VERSION=3.10
29.73        REQUESTS_CA_BUNDLE=<not set>
29.73             SSL_CERT_FILE=<not set>
29.73
29.73      active environment : None
29.73        user config file : /home/jovyan/.condarc
29.73  populated config files : /opt/conda/.condarc
29.73           conda version : 23.11.0
29.73     conda-build version : not installed
29.73          python version : 3.10.13.final.0
29.73                  solver : libmamba (default)
29.73        virtual packages : __archspec=1=icelake
29.73                           __conda=23.11.0=0
29.73                           __glibc=2.31=0
29.73                           __linux=5.15.133.1=0
29.73                           __unix=0=0
29.73        base environment : /opt/conda  (writable)
29.73       conda av data dir : /opt/conda/etc/conda
29.73   conda av metadata url : None
29.73            channel URLs : https://conda.anaconda.org/conda-forge/linux-64
29.73                           https://conda.anaconda.org/conda-forge/noarch
29.73           package cache : /opt/conda/pkgs
29.73                           /home/jovyan/.conda/pkgs
29.73        envs directories : /opt/conda/envs
29.73                           /home/jovyan/.conda/envs
29.73                platform : linux-64
29.73              user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Linux/5.15.133.1-microsoft-standard-WSL2 ubuntu/20.04.6 glibc/2.31 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.4
29.73                 UID:GID : 1000:100
29.73              netrc file : None
29.73            offline mode : False
29.73
29.73
29.73 An unexpected error has occurred. Conda has prepared the above report.
29.73 If you suspect this error is being caused by a malfunctioning plugin,
29.73 consider using the --no-plugins option to turn off plugins.
29.73
29.73 Example: conda --no-plugins install <package>
29.73
29.73 Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
29.73 the command line to run the command without plugins enabled.
29.73
29.73 Example: CONDA_NO_PLUGINS=true conda install <package>
29.73
------

Expected behavior

No response

Actual behavior

docker-stacks-foundation building is broken, it gives this error

Anything else?

No response

Latest Docker version

  • I've updated my Docker version to the latest available, and the issue persists
@sergree sergree added the type:Bug A problem with the definition of one of the docker images maintained here label Dec 6, 2023
@mathbunnyru
Copy link
Member

It's the upstream issue with mamba/conda.
If you follow the links, there are some temporary solutions, but I think it's easier to wait when everything starts working again, should be soon, I believe.

#2050 (comment)

@mathbunnyru mathbunnyru added the tag:Upstream A problem with one of the upstream packages installed in the docker images label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag:Upstream A problem with one of the upstream packages installed in the docker images type:Bug A problem with the definition of one of the docker images maintained here
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants