← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: hyper-v iscsi 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/1372827

Title:
  Improve efficiency of Hyper-V attaching iSCSI volumes

Status in OpenStack Compute (Nova):
  New

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


Follow ups

References