upgrade from firefly not supported

Bug #1662863 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceph Charm (Retired)
Fix Released
High
Unassigned
ceph (Juju Charms Collection)
Invalid
High
Unassigned
ceph-mon (Juju Charms Collection)
Invalid
High
Unassigned
ceph-osd (Juju Charms Collection)
Invalid
High
Unassigned

Bug Description

For some reason upgrading from Firely (version of Ceph in Trusty main) is not supported by the charms:

https://github.com/openstack/charm-ceph/blob/stable/16.10/hooks/ceph_hooks.py#L93

So if i deploy with source unset then set to cloud:trusty-kilo (to get F -> H since thats the next available version) it will do nothing at all.

Also, the hardcoded upgrade paths do not make sense since (a) the Juno UCA does not carry a version of Ceph and is also EOL and (b) the Kilo and Liberty UCA have the same version of Ceph in them.

Tags: openstack sts
Changed in ceph-mon (Juju Charms Collection):
importance: Undecided → High
Changed in ceph-osd (Juju Charms Collection):
importance: Undecided → High
Changed in ceph-mon (Juju Charms Collection):
milestone: none → 17.01
Changed in ceph-osd (Juju Charms Collection):
milestone: none → 17.01
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Also, the ceph charms are restricting upgrades to Trusty only.

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Seems that this is fixed in dev branches for ceph-osd and ceph-mon but ceph charm got left out - https://github.com/openstack/charm-ceph-osd/commit/a60775be188a6450f1ec3c8486aad92032acf1d0

Changed in ceph-mon (Juju Charms Collection):
status: New → Invalid
Changed in ceph-osd (Juju Charms Collection):
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

Re comment on trusty only support in #2 - yep - that's the only ubuntu series where we have multiple ceph versions at the moment!

We might have Kraken for zesty, but probably not for the Ocata UCA.

Changed in ceph (Juju Charms Collection):
status: New → Triaged
James Page (james-page)
Changed in charm-ceph:
importance: Undecided → High
status: New → Triaged
Changed in ceph (Juju Charms Collection):
status: Triaged → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph (master)

Reviewed: https://review.openstack.org/504924
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=596d8a96253bba8e2c1f08be54488bcc976a2b0b
Submitter: Jenkins
Branch: master

commit 596d8a96253bba8e2c1f08be54488bcc976a2b0b
Author: James Page <email address hidden>
Date: Mon Sep 18 12:55:28 2017 +0100

    Generalize upgrade paths, use charms.ceph

    Bring ceph charm inline with ceph-mon and ceph-osd charms,
    supporting all upgrades paths for trusty and xenial deployments.

    Change-Id: I8284e1f9b583b34cb68babec69407edc14c04930
    Closes-Bug: 1662863

Changed in charm-ceph:
status: Triaged → Fix Committed
James Page (james-page)
Changed in charm-ceph:
milestone: none → 18.02
Ryan Beisner (1chb1n)
Changed in charm-ceph:
status: Fix Committed → 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.