]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes 3PAR Host already exists error.
authorJim Branen <james.branen@hp.com>
Fri, 24 May 2013 16:30:10 +0000 (09:30 -0700)
committerJim Branen <james.branen@hp.com>
Wed, 29 May 2013 16:23:11 +0000 (09:23 -0700)
commit9b6dc3dc58e0095dcf59bfc129cc7e75f066b20f
tree92501c53390d602e1a167316e863158fb167bc78
parent1df6516dce723a50ce7138bf29c0791f75fee275
Fixes 3PAR Host already exists error.

Fixed “Host already exists” error by,
* Screen scraping error message and extracting the host name
used by the 3PAR backend.
* Cache the host name used by the 3PAR backend for subsequent
methods using host name.
* After a restart, and 3PAR host name it no longer available,
retrieve 3PAR host name using wwn/iqn, if a terminate_connection
fails.

Fixes bug 1182134

Change-Id: Ia08a311af168ae19dbe7c1405db9c606fd878e53
cinder/tests/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