Bug 1388557

Summary: multipath-tools: rbd checker should not assume default cluster name
Product: Red Hat Enterprise Linux 7 Reporter: Mike Christie <mchristi>
Component: device-mapper-multipathAssignee: Mike Christie <mchristi>
Status: CLOSED WONTFIX QA Contact: Lin Li <lilin>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.4CC: agk, bmarzins, heinzm, jdillama, lilin, msnitzer, prajnoha, tchandra
Target Milestone: rc   
Target Release: ---   
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-01-04 21:39:10 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:
Bug Depends On:    
Bug Blocks: 1379890    

Description Mike Christie 2016-10-25 16:04:08 UTC
Description of problem:

If the ceph cluster was not using the default ceph name, then rbd checker initialization will fail with

Oct 25 04:52:19 | rbd2: Could not read rados conf

like is seen in 

https://bugzilla.redhat.com/show_bug.cgi?id=1388063#c4

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Tejas 2016-10-28 09:08:41 UTC
Mike,

   Customers will have ceph clusters with different names. We cannot ask them to recreate ceph cluster for the iscsi gateways. So this is  a critical fix from the view of backward compatibility.
Any idea when we can get this fix? We need this fix.

Thanks,
Tejas

Comment 4 Mike Christie 2016-10-28 16:49:15 UTC
(In reply to Tejas from comment #3)
> Mike,
> 
>    Customers will have ceph clusters with different names. We cannot ask
> them to recreate ceph cluster for the iscsi gateways. So this is  a critical
> fix from the view of backward compatibility.
> Any idea when we can get this fix? We need this fix.
> 


I should hopefully have something upstream approves of Monday or Tuesday. I can make you a rpm then.

Comment 7 Jason Dillaman 2016-11-02 16:06:47 UTC
I flagged the ceph-iscsi-ansible side of this issue (BZ 1388063) to be included in the release notes. You don't need to re-create your cluster. The cluster name is just a way to automatically pick a configuration file. Instead, if you gave your cluster a unique name, you just need to copy your "/etc/ceph/<unique cluster name>.conf" (and associated keyring) to "/etc/ceph/ceph.conf" on the bootstrap monitor host.

Comment 9 Mike Christie 2017-01-04 21:39:10 UTC
We are changing the implementation in RHCS 2.2 so we will not need this change anymore.