]> 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>
Tue, 8 Aug 2023 14:49:28 +0000 (10:49 -0400)
commit3e8ad229f79a16bddd85a77bf5273f3751e33f56
treec0f7d064a065d8b4048fe1ed4644b338d4de551a
parent7195fb2ae11e860e0657fd2e66a5ed3807c0f0a5
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>
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