From 96b177a013d2efdd9e9afd912f98d4080d13d9ca Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Tue, 10 Oct 2023 10:13:31 +0300 Subject: [PATCH 1/2] Fix typo in introduced in f88d9684 Signed-off-by: Alexander Indenbaum --- control/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/server.py b/control/server.py index 6250dd0f..7057c28e 100644 --- a/control/server.py +++ b/control/server.py @@ -129,7 +129,7 @@ def serve(self): def _start_discovery_service(self): """Runs either SPDK on CEPH NVMEOF Discovery Service.""" - enable_spdk_discovery_controller = self.config.getboolean_with_default("gateway", "enable_spdk_discpovery_controller", False) + enable_spdk_discovery_controller = self.config.getboolean_with_default("gateway", "enable_spdk_discovery_controller", False) if enable_spdk_discovery_controller: self.logger.info("Using SPDK discovery service") return From 3e041bc4e36e830081ffbf1bf9788d15e1e72f39 Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Tue, 10 Oct 2023 13:33:57 +0300 Subject: [PATCH 2/2] Fix multigateway test Signed-off-by: Alexander Indenbaum --- tests/test_multi_gateway.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_multi_gateway.py b/tests/test_multi_gateway.py index 96d768b9..8e0b3da0 100644 --- a/tests/test_multi_gateway.py +++ b/tests/test_multi_gateway.py @@ -72,9 +72,6 @@ def test_multi_gateway_coordination(config, image, conn): num_subsystems = 2 pool = config.get("ceph", "pool") - enable_discovery_controller = config.getboolean_with_default("gateway", "enable_discovery_controller", False) - if not enable_discovery_controller: - num_subsystems -= 1 # Send requests to create a subsystem with one namespace to GatewayA bdev_req = pb2.create_bdev_req(bdev_name=bdev,