getClusterInfo is very time-consuming on LHN driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Jay Lee |
Bug Description
release: master, stable/havana
volume driver: cinder.
cinder-volume running a _report_
_report_
self.driver.
When using HpSanISCSIDriver,
_get_volume_stats called _update_
def _update_
data = {}
result_xml = self._cliq_
This method call getClusterInfo without searchdepth option.
So It shows every volume, snapshot information, it takes a long long time.
The San storage has more volumes, response time is slower.
In my case, without searchdepth, getClusterInfo output after 546 secs.
with searchdepth=1, output is 5 secs less.
_update_
not a volume, snapshot information. so getClusterInfo should be executed with
searchdepth.
Changed in cinder: | |
assignee: | nobody → Jay Lee (hyangii) |
summary: |
- getClusterInfo is very time-consuming + getClusterInfo is very time-consuming on LHN driver |
tags: | added: drivers |
Changed in cinder: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/72041
Review: https:/