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.
Reviewed: https:/ /review. openstack. org/241224 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=3a99499ba0a dafd1e64262a5ba 63ae94b1f05cf0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3a99499ba0adafd 1e64262a5ba63ae 94b1f05cf0
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> 69619649871aef9 1e1799ee385
Co-Authored-By: Ivan Kolodyazhny <email address hidden>
Change-Id: I4761d7da15036b
Closes-Bug: #1508568