Ceph removes configuration files during the uninstallation

Bug #1374954 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Opinion
High
Aleksander Mogylchenko

Bug Description

Steps To Reproduce:
1. Install OpenStack with Ceph OSD node on CentOS.
2. Execute the following commands on ceph node:
yum remove ceph
yum install libcephfs1
su -c 'rpm -Uvh http://ceph.com/rpm-dumpling/el6/x86_64/ceph-0.67.11-0.el6.x86_64.rpm'

Observed result:
New version of ceph can't start because we have no configuration files. Ceph will remove configuration file during the uninstallation.

Tags: ceph mos-linux
tags: added: ceph
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: nobody → MOS Linux (mos-linux)
Changed in fuel:
status: New → Confirmed
tags: added: mos-linux
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Will be addressed by updated spec in the incoming Ceph 0.80.7.

Changed in fuel:
status: Confirmed → Invalid
status: Invalid → In Progress
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

Ceph does not have ready-to-use configuration file in its packages. Instead, it provides samples which should be edited beforehand, or ceph-deploy tool, that can generate configuration for you.

Here is the quote from official documentation (http://ceph.com/docs/master/rados/configuration/ceph-conf/):
When you start a Ceph Storage Cluster, each daemon looks for a Ceph configuration file (i.e., ceph.conf by default) that provides the cluster’s configuration settings. For manual deployments, you need to create a Ceph configuration file. For tools that create configuration files for you (e.g., ceph-deploy, Chef, etc.), you may use the information contained herein as a reference.

Old files are removed from the system by the package manager, which is also a default behavior.

Changed in fuel:
status: In Progress → Opinion
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.