Skip to content

Commit aca4682

Browse files
committed
mgr/cephadm: Add key encryption support to nvmeof configuration
Fixes https://tracker.ceph.com/issues/69036 Signed-off-by: Gil Bregman <[email protected]>
1 parent 5790400 commit aca4682

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ enable_auth = {{ spec.enable_auth }}
88
state_update_notify = {{ spec.state_update_notify }}
99
state_update_interval_sec = {{ spec.state_update_interval_sec }}
1010
enable_spdk_discovery_controller = {{ spec.enable_spdk_discovery_controller }}
11+
enable_key_encryption = {{ spec.enable_key_encryption }}
1112
enable_prometheus_exporter = {{ spec.enable_prometheus_exporter }}
1213
prometheus_exporter_ssl = False
1314
prometheus_port = 10008

src/pybind/mgr/cephadm/tests/test_services.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ def test_nvmeof_config(self, _get_name, _run_cephadm, cephadm_module: CephadmOrc
398398
state_update_notify = True
399399
state_update_interval_sec = 5
400400
enable_spdk_discovery_controller = False
401+
enable_key_encryption = True
401402
enable_prometheus_exporter = True
402403
prometheus_exporter_ssl = False
403404
prometheus_port = 10008
@@ -410,7 +411,7 @@ def test_nvmeof_config(self, _get_name, _run_cephadm, cephadm_module: CephadmOrc
410411
spdk_ping_interval_in_seconds = 2.0
411412
ping_spdk_under_lock = False
412413
enable_monitor_client = True
413-
max_hosts_per_namespace = 1
414+
max_hosts_per_namespace = 8
414415
max_namespaces_with_netmask = 1000
415416
max_subsystems = 128
416417
max_namespaces = 1024

0 commit comments

Comments
 (0)