Can't upgrade ceph-mon from victoria to wallaby

Bug #2026602 reported by Gabriel Cocenza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
Fix Released
Undecided
Unassigned
Ceph RADOS Gateway Charm
Fix Committed
Undecided
Unassigned
charms.ceph
Fix Released
Undecided
Unassigned

Bug Description

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-victoria" 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.

[0] https://github.com/openstack/charms.ceph/blob/stable/pacific/charms_ceph/utils.py#L3173

Revision history for this message
Peter Sabaini (peter-sabaini) wrote (last edit ):

Hi Gabriel,
thanks for the report.

We have a patch in the works that should help with this --
https://review.opendev.org/c/openstack/charm-ceph-mon/+/887733

(for bug #2024253 ftr.)

Changed in charms.ceph:
status: New → Confirmed
description: updated
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote (last edit ):

Hi Peter.

As far as I know this patch won't fix if the UCA_CODENAME_MAP on charms.ceph (on branch stable/pacific) doesn't get updated to include octopus for victoria and pacific for wallaby and xena.

Thanks

Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :
Revision history for this message
Erhan Sunar (esunar) wrote :

This bugs also effects charm-ceph-radosgw and fix proposed https://review.opendev.org/c/openstack/charm-ceph-radosgw/+/889782

Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

The change on charms.ceph is already released and it seems that the change on ceph-radosgw it's on the way to backport.

Changed in charms.ceph:
status: Confirmed → Fix Released
Changed in charm-ceph-radosgw:
status: New → Fix Committed
Changed in charm-ceph-mon:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.