Connection info retrieved on each call to get_volume_connector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Avishay Traeger |
Bug Description
On a system with no Fibre Channel (FC) HBAs, each call to get_volume_
self._fc_wwnns = None
self._fc_wwpns = None
...
if not self._fc_wwnns:
self._fc_wwnns = libvirt_
...
if not self._fc_wwpns:
self._fc_wwpns = libvirt_
In a system with no HBAs, the two utils functions return empty lists. Therefore we will go into these ifs on every call. The if statements should be re-written as "if self.foo is not None".
I have seen busy systems where these two calls add 800ms to each attach call!
Similarly, if there is no iSCSI initiator name defined, the get_iscsi_
summary: |
- Fibre channel info retrieved on each call to get_volume_connector + Connection info retrieved on each call to get_volume_connector |
Changed in nova: | |
assignee: | nobody → Avishay Traeger (avishay-il) |
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/144508
Review: https:/