instance panel takes much more time when there are too many volumes
Bug #1839422 reported by
mashuting
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Project -> instance table takes lots of time when there are too many volume resources, I found that horizon have a new change in stein version: https:/
Now we need one more api request for getting cinder list, this is the root cause.
Suggestion: We can request cinder api when we need this data, otherwise we won’t request it.
Changed in horizon: | |
status: | New → Incomplete |
To post a comment you must log in.
As you may know, the response of volume_list() is used to show image name for boot-from-volume instances (i.e. servers).
Your suggestion works only when all instances are not booted from volumes. If one instance is booted from a volume, volume_list() will be called after server_list() and it means the instance panel takes more time than now.
The possible solutions I see are:
(1) to keep the current implementation as-is
(2) to add an option not to show image names for boot-from-volume instances (this is pre-stein behavior)
(3) to follow mashuting's suggestion (it only works when *all* instances do not use boot-from-volume)
Thought?