From a1325b4c76ba5ad42a09370d6250338cfb3de533 Mon Sep 17 00:00:00 2001 From: Hamdy Khader Date: Thu, 13 Sep 2018 16:24:54 +0300 Subject: [PATCH] Set defult value of num_nvme_discover_tries=5 Discovering newly connected devices in the initiator side can be slow when there are old connections, increasing the retries is important to discover the new connected device. Change-Id: I62a8162bf96d51f7252cfefbffc1a46010a3a612 Closes-Bug: #1792313 --- nova/conf/libvirt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/conf/libvirt.py b/nova/conf/libvirt.py index 1211f48c5fc5..1a26e24544c8 100644 --- a/nova/conf/libvirt.py +++ b/nova/conf/libvirt.py @@ -1235,7 +1235,7 @@ v2.10."""), libvirt_volume_nvmeof_opts = [ cfg.IntOpt('num_nvme_discover_tries', - default=3, + default=5, help=""" Number of times to rediscover NVMe target to find volume