]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix VMAX live migration problem
authorXing Yang <xing.yang@emc.com>
Wed, 23 Sep 2015 15:22:43 +0000 (11:22 -0400)
committerXing Yang <xing.yang@emc.com>
Fri, 2 Oct 2015 16:55:32 +0000 (12:55 -0400)
commit5268a8d61beee1b18d14fd3738e763a0a61b00f1
treefaa6ffa8ad487d27624bb996a851a2405da9ee35
parent2c09897f569a786998fd1ab50e42d81e9a2093a0
Fix VMAX live migration problem

Live migration fails for VMAX because the host is not taken into
account when determining whether a volume is masked or not. For
live migration it is necessary to know which host a volume is masked
to. This patch fixes the problem by checking which host the volume
is masked to.

Change-Id: I693e29f7b26145bd1fd357b7d98377e26bfdfed8
Closes-Bug: #1498964
(cherry picked from commit 794e27c78255c94084b54821d44a36fd8f2096d7)
cinder/tests/unit/test_emc_vmax.py
cinder/volume/drivers/emc/emc_vmax_common.py
cinder/volume/drivers/emc/emc_vmax_iscsi.py
cinder/volume/drivers/emc/emc_vmax_masking.py