Bug 1269436

Summary: ceph init script bugs
Product: [Fedora] Fedora Reporter: Artemy Kapitula, RCNTEC Ltd <dalt74>
Component: cephAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 22CC: branto, dalt74, david, fedora, loic, steve
Target Milestone: ---Keywords: Reopened
Target Release: ---Flags: branto: needinfo? (dalt74)
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-0.94.5-2.fc22 ceph-0.94.5-2.fc23 ceph-0.94.6-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 17:55:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
init script patch none

Description Artemy Kapitula, RCNTEC Ltd 2015-10-07 11:11:06 UTC
Created attachment 1080600 [details]
init script patch

Description of problem:

ceph init script /etc/init.d/ceph is buggy in ceph-0.94.3-1

How reproducible:

Always

Steps to Reproduce:
1. Create a cluster with a non-default name (i.e. "demo", not a default "ceph")
2. Start Ceph monitor: service ceph --cluster demo start mon
3. Try to get status: service ceph --cluster demo status

Actual results:

=== mon.control1 === 
mon.control1: running failed: '/usr/bin/ceph --admin-daemon /var/run/ceph/ceph-mon.control1.asok version 2>/dev/null'

Expected results:

=== mon.control1 === 
mon.control1: running {"version":"0.94.3"}

Additional info:

Simple patch included.

Comment 1 Boris Ranto 2015-11-24 22:52:27 UTC
Hi Artemy,

we have already switched to systemd with ceph in fedora (current rawhide) so as far as rawhide goes, this bug report is moot.

However, the issue that you mention here is still not fixed upstream. Could you please create an upstream PR [1] so that you get the credits for the patch? Afterwards, we can backport the patch to the hammer branch and it will eventually land in f22/f23 once another maintenance hammer release will pop up.

[1] https://github.com/ceph/ceph

Comment 2 Boris Ranto 2015-12-04 17:44:01 UTC
FYI: A similar patch was proposed upsream:

https://github.com/ceph/ceph/pull/6732

Comment 3 Fedora Update System 2015-12-09 16:49:12 UTC
ceph-0.94.5-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-0e095ab8ff

Comment 4 Fedora Update System 2015-12-09 23:22:33 UTC
ceph-0.94.5-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ceph'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-e0111115ad

Comment 5 Fedora Update System 2015-12-10 04:54:41 UTC
ceph-0.94.5-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ceph'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-0e095ab8ff

Comment 6 Fedora Update System 2015-12-19 18:27:23 UTC
ceph-0.94.5-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-02-23 23:12:33 UTC
ceph-0.94.6-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-94f2d87a47

Comment 8 Fedora Update System 2016-02-25 10:52:54 UTC
ceph-0.94.6-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-94f2d87a47

Comment 9 Fedora Update System 2016-05-10 17:55:10 UTC
ceph-0.94.6-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.