]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Huawei HVS driver AttributeError
authorzhangchao010 <zhangchao010@huawei.com>
Mon, 14 Oct 2013 05:08:02 +0000 (13:08 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Wed, 16 Oct 2013 08:42:05 +0000 (16:42 +0800)
commit7aa0c1d9a4a02add6b00aeb764e9ba86a3c460ff
treed2679ec243bedafb81336ab806c7bad18da00828
parentb30402eeeddefb855126a32fee15db164684ba8c
Fix Huawei HVS driver AttributeError

This patch checks the iSCSI port info and raises an exception
if it can not get the port info from the configuration.

Closes-bug: #1237185
Change-Id: I341ccbe77abd25421e5ee0b2d07ace3759fbccef
cinder/volume/drivers/huawei/rest_common.py