Comment 5 for bug 1981335

Revision history for this message
Nikos Sklikas (nsklikas) wrote (last edit ):

I tried to look into it a little and I'm not sure if it's a problem with the jujucharms registry or with some kubelet config.

I think that it has to do with the size of the image.
I thought it might be related to my slow internet connection, so I tried setting `--runtime-request-timeout` to a longer time (default 2 min) in microk8s' kubelet (/var/snap/microk8s/3202/args/kubelet) config to see if this was caused by a timeout, but it lead nowhere.

I managed to overcome this issue by "manually" downloading the image by:
  - I went to the charm’s page (https://charmhub.io/kfp-viz/resources/oci-image)
  - I downloaded the charm (https://api.charmhub.io/api/v1/resources/download/charm_Z2g5QvSCaQsxR3kKn0AwvNytkMgIhFrN.oci-image_26)
  - The downloaded file is a json containing an ImageName, a Username and a Password (why is a public username/password needed to download an image?)
  - I downloaded the image by running:
        $ microk8s ctr i pull {ImageName} -u {Username}:{Password}

The download took some time to finish, but raised no errors