Merge "Support multiple ceph-fs (mds) units"

This commit is contained in:
Zuul 2019-02-26 14:14:23 +00:00 committed by Gerrit Code Review
commit 304ab08a36
1 changed files with 2 additions and 1 deletions

View File

@ -633,7 +633,8 @@ def mds_relation_joined(relid=None, unit=None):
public_addr = get_public_addr()
data = {
'fsid': leader_get('fsid'),
'mds_key': ceph.get_mds_key(name=mds_name),
'{}_mds_key'.format(mds_name):
ceph.get_mds_key(name=mds_name),
'auth': config('auth-supported'),
'ceph-public-address': public_addr}
data.update(handle_broker_request(relid, unit))