Set the remote

This commit is contained in:
Chris Holcombe 2016-10-07 14:35:34 -07:00
parent 7d1da6a520
commit 50a9af7c03
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class CephClient(RelationBase):
@hook('{requires:ceph-mds}-relation-{joined}')
def joined(self):
self.set_remote(key='mds-name', value=socket.gethostname())
self.set_state('{relation_name}.connected')
self.initialize_mds(name=socket.gethostname())