From e56224686590bf44d02cd4c9b8a62ca4050244ab Mon Sep 17 00:00:00 2001 From: Feng Shengqin Date: Sun, 8 Apr 2018 09:18:11 +0800 Subject: [PATCH] zun do not support multipath When using multipath to mount the volume, In fact, it's still a single path device, resulting in failure. Change-Id: Ied2256164b56f1008db299f11ddee604acc09e6c Closes-Bug: #1761106 --- zun/volume/cinder_workflow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zun/volume/cinder_workflow.py b/zun/volume/cinder_workflow.py index 30ad27668..74a40fa59 100644 --- a/zun/volume/cinder_workflow.py +++ b/zun/volume/cinder_workflow.py @@ -48,7 +48,6 @@ def get_volume_connector_properties(): def get_volume_connector(protocol, driver=None, - use_multipath=False, device_scan_attempts=3, *args, **kwargs): """Wrapper to get a brick connector object. @@ -62,7 +61,7 @@ def get_volume_connector(protocol, driver=None, return brick_connector.InitiatorConnector.factory( protocol, None, driver=driver, - use_multipath=use_multipath, + use_multipath=CONF.volume.use_multipath, device_scan_attempts=device_scan_attempts, *args, **kwargs)