mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
mgr/cephadm: configure rgw_frontends for rgw service
This assumes the beast frontend. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
ac98ed009c
commit
0d04e85f4f
@ -2609,6 +2609,16 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
|
||||
'name': 'rgw_realm',
|
||||
'value': spec.rgw_realm,
|
||||
})
|
||||
if spec.ssl:
|
||||
v = 'beast ssl_port=%d' % spec.get_port()
|
||||
else:
|
||||
v = 'beast port=%d' % spec.get_port()
|
||||
ret, out, err = self.mon_command({
|
||||
'prefix': 'config set',
|
||||
'who': 'client.rgw.' + spec.service_id,
|
||||
'name': 'rgw_frontends',
|
||||
'value': v,
|
||||
})
|
||||
|
||||
def _create_rgw(self, rgw_id, host):
|
||||
ret, keyring, err = self.mon_command({
|
||||
|
Loading…
Reference in New Issue
Block a user