yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47881
[Bug 1372827] Re: Improve efficiency of Hyper-V attaching iSCSI volumes
No change was necessary to be done in nova. The issue has been addressed
in os-win. Removing nova.
** No longer affects: nova
--
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 os-win:
Fix Released
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/os-win/+bug/1372827/+subscriptions
References