← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368637] [NEW] Error attaching NetApp iSCSI volume to Hyper-V compute node

 

Public bug reported:

If you try to attach a NetApp iSCSI volume to a Hyper-V compute host,
the request is not performed due to a type missmatch in the following
line:

https://github.com/openstack/nova/blob/b6a5ce00a0f767da2538b70d5e6d4c998a8e15e0/nova/virt/hyperv/basevolumeutils.py#L135

"if device.ScsiLun == target_lun:"

'device.ScsiLun' returned by WMI is an 'integer', while 'target_lun'
reported by the Cinder NetApp iSCSI driver is an 'unicode' string.

I'm not sure if this should be also reported to Cinder. Is there any
specification on the Cinder side that specifies the expected data type
for that field?

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: hyper-v iscsi netapp volumes

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1368637

Title:
  Error attaching NetApp iSCSI volume to Hyper-V compute node

Status in OpenStack Compute (Nova):
  New

Bug description:
  If you try to attach a NetApp iSCSI volume to a Hyper-V compute host,
  the request is not performed due to a type missmatch in the following
  line:

  https://github.com/openstack/nova/blob/b6a5ce00a0f767da2538b70d5e6d4c998a8e15e0/nova/virt/hyperv/basevolumeutils.py#L135

  "if device.ScsiLun == target_lun:"

  'device.ScsiLun' returned by WMI is an 'integer', while 'target_lun'
  reported by the Cinder NetApp iSCSI driver is an 'unicode' string.

  I'm not sure if this should be also reported to Cinder. Is there any
  specification on the Cinder side that specifies the expected data type
  for that field?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1368637/+subscriptions


Follow ups

References