]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix HNAS driver initialization
authorErlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Thu, 27 Nov 2014 18:45:10 +0000 (16:45 -0200)
committerErlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Thu, 18 Dec 2014 13:44:57 +0000 (11:44 -0200)
commit2d86d870f6fe49f17b9c891d9d402b0b308f3e30
tree5858aae402bb23162a9c453ed555bb8928cff24d
parent99f4664eff8afe7c38c51a846694dfb24a0867e4
Fix HNAS driver initialization

In iSCSI driver, when CHAP authentication is enabled, the driver would throw
an error message in the attempt to create the first volume after the driver
initialization. This is fixed by passing the right value to set_targetsecret.

Closes-Bug: #1402773
Change-Id: I554a67a2e19edb2e09c12febc339522719dfbe00
cinder/volume/drivers/hds/iscsi.py