How to update Ceph?

Hello guys!

I am curious about how we can upgrade Ceph? Current charm installs it in version 12.2.12 (https://docs.ceph.com/docs/master/releases/general/#active-stable-releases) which is quite outdated…

ceph-mon     12.2.12  active      3  ceph-mon       jujucharms   46 
ceph-osd     12.2.12  active      3  ceph-osd       jujucharms  301

What would be the correct approach for using the current Ceph version?

BR
panda

Hello Panda,

Per the docs on the Ceph charm’s charmstore page, the charm is deprecated and is not receiving updates.

The OpenStack charmers team maintains versions of the charm with more specific components of ceph. For example, ceph-mon and ceph-osd. Those versions are updated on cadence with the rest of the OpenStack charmers releases.

~ petevg

This graphic gives an overview:

image

1 Like

Just FYI, the OP is using the ceph-mon and ceph-osd charms according to the status snippet.

2 Likes

Hi @panda,

As @pmatulis’s graphic says, you’ll have to update the Ubuntu Cloud Archive if you want to upgrade from Ceph Luminious version 12.2.x assuming you’re on Ubuntu 18.04.

You can change the source charm config on both the ceph-mon and ceph-osd charm in order for the charm to upgrade Ceph.

Do note that upgrading is not always straight forward so please read related release notes and test first.
For charm specific info, I recommend checking out the release notes and the upgrading appendix for the charms

1 Like

Thank you all! I will check this next week :slight_smile: