From 6e6e2c2f168d9874968fdf539302835a17b0d84c Mon Sep 17 00:00:00 2001 From: wmousa Date: Mon, 21 Jul 2025 15:55:30 +0200 Subject: [PATCH] bind pci to spdk in case of restart before starting spdk --- simplyblock_core/storage_node_ops.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simplyblock_core/storage_node_ops.py b/simplyblock_core/storage_node_ops.py index c35528d629..b4e0633200 100644 --- a/simplyblock_core/storage_node_ops.py +++ b/simplyblock_core/storage_node_ops.py @@ -1541,6 +1541,8 @@ def restart_storage_node( try: if new_ssd_pcie and type(new_ssd_pcie) is list: snode.ssd_pcie.extend(new_ssd_pcie) + for ssd in snode.ssd_pcie: + snode_api.bind_device_to_spdk(ssd) fdb_connection = cluster.db_connection results, err = snode_api.spdk_process_start( snode.l_cores, snode.spdk_mem, snode.spdk_image, spdk_debug, cluster_ip, fdb_connection,