I'm currently trying to upgrade ceph-mon from victoria to wallaby with this steps:
- changed the charm channel to "pacific/stable"
- changed the ceph-mon source from "cloud:focal-wallaby" to "cloud:focal-wallaby"
Looking at the logs I saw:
unit-ceph-mon-0: 17:08:48 DEBUG unit.ceph-mon/0.juju-log No hardening applied to 'config_changed'
unit-ceph-mon-0: 17:08:48 INFO unit.ceph-mon/0.juju-log old_version: None
unit-ceph-mon-0: 17:08:48 INFO unit.ceph-mon/0.juju-log new_version: None
unit-ceph-mon-0: 17:08:48 ERROR unit.ceph-mon/0.juju-log Invalid upgrade path from None to None. Valid paths are: ['firefly -> hammer', 'hammer -> jewel', 'jewel -> luminous', 'luminous -> mimic', 'mimic -> nautilus', 'nautilus -> octopus']
When I ssh into the unit is possible to see that the payload didn't upgrade:
ubuntu@juju-98bcec-0-lxd-2:~$ ceph-mon -v
ceph version 15.2.17 (8a82819d84cf884bd39c17e3236e0632ac146dc4) octopus (stable)
This is happening because UCA_CODENAME_MAP on charms.ceph[0] on the branch "stable/pacific" is mapping until ussuri, so when wallaby appears it return None.
I'm currently trying to upgrade ceph-mon from victoria to wallaby with this steps:
- changed the charm channel to "pacific/stable" focal-wallaby" to "cloud: focal-wallaby"
- changed the ceph-mon source from "cloud:
Looking at the logs I saw: mon/0.juju- log No hardening applied to 'config_changed' mon/0.juju- log old_version: None mon/0.juju- log new_version: None mon/0.juju- log Invalid upgrade path from None to None. Valid paths are: ['firefly -> hammer', 'hammer -> jewel', 'jewel -> luminous', 'luminous -> mimic', 'mimic -> nautilus', 'nautilus -> octopus']
unit-ceph-mon-0: 17:08:48 DEBUG unit.ceph-
unit-ceph-mon-0: 17:08:48 INFO unit.ceph-
unit-ceph-mon-0: 17:08:48 INFO unit.ceph-
unit-ceph-mon-0: 17:08:48 ERROR unit.ceph-
When I ssh into the unit is possible to see that the payload didn't upgrade:
ubuntu@ juju-98bcec- 0-lxd-2: ~$ ceph-mon -v 4bd39c17e3236e0 632ac146dc4) octopus (stable)
ceph version 15.2.17 (8a82819d84cf88
This is happening because UCA_CODENAME_MAP on charms.ceph[0] on the branch "stable/pacific" is mapping until ussuri, so when wallaby appears it return None.
[0] https:/ /github. com/openstack/ charms. ceph/blob/ stable/ pacific/ charms_ ceph/utils. py#L3173