]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: add rados_id to nvmeof conf
authorAdam King <adking@redhat.com>
Thu, 27 Jul 2023 19:44:47 +0000 (15:44 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:36:14 +0000 (13:36 -0400)
commitb3c81c3358940a0365128e43ebaa18aa18daa39d
tree525ee2034b7fc2c5044244894a5985bc2c5957df
parent5d3f315300fca694faa9004ecd8836f658a23bea
mgr/cephadm: add rados_id to nvmeof conf

This is going to be used as the rados_id
to be set when connecting to the cluster using
the keyring we generate for the nvmeof daemon.

The python librados library defaults the name
to "client.admin" and so if we don't provide
a name or rados_id, we'll only be able to
use nvmeof with the "client.admin" keyring

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 3e8ad229f79a16bddd85a77bf5273f3751e33f56)
src/pybind/mgr/cephadm/services/nvmeof.py
src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2
src/pybind/mgr/cephadm/tests/test_services.py