Closed c0c0n3 closed 1 year ago
Hi @c0c0n3! SUPSI solved this issue and now you should be able to pull the Docker image from SUPSI's GitLab server.
hi @vcutrona :-)
able to pull the Docker image from SUPSI's GitLab server
we can, indeed! FAMS has been running happily for a while now
$ kubectl logs deployment/fams
...
2023-04-24 10:19:00.398 | INFO | fams.core:run:241 - Timestamp --> 2023-04-24T10:19:00.387275
2023-04-24 10:19:00.406 | DEBUG | fams.core:run:288 - No entities to update
2023-04-24 10:19:05.417 | INFO | fams.core:run:241 - Timestamp --> 2023-04-24T10:19:05.408739
2023-04-24 10:19:05.425 | DEBUG | fams.core:run:288 - No entities to update
Describe the bug
232 deployed the latest FAMS with updated credentials to pull the image from SUPSI's GitLab server. The deployment and the docker secret to pull the image are in place and work locally, but in the VTT cloud K8s gets stuck on pulling the image.
To Reproduce
If you look at the K8s events in our live cluster, you should see K8s fail to pull the image
It looks like K8s isn't able to pull the image within 30 secs and it gives up. But I don't think it's a K8s problem. In fact, if you SSH into the VTT box and try logging onto SUPSI's GitLab Docker registry, you'll get a similar timeout error
Notice the VTT server is located in Finland. Surprisingly, if you do the same from a machine located in Switzerland, you'll be able to pull the image, no prob
As @vcutrona noted this could well be a geofencing issue with the SUPSI server.
Expected behavior
If you provide the right credentials, the SUPSI server lets you pull the FAMS image from any location or at least any location in Western Europe.
Additional context
232