yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60895
[Bug 1660025] [NEW] Sequential API requests in volume list as a bottleneck
Public bug reported:
https://bugs.launchpad.net/horizon/+bug/1442310 indicates Nova API not
allowing to pass list of instance ids in order to receive only data
necessary for Horizon and reduce any overhead
As long as Nova is not patched to allow this, from Horizon side
_get_attached_instance_ids and _get_instances can be parallelized. Also
volume_ids_with_snapshots can be run in parallel with the other ones.
Apart from this, as Nova API calls Glance to map each instance with
corresponding image which is definitely not needed for assignment
between volume and instance, we can forge image.name to be empty for
each instance in Volumes view. This further reduces time required for
the whole view to render.
This has significant impact in the following case
* environment with a lot of instances
* environment with instances boot from image which is not available anymore (as in this case Nova calls Glance for each(!) instance separately)
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1660025
Title:
Sequential API requests in volume list as a bottleneck
Status in OpenStack Dashboard (Horizon):
New
Bug description:
https://bugs.launchpad.net/horizon/+bug/1442310 indicates Nova API not
allowing to pass list of instance ids in order to receive only data
necessary for Horizon and reduce any overhead
As long as Nova is not patched to allow this, from Horizon side
_get_attached_instance_ids and _get_instances can be parallelized.
Also volume_ids_with_snapshots can be run in parallel with the other
ones.
Apart from this, as Nova API calls Glance to map each instance with
corresponding image which is definitely not needed for assignment
between volume and instance, we can forge image.name to be empty for
each instance in Volumes view. This further reduces time required for
the whole view to render.
This has significant impact in the following case
* environment with a lot of instances
* environment with instances boot from image which is not available anymore (as in this case Nova calls Glance for each(!) instance separately)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1660025/+subscriptions
Follow ups