Australian-Imaging-Service / pipelines

Scripts to generate analysis pipelines that can be run in XNAT's container service
Other
2 stars 3 forks source link

[STORY] Ensure that GHCR is accessible from staging server #283

Closed tclose closed 4 months ago

tclose commented 6 months ago

Description

Currently when attempting to pull docker pull ghcr.io/australian-imaging-service/xnat-ingest:latest to the staging server k8s cluster it returns

Error response from daemon: Get "https://ghcr.io/v2/": dial tcp 20.248.137.52:443: connect: connection refused

Acceptance Criteria

tclose commented 6 months ago
dean-taylor commented 6 months ago

Records show that the registry containing the AIS docker registry was not added to the proxy whitelist (below). This does not explain how the original CTP was deployed.

Resolution. Add ghcr.io to the proxy whitelist.

archive.ubuntu.com
api.snapcraft.io
docker.io
registry.hub.docker.com
registry.k8s.io
kubernetes-sigs.github.io
quay.io
australian-imaging-service.github.io
tclose commented 6 months ago

Thanks for looking into it Dean

Records show that the registry containing the AIS docker registry was not added to the proxy whitelist (below). This does not explain how the original CTP was deployed.

Resolution. Add ghcr.io to the proxy whitelist.

archive.ubuntu.com
api.snapcraft.io
docker.io
registry.hub.docker.com
registry.k8s.io
kubernetes-sigs.github.io
quay.io
australian-imaging-service.github.io

I think looking at the email chain that they might have completely opened it up for us at one point to help us debug. Do we want all of ghcr.io or is australian-imaging-service.github.io sufficient?

fxusyd commented 5 months ago

Image can be pulled within the Microk8s cluster. However, pulling it directly on the staging server itself doesn't work.

tclose commented 4 months ago

Was an issue with the proxy settings in the end