Comment 10 for bug 1951094

Revision history for this message
Chuan Li (lccn) wrote :

charm version: ch:ceph-mon channel: quincy/stable revision: 149

'juju config ceph-mon source=cloud:focal-yoga' can not generate a correct file cloud-archive.list.The cloud-archive.list will be still with "focal-updates/xena",
Thus, upgrade from Pacific to Quincy will not happen. and strange unit logs are as following:

2023-02-04 11:48:20 INFO unit.ceph-mon/0.juju-log server.go:327 old_version: octopus
2023-02-04 11:48:20 INFO unit.ceph-mon/0.juju-log server.go:327 new_version: quincy
2023-02-04 11:48:20 ERROR unit.ceph-mon/0.juju-log server.go:327 Invalid upgrade path from octopus to quincy. Valid paths are: ['firefly -> hammer', 'hammer -> jewel', 'jewel -> luminous', 'luminous -> mimic', 'mimic -> nautilus', 'nautilus -> octopus', 'octopus -> pacific', 'pacific -> quincy']

steps:
1) deploy ceph-mon onto a focal from cs:-51
ceph is Octopus as expected

2) juju refresh --switch ch:ceph-mon --channel quincy/stable ceph-mon

3) juju config ceph-mon source=cloud:focal-victoria
ceph is still Octopus as expected

4) juju config ceph-mon source=cloud:focal-wallaby
ceph is Pacific as expected

4) juju config ceph-mon source=cloud:focal-xena
ceph is still Pacific as expected

5) juju config ceph-mon source=cloud:focal-yoga
ceph is NOT Quincy, but still Pacific, it's NOT expected.

Details: https://pastebin.canonical.com/p/gRqK6YNTsW/