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
This commit is contained in:
Feng Shengqin 2018-04-08 09:18:11 +08:00 committed by JiWei
parent 6de85a9a49
commit e562246865

View File

@ -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)