From 6770c395d96d4ddd96a15eaad138e5d02e72a05d Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Wed, 4 Oct 2023 12:25:47 +0300 Subject: [PATCH] Add self.discovery_pid init Signed-off-by: Alexander Indenbaum --- control/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/control/server.py b/control/server.py index 578452ba..ce7e4ff1 100644 --- a/control/server.py +++ b/control/server.py @@ -57,6 +57,7 @@ class GatewayServer: spdk_rpc_client: Client of SPDK RPC server spdk_rpc_ping_client: Ping client of SPDK RPC server spdk_process: Subprocess running SPDK NVMEoF target application + discovery_pid: Subprocess running Ceph nvmeof discovery service """ def __init__(self, config): @@ -65,6 +66,7 @@ def __init__(self, config): self.spdk_process = None self.gateway_rpc = None self.server = None + self.discovery_pid = None self.name = self.config.get("gateway", "name") if not self.name: