Skip to content

Commit

Permalink
monitor client: use client.nvmeof name
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 29, 2023
1 parent 294bf09 commit 391ab8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion control/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _start_monitor_client(self):
"--gateway-name", self.name,
"--gateway-address", self._gateway_address(),
'-c', '/etc/ceph/ceph.conf',
'-n', 'client.admin',
'-n', 'client.nvmeof',
'-k', '/etc/ceph/keyring']
self.logger.info(f"Starting {' '.join(cmd)}")
try:
Expand Down
1 change: 1 addition & 0 deletions control/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ def open_rados_connection(self, config):
ceph_pool = config.get("ceph", "pool")
ceph_conf = config.get("ceph", "config_file")
rados_id = config.get_with_default("ceph", "id", "")
self.logger.error(f"Connecting to Rados using id {rados_id}")
conn = rados.Rados(conffile=ceph_conf, rados_id=rados_id)
conn.connect()
self.fetch_and_display_ceph_version(conn)
Expand Down

0 comments on commit 391ab8a

Please sign in to comment.