Project

General

Profile

Feature #10562

support ceph downgrades

Added by Tamilarasi muthamizhan over 4 years ago. Updated about 3 years ago.

Status:
New
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
01/16/2015
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:

Description

wanted to file a ticket so keep track of where we are with this.

looks like, we may want to support ceph downgrades for cases where customer would want to downgrade to the previous stable version when a upgrade bug slips us and ends up with the customers upgrade.

to teuthology, it means to have a install.downgrade task.

History

#1 Updated by Yuri Weinstein over 3 years ago

  • Priority changed from High to Urgent

Per Sage we need to start supporting this path for jewel, e.g. jewel => hammer

#2 Updated by Yuri Weinstein over 3 years ago

Yuri Weinstein wrote:

Per Sage we need to start supporting this path for jewel, e.g. jewel => hammer

More info per Sage from IRC "10.2.1 -> 10.2.0", so maybe we would not downgrade across releases, only point versions, needs to be clarified

#3 Updated by Tamilarasi muthamizhan about 3 years ago

manually tested downgrades on ubuntu trusty and it seems to work fine.

drafting the steps below for reference:

steps followed:

1. brought up a single node cluster running ceph v 10.2.2
2. run rados bench on the cluster for a few minutes to fill up the disks.
3. manually downloaded the deb packages using wget [in the order mentioned below] and installed using dpkg, the ceph client packages and server packages downgraded fine and verified that the data exists in the cluster after downgrade.


download and install ceph client packages: 

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceph-base_10.2.1-1trusty_amd64.deb 

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceph-common_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/librbd1_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/python-rados_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/python-cephfs_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/python-rbd_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/librados2_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/libcephfs1_10.2.1-1trusty_amd64.deb

sudo dpkg -i ~/tam/librados2_10.2.1-1trusty_amd64.deb  ~/tam/librbd1_10.2.1-1trusty_amd64.deb ~/tam/python-rados_10.2.1-1trusty_amd64.deb ~/tam/python-rbd_10.2.1-1trusty_amd64.deb ~/tam/ceph-common_10.2.1-1trusty_amd64.deb ~/tam/libcephfs1_10.2.1-1trusty_amd64.deb ~/tam/python-cephfs_10.2.1-1trusty_amd64.deb ~/tam/ceph-common_10.2.1-1trusty_amd64.deb ~/tam/ceph-base_10.2.1-1trusty_amd64.deb 

download and install ceph packages

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceph-mon_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceph-osd_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceh_10.2.1-1trusty_amd64.deb

wget http://download.ceph.com/debian-jewel/pool/main/c/ceph/ceph_10.2.1-1trusty_amd64.deb

sudo dpkg -i ~/tam/ceph-mon_10.2.1-1trusty_amd64.deb  ~/tam/ceph-osd_10.2.1-1trusty_amd64.deb ~/tam/ceph_10.2.1-1trusty_amd64.deb 

restart ceph mon and osd daemons

Also available in: Atom PDF