Channels question

I’m a little confused by the various channels. Take this example from keystone. If yoga/stable is 572, why is latest/stable 539? Shouldn’t it be at least 572? The same for edge. Xena/edge is 573 so how can latest/edge be only 570?

latest/stable:       539  2022-02-09  (539)  494kB
latest/candidate:    ^
latest/beta:         ^
latest/edge:         570  2022-05-16  (570)  781kB
yoga/stable:         572  2022-06-15  (572)  781kB
yoga/candidate:      ^
yoga/beta:           ^
yoga/edge:           ^
xena/stable:         --
xena/candidate:      --
xena/beta:           --
xena/edge:           573  2022-06-10  (573)  772kB
wallaby/stable:      --
wallaby/candidate:   --
wallaby/beta:        --
wallaby/edge:        539  2022-03-04  (539)  494kB

For the OpenStack charms, latest corresponds to the 21.10 release, as latest/stable is what the un-specified charmstore (cs:) links maps onto. As there’s not a good way to get a pre Juju 2.9 client to work with charmhub links, it was decided to keep latest/stable as something that will always work with pre-2.9 and use specific, named, tracks moving forward.

This may all change at some point in the future, but is likely to stay this way for a while.

So if I am using Juju 2.9 (2.9.31 to be exact) then I should avoid using “latest/stable” ?

What should I use instead? “Yoga/stable” for openstack and “8.0/stable” for mysql?

You absolutely could use latest/stable, but that’s the charm release that shipped half a year ago. Regarding what channels, it depends a bit on what you want - the closest thing to a (conceptual) latest/edge would be to use zed/edge, but yoga/stable is probably more reasonable. For Ceph, you’d use quincy/stable, mysql is 8.0/stable, rabbitmq is 3.9/stable

1 Like