Comment 1 for bug 2026651

Revision history for this message
Boris Lukashev (rageltman) wrote :

Digging into the logs of the upgrade (juju refresh --switch ch:ceph-mon --channel quincy/stable ceph-mon), it's clearly confused:
```
unit-ceph-mon-1: 17:35:09 INFO unit.ceph-mon/1.juju-log old_version: octopus
unit-ceph-mon-1: 17:35:09 INFO unit.ceph-mon/1.juju-log new_version: octopus
unit-ceph-mon-1: 17:35:09 ERROR unit.ceph-mon/1.juju-log Invalid upgrade path from octopus to octopus. Valid paths are: ['firefly -> hammer', 'hammer -> jewel', 'jewel -> luminous', 'luminous -> mimic', 'mimic -> nautilus', 'nautilus -> octopus', 'octopus -> pacific', 'pacific -> quincy']
```

Trying to force an upgrade to Pacific via `juju refresh --switch ch:ceph-mon --channel pacific/stable ceph-mon` STILL produces the same output:
```
unit-ceph-mon-2: 17:36:53 INFO unit.ceph-mon/2.juju-log old_version: octopus
unit-ceph-mon-2: 17:36:53 INFO unit.ceph-mon/2.juju-log new_version: octopus
unit-ceph-mon-2: 17:36:53 ERROR unit.ceph-mon/2.juju-log Invalid upgrade path from octopus to octopus. Valid paths are: ['firefly -> hammer', 'hammer -> jewel', 'jewel -> luminous', 'luminous -> mimic', 'mimic -> nautilus', 'nautilus -> octopus']
```

The host OS' are all now on Jammy (per the upgrade docs, MaaS deployed them at Focal) but these LXDs are stuck on Focal according to their internal /etc/lsb-release and apparently using that distro's native packages internally:
```
ubuntu@juju-70c262-0-lxd-0:~$ dpkg -l|grep ceph
ii ceph 15.2.17-0ubuntu0.20.04.3 amd64 distributed storage and file system
ii ceph-base 15.2.17-0ubuntu0.20.04.3 amd64 common ceph daemon libraries and management tools
ii ceph-common 15.2.17-0ubuntu0.20.04.3 amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-mds 15.2.17-0ubuntu0.20.04.3 amd64 metadata server for the ceph distributed file system
ii ceph-mgr 15.2.17-0ubuntu0.20.04.3 amd64 manager for the ceph distributed file system
ii ceph-mgr-modules-core 15.2.17-0ubuntu0.20.04.3 all ceph manager modules which are always enabled
ii ceph-mon 15.2.17-0ubuntu0.20.04.3 amd64 monitor server for the ceph storage system
ii ceph-osd 15.2.17-0ubuntu0.20.04.3 amd64 OSD server for the ceph storage system
ii libcephfs2 15.2.17-0ubuntu0.20.04.3 amd64 Ceph distributed file system client library
ii python3-ceph-argparse 15.2.17-0ubuntu0.20.04.3 amd64 Python 3 utility libraries for Ceph CLI
ii python3-ceph-common 15.2.17-0ubuntu0.20.04.3 all Python 3 utility libraries for Ceph
ii python3-cephfs 15.2.17-0ubuntu0.20.04.3 amd64 Python 3 libraries for the Ceph libcephfs library
```

I'm starting to think that Juju3 might not play well with things that Juju 2.x executed perfectly well. :-\