slow downloading from registry.jujucharms.com
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Hi,
This is a Juju bugreport based on https:/
At the moment K8s charms (OCI resources) downloading speed is slow from registry.
It causes bugreports to our charm as it stays in "unknown" state for 2-4 minutes:
> Normal Pulled 26s kubelet Successfully pulled image "registry.
Please find detailed STR in https:/
It is important to mention several issues here:
1) lack of any end-user visibility about "resources (OCI)" downloading progress is a root of the issue IMHO.
E.g. Juju shows downloading progress for VM charms, but not for K8s.
2) downloading speed for postgresql OCI resource (175MB) is 2-4 minutes from registry.
(downloading the same OCI from ghcr.io and hub.docker.com is ~9 seconds)
3) juju confuses users with set status "unknown", see the unit status lifetime:
> postgresql-k8s/0 waiting allocating installing agent # OK
> postgresql-k8s/0* maintenance executing 10.1.221.139 installing charm software # OK
> postgresql-k8s/0* unknown executing 10.1.221.139
AFAIK, "unknown" is set during OCI downloading.
4) different juju units downloads the same resource/OCI in parallel (case `juju deploy postgresql-k8s -n 5`). Nice to optimize it too (https:/
Thank you!
Thanks Alex for reporting this situation. The items you expose here are too many for a single bug report.
From our understanding number 4) seems to be a legitimate bug we should explore.
At this moment we have no control of the registry. jujucharms. com repo so there's nothing we can do right now to improve the speed there.
About 1) and 3), those can be added to our wishlist.