]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Only use iscsi_helper config option if using LVMISCSIDriver
authorEric Harney <eharney@redhat.com>
Fri, 22 Feb 2013 16:27:29 +0000 (11:27 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 27 Feb 2013 20:26:26 +0000 (15:26 -0500)
commitce6e411e48f2d407286ddcf5ab8e966683e16c97
tree1cf756e8509a73653acc4a35d795a0d9b8718b3b
parent64ee4ac1aa7e6e334190c6104af6711a9ad817ee
Only use iscsi_helper config option if using LVMISCSIDriver

_get_iscsi_properties checks for iscsi_helper == 'tgtadm',
but this is run for drivers other than LVMISCSIDriver.

Only change target_lun based on iscsi_helper if using
LVMISCSIDriver/ThinLVMVolumeDriver.

Change-Id: I8c63f8d4097682c875bbfdfade665fdacbcf8e22
cinder/volume/driver.py