Activity log for bug #1373054

Date Who What changed Old value New value Message
2014-09-23 17:45:46 Mikhail Kebich bug added bug
2014-09-23 17:45:46 Mikhail Kebich attachment added openstack+vcenter.png https://bugs.launchpad.net/bugs/1373054/+attachment/4212656/+files/openstack%2Bvcenter.png
2014-09-23 17:50:31 Mikhail Kebich description 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.volumeops.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).
2014-09-23 18:40:18 Sean Dague nova: status New Confirmed
2014-09-23 18:40:21 Sean Dague nova: importance Undecided Low
2015-01-27 01:52:27 Hiroki Aramaki bug added subscriber Hiroki Aramaki
2016-02-25 15:07:22 Matt Riedemann nova: status Confirmed Incomplete
2016-02-25 15:16:28 Tracy Jones bug added subscriber Tracy Jones
2016-03-02 08:54:36 Feng Xi Yan nova: assignee Feng Xi Yan (yanfengxi)
2016-03-02 08:54:52 Feng Xi Yan nova: status Incomplete Confirmed
2016-03-03 01:38:30 OpenStack Infra nova: status Confirmed In Progress
2016-03-09 12:14:22 Feng Xi Yan description 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.volumeops.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.volumeops.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). Another problem is, when we detaching more than one iSCSI volume, the first volume could be detached, but the second one will fail, because the driver could not get the iSCSI target after detaching the first volume without any rescan operation.
2017-06-27 19:22:01 Sean Dague nova: status In Progress Confirmed
2017-06-27 19:22:05 Sean Dague nova: assignee Feng Xi Yan (yanfengxi)