Merge "ScaleIO could connect wrong volume to VM"

changes/76/243776/13
Jenkins 7 years ago committed by Gerrit Code Review
commit a1d690bde2
  1. 2
      os_brick/initiator/connector.py

@ -2508,6 +2508,7 @@ class ScaleIOConnector(InitiatorConnector):
'path': self.volume_path}
return device_info
@lockutils.synchronized('scaleio', 'scaleio-')
def connect_volume(self, connection_properties):
"""Connect the volume.
@ -2636,6 +2637,7 @@ class ScaleIOConnector(InitiatorConnector):
return device_info
@lockutils.synchronized('scaleio', 'scaleio-')
def disconnect_volume(self, connection_properties, device_info):
"""Disconnect the ScaleIO volume.

Loading…
Cancel
Save