Bug 1416922

Summary: [RFE] Support multiple instances of rbd-mirror in director
Product: Red Hat OpenStack Reporter: Jon Bernard <jobernar>
Component: rhosp-directorAssignee: Jeff Brown <jefbrown>
Status: CLOSED CURRENTRELEASE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dbecker, flucifre, jdillama, jomurphy, markmc, mburns, morazi, pgrist, rhel-osp-director-maint, royoung, scohen, shan, srevivo
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 13.0 (Queens)   
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-13 12:25:27 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: 1367186    
Bug Blocks:    

Description Jon Bernard 2017-01-26 19:34:33 UTC
The current rbd-mirror design is not highly available nor can it horizontally scale its load across multiple instances. The goal is to remedy these limitations for the Kraken release of Ceph.

Comment 3 Federico Lucifredi 2017-09-07 18:01:44 UTC
Jason, can you please check with John that everything needed to do this in OSP13 is there with Ceph 3.0. 

We think it is, but double-checking for planning.

Comment 4 Federico Lucifredi 2017-09-07 18:02:18 UTC
s/John/Jon/, sorry :)

Comment 5 Jason Dillaman 2017-09-07 18:24:30 UTC
@Jon: assuming OSP 13 is using ceph-ansible for deployment, it already supports deploying multiple rbd-mirror instances when that role is assigned to nodes [1]. Note that running more than one instance of rbd-mirror on a single node is not supported since the ceph-ansible scripts create a Ceph user named "client.rbd-mirror.<node name>" and each instance needs to use a unique user id.

[1] https://github.com/ceph/ceph-ansible/pull/1625

Comment 8 Sébastien Han 2017-10-13 09:28:30 UTC
The role assignment with ceph-ansible is sufficient.

Comment 9 Sean Cohen 2017-10-13 12:25:27 UTC
(In reply to leseb from comment #8)
> The role assignment with ceph-ansible is sufficient.

Thanks Sebastien,
Closing as current release accordingly.
Sean