yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24151
[Bug 1386511] [NEW] VMWare: attach a iscsi volume to a VirtualIDEController
Public bug reported:
When using Nova vmware driver to attach a raw iscsi volume (using 'RDMp'
style) to a VM, found the iscsi volume is attached to the VM's
VirtualIDEController. It's expected to attached to a scsi controller,
such as VirtualLsiLogicSASController.
In nova.virt.vmwareapi.volumeops.py, the method of '
_attach_volume_iscsi' gets the adapter type:
(vmdk_file_path, adapter_type, disk_type) =
vm_util.get_vmdk_path_and_adapter_type(hardware_devices)
The method get_vmdk_path_and_adapter_type will iterate all the hardware
devices, and return the adapter type of the first Virtual Disk it reads.
If the first virtual disk is not an iscsi disk, e.g., an IDE disk, then
VirtualIDEController will be returned as the adapter type, and the iscsi
volume will be attached to that incorrect controller.
To fix this issue, we perhaps need a new method to find a suitable
existing scsi controller for the volume, or to create a new controller
if there's no scsi controller right now.
** Affects: nova
Importance: Undecided
Status: New
--
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/1386511
Title:
VMWare: attach a iscsi volume to a VirtualIDEController
Status in OpenStack Compute (Nova):
New
Bug description:
When using Nova vmware driver to attach a raw iscsi volume (using
'RDMp' style) to a VM, found the iscsi volume is attached to the VM's
VirtualIDEController. It's expected to attached to a scsi controller,
such as VirtualLsiLogicSASController.
In nova.virt.vmwareapi.volumeops.py, the method of '
_attach_volume_iscsi' gets the adapter type:
(vmdk_file_path, adapter_type, disk_type) =
vm_util.get_vmdk_path_and_adapter_type(hardware_devices)
The method get_vmdk_path_and_adapter_type will iterate all the
hardware devices, and return the adapter type of the first Virtual
Disk it reads. If the first virtual disk is not an iscsi disk, e.g.,
an IDE disk, then VirtualIDEController will be returned as the adapter
type, and the iscsi volume will be attached to that incorrect
controller.
To fix this issue, we perhaps need a new method to find a suitable
existing scsi controller for the volume, or to create a new controller
if there's no scsi controller right now.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1386511/+subscriptions
Follow ups
References