commit 74e0ba7e658fcd2c6d1b7a92dcee564098d0a1ff
Author: Jeegn Chen <email address hidden>
Date: Sun Jun 8 16:23:36 2014 +0800
Fix live-migration failure in FC multipath case
Currently, /dev/dm-<NUM> instead of /dev/mapper/<multipath_id> is
used to access multipath FC volumes by Compute Node and
multipath_id in connection_info is not maintained properly and
may be lost during connection refreshing.
This implementation will make source Compute Node and destination
Compute Node fail to disconnect/connect to volumes properly and
result in live-migration failure.
To fix it, /dev/mapper<multipath_id> will be used instead of
/dev/dm-<NUM> to access multipath devices, just like iSCSI multipath
implementation, and logic to preserve the unique (across Compute
Nodes) multipath_id is also added.
Closes-Bug: #1327497
(cherry picked from commit 3ea14e8a70a946dbb162ecafa848e4f2fa29772a)
This backport commit adjust oslo.i18n usage to oslo-incubator common code,
due to we didn't have oslo.i18n in icehouse.
And remove unused variable value dev_str in test_libvirt_volume.py,
it should be deleted but not worth a specific commit in stable/icehouse.
Reviewed: https:/ /review. openstack. org/123056 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=74e0ba7e658 fcd2c6d1b7a92dc ee564098d0a1ff
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 74e0ba7e658fcd2 c6d1b7a92dcee56 4098d0a1ff
Author: Jeegn Chen <email address hidden>
Date: Sun Jun 8 16:23:36 2014 +0800
Fix live-migration failure in FC multipath case
Currently, /dev/dm-<NUM> instead of /dev/mapper/ <multipath_ id> is
used to access multipath FC volumes by Compute Node and
multipath_id in connection_info is not maintained properly and
may be lost during connection refreshing.
This implementation will make source Compute Node and destination
Compute Node fail to disconnect/connect to volumes properly and
result in live-migration failure.
To fix it, /dev/mapper< multipath_ id> will be used instead of
/dev/dm-<NUM> to access multipath devices, just like iSCSI multipath
implementation, and logic to preserve the unique (across Compute
Nodes) multipath_id is also added.
Closes-Bug: #1327497 bb162ecafa848e4 f2fa29772a)
(cherry picked from commit 3ea14e8a70a946d
Conflicts: storage/ linuxscsi. py tests/virt/ libvirt/ test_libvirt_ volume. py virt/block_ device. py virt/libvirt/ volume. py
nova/
nova/
nova/
nova/
This backport commit adjust oslo.i18n usage to oslo-incubator common code, volume. py,
due to we didn't have oslo.i18n in icehouse.
And remove unused variable value dev_str in test_libvirt_
it should be deleted but not worth a specific commit in stable/icehouse.
Change-Id: I17f15852c098af 88afd270084c62e b87693c60d4