instance panel takes much more time when there are too many volumes

Bug #1839422 reported by mashuting
6
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://review.opendev.org/#/c/648325/

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.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

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?

Akihiro Motoki (amotoki)
Changed in horizon:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.