]> 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)
committerjohn-griffith <john.griffith@solidfire.com>
Tue, 1 Apr 2014 21:16:03 +0000 (15:16 -0600)
commit3ac21395002531f0da35cc7083b31c3219179519
tree958912f7d3ce40c8133b95683963512d58a5da74
parenta3a3b8358791fbe7db13361c8e532b6b97e8a73d
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
(cherry picked from commit 23e820abb8685573f97f5e3764225a97dd695127)
cinder/volume/drivers/windows/windows.py
cinder/volume/drivers/windows/windows_utils.py