VMWare compute driver incorrectly attaches volumes on iSCSI for target with multiple LUNs.
Driver handles only first LUN for the target with iqn retrieved from Cinder service to attach volume:
at nova.virt.vmwareapi.VMwareVolumeOps._iscsi_get_target(self, data), line 169:
for lun in target.lun:
if 'host.ScsiDisk' in lun.scsiLun: scsi_lun_key = lun.scsiLun
break
Thus, only one volume will be attached to VM, but multiple times (see in attachment).
VMWare compute driver incorrectly attaches volumes on iSCSI for target with multiple LUNs.
Driver handles only first LUN for the target with iqn retrieved from Cinder service to attach volume:
at nova.virt. vmwareapi. VMwareVolumeOps ._iscsi_ get_target( self, data), line 169:
scsi_ lun_key = lun.scsiLun
for lun in target.lun:
if 'host.ScsiDisk' in lun.scsiLun:
break
Thus, only one volume will be attached to VM, but multiple times (see in attachment).