nebari-dev / nebari-slurm

An opinionated open source deployment of jupyterhub based on an Slurm job scheduler.
BSD 3-Clause "New" or "Revised" License
28 stars 10 forks source link

[BUG] - Conda-store artifacs links are not working #158

Open viniciusdc opened 7 months ago

viniciusdc commented 7 months ago

Context

The issue involves a problem with the download functionality of artifacts in Conda Store. Specifically, after a Conda Store environment finishes building, users need to download and view the artifacts generated by the build for reference and debugging, mainly when solves fail. However, this functionality needs to be fixed as intended.

The conda-store/api/v1/build/<build>/yaml/ endpoint should redirect the user to a pre-signed URL on MinIO to download the stored components. This redirection, :9000/conda-store/yaml/ on MinIO, fails because the port 9000 is not adequately exposed when traefik_domain is set to a value other than localhost.

As a solution, we can look at the approach taken in Nebari. We can correct the redirection issue by modifying the Traefik configuration to reroute the service port 9000 on MinIO to 9080. This change will enable the download functionality to work as intended.

Value and/or benefit

Anything else?

No response