Juju cannot deploy charm revision from closed track: unable to fetch OCI image resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Unassigned | ||
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
It is a bugreport branched from the MM question:
> https:/
---
The charmhub track can be closed, but the last revision there is still installable,
e.g. mysql-k8s or mysql-router-k8s in the latest/edge.
It looks like resources are no longer reachable for the closed tracks/revisions:
ubuntu@
Located charm "mysql-router-k8s" in charm-hub, revision 24
Deploying "mysql-router-k8s" from charm-hub charm "mysql-router-k8s", revision 24 in channel latest/edge on jammy
ubuntu@
...
controller-0: 13:24:27 ERROR juju.worker.
---
Sergio reply: "... it seems strange that you can install anything from a channel that is closed ..."
The discussion on Engineering meeting went to no final decision, bugreported here:
Juju either have to:
1) do NOT allow to install revisions from closed tracks (e.g. snap way of closing tracks)
2) allow to install revision from closed tracks => fix resources availability (e.g. OCI for K8s charms).
Thank you!
---
P.S Keep in mind, it is NOT possible to install charm by revision too (using closed channel), but possible for the same revision using open channel:
```
juju deploy mysql-router-k8s --revision 24 --trust --channel latest/edge # fail
juju deploy mysql-router-k8s --revision 24 --trust --channel 8.0/edge # works
```
Which means: resources are still available in sore, but juju do not see them if channel is closed.
P.P.S see also charmcraft discussion here: https:/
description: | updated |
description: | updated |
description: | updated |
description: | updated |
The similar discussion in snapstore: https:/ /bugs.launchpad .net/snapstore- server/ +bug/2020681