]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cleanup 3PAR/LeftHand failover_host exceptions
authorAlex O'Rourke <alex.orourke@hpe.com>
Fri, 11 Mar 2016 00:09:01 +0000 (16:09 -0800)
committerAlex O'Rourke <alex.orourke@hpe.com>
Fri, 11 Mar 2016 15:34:32 +0000 (07:34 -0800)
commit5c51f272f347690959c0faf02fbc20e08d602e93
tree63ddc4d462e2cc57cd890485216fab2139f31dfa
parent7f71bad3cd18eb8677e7bbac714cf11b68a15ba8
Cleanup 3PAR/LeftHand failover_host exceptions

The 3PAR and LeftHand drivers were raising the wrong exception,
VolumeBackendAPIException, instead of InvalidReplicationTarget,
which was putting the host in an unrecoverable state,

Change-Id: I1c0ee4adb399dd1e89669477c53f79332a9f79ef
Closes-Bug: #1556150
cinder/tests/unit/test_hpe3par.py
cinder/tests/unit/test_hpelefthand.py
cinder/volume/drivers/hpe/hpe_3par_common.py
cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py