Comment 12 for bug 1951094

Revision history for this message
Ian Marsh (drulgaard) wrote :

Not sure if I'm doing something wrong, but when trying to upgrade a freshly-built Victoria to Wallaby (upgrade practice before production upgrade) and therefore Ceph from Octopus to Pacific, I first upgrade the ceph-mon charm from channel octopus/stable (rev 160) to pacific/stable (rev 152) and then reconfigure the charm's source from cloud:focal-victoria to cloud:focal-wallaby, and it fails to upgrade.

If I monkey-patch each /var/lib/juju/agents/unit-ceph-mon-*/charm/lib/charms_ceph/utils.py with...

3169a3170
> ('octopus', 'pacific'),
3186a3188,3189
> 'victoria': 'octopus',
> 'wallaby': 'pacific',

... in between the charm upgrade and the source reconfiguration, then it upgrades fine. I don't think this is new news, but I'm surprised to find it still missing in the latest pacific/stable charm.