Comment 0 for bug 1373054

Revision history for this message
Mikhail Kebich (mkebich-deactivatedaccount) wrote :

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).