]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix exception error on HNAS drivers
authorRodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br>
Fri, 6 Feb 2015 12:27:05 +0000 (10:27 -0200)
committerRodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br>
Wed, 18 Feb 2015 13:52:11 +0000 (11:52 -0200)
commitc60c47f3138e551355af8418543b064a40fc32f9
tree855c15580761474d2786c29d48d7de5a117fb185
parent84855ecda7f3a12691ecace064e22ee512caa9f5
Fix exception error on HNAS drivers

This patch fixes the error thrown on the loading of HNAS drivers (NFS and
iSCSI). The bug was added by commit 450a35e2. Also, it adds unit tests to cover
exception situations.

Change-Id: I00957c4d39117a50d2ac2753f853841eedbe86a0
Closes-bug: #1418645
cinder/tests/test_hds_iscsi.py
cinder/tests/test_hds_nfs.py
cinder/volume/drivers/hds/iscsi.py
cinder/volume/drivers/hds/nfs.py