]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix nvmeof TLS handling and add coverage for ssl/mTLS 66495/head
authorRedouane Kachach <rkachach@ibm.com>
Wed, 3 Dec 2025 09:36:25 +0000 (10:36 +0100)
committerRedouane Kachach <rkachach@ibm.com>
Mon, 13 Apr 2026 13:35:58 +0000 (15:35 +0200)
commit8072940c32e54900fe852a37fc455c6c6d7009f4
treed7ab27f8883dfe5970acf621e7e6a29e1a511a1c
parent16ba52d616f65c7a56265f5379df9e3960e63d2a
mgr/cephadm: fix nvmeof TLS handling and add coverage for ssl/mTLS

This PR fixes the value of `ssl` field on `NvmeofServiceSpec` (was
always set to enable_auth) and add some UT to make sure both specs
with ssl only and with mTLS enabled (enable_auth) generate the
expected daemon configuration.

Fixes: https://tracker.ceph.com/issues/74073
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/tests/services/test_nvmeof.py
src/python-common/ceph/deployment/service_spec.py