]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/cephadm: Add key encryption support to nvmeof configuration
authorGil Bregman <gbregman@il.ibm.com>
Mon, 25 Nov 2024 08:35:24 +0000 (10:35 +0200)
committerGil Bregman <gbregman@il.ibm.com>
Mon, 25 Nov 2024 08:35:24 +0000 (10:35 +0200)
Fixes https://tracker.ceph.com/issues/69036

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2
src/pybind/mgr/cephadm/tests/test_services.py

index fed2a1be82b5cbdc512b03b880a7a3a99334f902..73f36952ee78ed73e12344aaf04025b83ce31ed9 100644 (file)
@@ -8,6 +8,7 @@ enable_auth = {{ spec.enable_auth }}
 state_update_notify = {{ spec.state_update_notify }}
 state_update_interval_sec = {{ spec.state_update_interval_sec }}
 enable_spdk_discovery_controller = {{ spec.enable_spdk_discovery_controller }}
+enable_key_encryption = {{ spec.enable_key_encryption }}
 enable_prometheus_exporter = {{ spec.enable_prometheus_exporter }}
 prometheus_exporter_ssl = False
 prometheus_port = 10008
index 83da1fa42324d0bc498caab1c81dd5bc42d133b8..75c7c3c5bf79e322ccf39d1ea6dc4186fb922cf3 100644 (file)
@@ -398,6 +398,7 @@ enable_auth = False
 state_update_notify = True
 state_update_interval_sec = 5
 enable_spdk_discovery_controller = False
+enable_key_encryption = True
 enable_prometheus_exporter = True
 prometheus_exporter_ssl = False
 prometheus_port = 10008
@@ -410,7 +411,7 @@ allowed_consecutive_spdk_ping_failures = 1
 spdk_ping_interval_in_seconds = 2.0
 ping_spdk_under_lock = False
 enable_monitor_client = True
-max_hosts_per_namespace = 1
+max_hosts_per_namespace = 8
 max_namespaces_with_netmask = 1000
 max_subsystems = 128
 max_namespaces = 1024