Get rid of redundant cinder api calls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Michael Dovgal |
Bug Description
During executing tenant_limit_usages quotas function here [0] we get information about cinder volumes/
{u'maxTotalBack
u'maxTotalBack
u'maxTotalSnap
u'maxTotalVolu
u'maxTotalVolu
u'totalBackupG
u'totalBackups
u'totalGigabyt
u'totalSnapsho
u'totalVolumes
}
After it here [1] we trying to get the same information as we've already got and add it one more time to limits dict here [2]
Also these calls slows down the application, so we need to get rid of them.
https:/
[2] - https:/
description: | updated |
Changed in horizon: | |
assignee: | nobody → Michael Dovgal (mdovgal) |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → pike-3 |
importance: | Undecided → High |
Reviewed: https:/ /review. openstack. org/482486 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=d132c2eb11b df4a28bedcd4061 d5b76b4402a08e
Committed: https:/
Submitter: Jenkins
Branch: master
commit d132c2eb11bdf4a 28bedcd4061d5b7 6b4402a08e
Author: Mykhailo Dovgal <email address hidden>
Date: Mon Jul 10 19:16:06 2017 +0300
Get rid of redundant cinder api calls
During executing tenant_limit_usages quotas function we get snapshots/ gigabites usage absolute_ limits call.
information about cinder volumes/
that we've already had after tenant_
Getting this information we make more api calls that slow down
our application.
This patch fixes this issue.
Closes-Bug: #1703584 3f71668d6ebd268 9b851586ca9
Change-Id: Ia6d2dbb8f18ce9