hpc-toolset-tutorial icon indicating copy to clipboard operation
hpc-toolset-tutorial copied to clipboard

Cannot build working containers locally

Open PaulBreugnot opened this issue 10 months ago • 0 comments

Considering all the issues about the expired certificates in pulled images (#189, #184, #193, #194...) and as it was suggested many times, I tried to build containers locally using docker compose build.

An issue occurs when trying to build websockify for the slurmdbd container, due to a numpy dependency without version in websockify that currently pulls numpy 2.2.2 that is not compatible with python39 used in the container. As already mentionned here, adding sed -i 's/numpy/numpy==1.26/' setup.py before https://github.com/ubccr/hpc-toolset-tutorial/blob/6baa9a3950cff280bb398aea26420f279bebf2df/slurm/install.sh#L53

does the trick. Adding the package python39-numpy to https://github.com/ubccr/hpc-toolset-tutorial/blob/6baa9a3950cff280bb398aea26420f279bebf2df/slurm/install.sh#L19 might also work.

However, even if I managed to build all containers with this fix, I obtain a strange TLS connection error when trying to access Coldfront at https://localhost:2443/ :

Image

or, with curl:

pbreugno@breugnot-pc:~$ curl -G https://localhost:2443
curl: (35) TLS connect error: error:00000000:lib(0)::reason(0)

Any help to understand the issue and manage to fix the build would be highly appreciated.

PaulBreugnot avatar Jan 29 '25 16:01 PaulBreugnot