]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Improve 3PAR driver VLUN creation and deletion
authorAnthony Lee <anthony.mic.lee@hp.com>
Fri, 26 Jun 2015 17:38:33 +0000 (10:38 -0700)
committerAnthony Lee <anthony.mic.lee@hp.com>
Fri, 10 Jul 2015 21:35:10 +0000 (14:35 -0700)
commitb068ae93e26d21cb94504ac2f70231361acd38e6
tree370e5d365a042cda8f1bc7676d519fd128958ced
parent5669075b28ddcc03ffc72e5e5ef32c6552d5df9a
Improve 3PAR driver VLUN creation and deletion

This patch improves the creation and deletion logic for VLUNs
for the 3PAR drivers. The changes will help to prevent VLUNs
from being left behind after volume detaches. It also prevents
extra VLUNs being created when initialize_connection is called
multiple times for the same volume and host.

Closes-Bug: #1469816
Change-Id: I497564cb4bd661252570eb2e69962f7d5f3c07da
cinder/tests/unit/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py