yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05294
[Bug 1229080] Re: image_list_detailed is called twice when launching an instance
** Changed in: horizon
Status: Fix Committed => Fix Released
--
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/1229080
Title:
image_list_detailed is called twice when launching an instance
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
When showing a form of launching an instance, image_list_detailed is
called twice.
populate_image_id_choices and populate_instance_snapshot_id_choices both call get_available_images().
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#L277
get_available_images() supports the cache of image list, but only populate_instance_snapshot_id_choices uses the cache.
It is better both methods share the cache.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1229080/+subscriptions