← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1386511] Re: VMWare: attach a iscsi volume to a VirtualIDEController

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-rc1

-- 
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):
  Fix Released

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


References