Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1503556

Summary: rbd-target-gw fails to start when cluster name is used
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lubos Trilety <ltrilety>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED DUPLICATE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, nthomas, sankarshan
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-18 13:20:19 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:
Embargoed:

Description Lubos Trilety 2017-10-18 11:51:39 UTC
Description of problem:
When a cluster has a name different than the default one rbd-target-gw fails to start on the machine where iSCSI gateway is installed using ceph-ansible. There's following line in journal:
7f0be8264740 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.2-1.el7cp.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install ceph cluster with some name (not the default one) and with iSCSI gateway using ceph-ansible
2. ceph successfully installed
3. Look on the machine where iSCSI gateway is installed
4. Check rbd-target-gw service

Actual results:
rbd-target-gw is not running, fails to start because missing ceph.conf file.

Expected results:
rbd-target-gw is running

Additional info:

Comment 1 Harish NV Rao 2017-10-18 12:48:41 UTC
Dup of 1502021 rbd-target-gw does not support cluster name different than 'ceph'?...

Comment 2 Sébastien Han 2017-10-18 13:20:19 UTC
Yes, dup of https://bugzilla.redhat.com/show_bug.cgi?id=1502021

*** This bug has been marked as a duplicate of bug 1502021 ***