]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix 3PAR driver attach error when host name missing
authorAnthony Lee <anthony.mic.lee@hp.com>
Thu, 4 Dec 2014 23:46:53 +0000 (15:46 -0800)
committerAnthony Lee <anthony.mic.lee@hp.com>
Fri, 5 Dec 2014 22:55:16 +0000 (14:55 -0800)
commit65c8ed3ed729b59ad44882b09d2aa47dda1275e7
treea15b99042d89f0c2afc8112e442d0309e3eb8139
parent0b74d6b73b530a1189a287ad9f02f58a37fceb49
Fix 3PAR driver attach error when host name missing

In some cases an error was being thrown by the 3PAR driver
when the 'name' property returned from queryHost was
missing.  This change adds a check so that the driver
reacts properly when this occurs.  Also removed an unneeded
warning output that was still in the FC driver.

This patch is related to this merged bug fix:
https://review.openstack.org/#/c/138212/

Closes-Bug: 1398206
Change-Id: I6593dc68616f55496c42d625968adfc684f98032
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py