Comment 8 for bug 1442310

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/213260
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ed076e623458467c9dc4f2a9f49f3abb8466d562
Submitter: Jenkins
Branch: master

commit ed076e623458467c9dc4f2a9f49f3abb8466d562
Author: Timur Sufiev <email address hidden>
Date: Fri Aug 14 20:20:45 2015 +0300

    Do not make unnecessary calls to Nova from FIPs and Volumes tabs

    If none of the floating IPs listed within Horizon are attached to an
    instance, do not request a list of Nova instances (because we have no
    use for it). Apply the same behavior for Volumes tab (both Admin and
    Project). This patch both saves us from making unnecessary and
    potentially expensive call to Nova and lays the ground for a more
    selective request of instance details from Nova. The latter will be
    possible once Nova supports filtering instance details by >1
    instance_id. For reference see
    https://blueprints.launchpad.net/nova/+spec/get-multi-servers-filter

    Change-Id: Ie7563b9e03b286b4cf51507463213162af3383b1
    Partial-Bug: #1442310