when migrate volume, if multipath is enabled.The function brick_get_connector_properties(multipath=False, enforce_multipath=False) should be specified multipath.

Bug #1603955 reported by haobing1 on 2016-07-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Unassigned

Bug Description

when using the function _migrate_volume_generic to migrate volume.It need copy_volume_data like this:

    def _copy_volume_data(self, ctxt, src_vol, dest_vol, remote=None):
        """Copy data from src_vol to dest_vol."""

        LOG.debug('copy_data_between_volumes %(src)s -> %(dest)s.',
                  {'src': src_vol['name'], 'dest': dest_vol['name']})

        properties = utils.brick_get_connector_properties()

But utils.brick_get_connector_properties() has no parameter if we enable multipath.It will lead to
use a single path to connect volume.That is not reasonable.

haobing1 (haobing1) on 2016-07-18
Changed in cinder:
assignee: nobody → haobing1 (haobing1)
assignee: haobing1 (haobing1) → nobody
Changed in cinder:
assignee: nobody → jingtao liang (liang-jingtao)

Fix proposed to branch: master
Review: https://review.openstack.org/361914

Changed in cinder:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.openstack.org/364015

Change abandoned by jingtao liang (<email address hidden>) on branch: master
Review: https://review.openstack.org/361914
Reason: Merge conflict

Change abandoned by Mike Perez (<email address hidden>) on branch: master
Review: https://review.openstack.org/364015

haobing1 (haobing1) on 2016-11-26
Changed in cinder:
assignee: jingtao liang (liang-jingtao) → haobing1 (haobing1)
haobing1 (haobing1) on 2016-12-14
Changed in cinder:
assignee: haobing1 (haobing1) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers