]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder volume attach on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 28 Mar 2014 08:57:13 +0000 (10:57 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 28 Mar 2014 08:57:13 +0000 (10:57 +0200)
commit23e820abb8685573f97f5e3764225a97dd695127
treedfd519727831301feb7cbdc5af5f25d32d155305
parent994bd9e87e714275d8e4e87e60b0ee1dabd217c0
Fixes cinder volume attach on Windows

The initiator name and the target name are inverted when passing
the arguments to the method which associates the iSCSI target to
an initiator. For this reason, this operation will fail.

Also, the connection to the iSCSI target cannot be initialized
properly as the method which gets portal information is missing
the return value.

Change-Id: I31034cd407d12d69a410f8c9e86a2e6821349dad
Closes-Bug: #1299131
cinder/volume/drivers/windows/windows.py
cinder/volume/drivers/windows/windows_utils.py