Skip to content

Commit

Permalink
pass ceph configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum committed Nov 21, 2023
1 parent 64b614d commit e352838
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion control/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ def _start_monitor_client(self):
self.logger.info("CEPH monitor client is disabled")
return
monitor_client = '/usr/local/bin/ceph-nvmeof'
cmd = [monitor_client, "--gateway-name", self.name, "--gateway-address", self._gateway_address()]
cmd = [ monitor_client,
"--gateway-name", self.name,
"--gateway-address", self._gateway_address(),
'-c', '/etc/ceph/ceph.conf',
'-n', 'client.admin',
'-k', '/etc/ceph/keyring']
self.logger.info(f"Starting {' '.join(cmd)}")
try:
# start monitor client process
Expand Down

0 comments on commit e352838

Please sign in to comment.