]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix detach volume from host problem in VMAX driver
authorXing Yang <xing.yang@emc.com>
Thu, 5 Feb 2015 17:09:34 +0000 (12:09 -0500)
committerXing Yang <xing.yang@emc.com>
Sun, 8 Feb 2015 22:37:45 +0000 (17:37 -0500)
commit95b1943f5e2878e141284f55019b5d6b8540da50
tree4aaf63b8c80fc2b93018dad7f1684967453b5ec4
parentb87af0c3307365f8f64d088691cf870beb36979c
Fix detach volume from host problem in VMAX driver

The VMAX driver unmaps a volume from a host without checking
the host info in the connector, resulting the wrong host to be
detached. This patch looks up the host info before detach and
fixes the problem.

Closes-Bug: #1382641
Change-Id: I68f053b34cc68cdb4f3a9e622faa47a260abd53a
cinder/tests/test_emc_vmax.py
cinder/volume/drivers/emc/emc_vmax_common.py
cinder/volume/drivers/emc/emc_vmax_fast.py
cinder/volume/drivers/emc/emc_vmax_fc.py
cinder/volume/drivers/emc/emc_vmax_iscsi.py
cinder/volume/drivers/emc/emc_vmax_masking.py
cinder/volume/drivers/emc/emc_vmax_provision.py
cinder/volume/drivers/emc/emc_vmax_utils.py