← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372827] Re: Improve efficiency of Hyper-V attaching iSCSI volumes

 

** Also affects: os-win
   Importance: Undecided
       Status: New

** Changed in: os-win
     Assignee: (unassigned) => Lucian Petrut (petrutlucian94)

-- 
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/1372827

Title:
  Improve efficiency of Hyper-V attaching iSCSI volumes

Status in OpenStack Compute (nova):
  Triaged
Status in os-win:
  In Progress

Bug description:
  The Hyper-V driver in Nova is not very efficient attaching Cinder
  volumes to the VMs.

  It always tries to refresh the entire connection to the iSCSI target:

  https://github.com/openstack/nova/blob/master/nova/virt/hyperv/volumeutilsv2.py#L87

  This is a time consuming task that also blocks additional calls during
  this time.

  The class should be refactored to work in a more efficient way.
  Calling the 'Update' method everytime a volume is attached should be
  replaced by a more intelligent mechanism. As reported in
  https://bugs.launchpad.net/nova/+bug/1372823 a call to
  'self._conn_storage.query("SELECT * FROM MSFT_iSCSISessionToDisk")'
  could help.

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


References