]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR volume detach with host in a host set
authorMark Sturdevant <mark.sturdevant@hp.com>
Tue, 27 May 2014 21:49:34 +0000 (14:49 -0700)
committerMark Sturdevant <mark.sturdevant@hp.com>
Fri, 30 May 2014 21:59:29 +0000 (14:59 -0700)
commitffa12c98971e35056a7867cd61ba5a39630cc0a7
tree5aa526aca093193336a543778ed1325af80b74f8
parentaa9e6dca05e82187411696304811491be96e882a
3PAR volume detach with host in a host set

When deleting the last VLUN for a host, try to
delete the host.  If the host is in a host set
this will fail.  When that happens, log a nice
message including the reason, but don't fail
or hang the delete VLUN.  Leave hosts in host
sets.

Closes-Bug: #1317134

Change-Id: Ie3f8f94c05a6a318de866598f9e9c4c5d84926f4
cinder/tests/fake_hp_client_exceptions.py
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py