Ceph - Debian Wheezy to Jessie Upgrade

Category: myblog Written by Jiri Kanicky Hits: 3925

Debian Jessie packages for Hammer became available, so it is time to upgrade. To my surprise I did not experienced any issues and a standard Debian upgrade procedure was everything I needed.

My Ceph Deployment

The following howto applies to all Ceph nodes. I have 3 nodes in my deployment and did not experience any problems. Actually I was very surprised how smooth the upgrade was. I upgraded each node in this order.

  1. Monitor
  2. Monitor + OSD + MDS
  3. Monitor + OSD + MDS

Note that I did not used ceph-deploy to update the nodes. I believe the apt-get update/upgrade method is much simpler.

Update Debian Wheezy to latest packages and Ceph Hammer release to version 0.94.5.

# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get dist-upgrade
# ceph --version

Update Debian Repositories to Jessie

You should see something similar as this:

$ cat /etc/apt/sources.list
#
deb http://debian.uberglobalmirror.com/debian/ jessie main contrib non-free
#deb-src http://debian.uberglobalmirror.com/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

Update Ceph repository to Jessie

You should see something like this:

$ cat /etc/apt/sources.list.d/ceph.list
deb http://ceph.com/debian-hammer/ jessie  main

Upgrade to new version

# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get dist-upgrade
# sudo reboot

Test if ceph is working

# ceph --version
# sudo ceph status