Comment 4 for bug 1508568

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

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

commit 3a99499ba0adafd1e64262a5ba63ae94b1f05cf0
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed May 24 13:00:46 2017 +0300

    Get all needed instances for volumes attachments at Admin->Volumes

    Nova server_list() wrapper needs to receive an explicit `all_tenants`
    boolean flag in order to request instances for _all_ tenants -
    otherwise while rendering Admin->Volumes table Django will request
    missing instances (to get their names for volume attachments) one by
    one, thus significantly increasing response time.

    This patch adds check if all_tenants in search_opts and add it to
    the search else uses tenant_id in the search_opts.

    Co-Authored-By: Dmitry Sutyagin <email address hidden>
    Co-Authored-By: Ivan Kolodyazhny <email address hidden>
    Change-Id: I4761d7da15036b69619649871aef91e1799ee385
    Closes-Bug: #1508568