commit 5d7a23e7be1e41fdd1b13f2f05528faed41e1b98
Author: Paul Griffin <email address hidden>
Date: Fri Mar 4 15:56:48 2016 +0000
List instances for secgroup without joining on rules
Make db.security_group_get only join rules if specified in
the columns_to_join. This works around a performance issue
with lots of instances and security groups.
NOTE(mriedem): A legacy_v2 API test had to be updated which
didn't exist in the original fix in Newton.
Co-Authored-By: Dan Smith <email address hidden>
Change-Id: Ie3daed133419c41ed22646f9a790570ff47f0eec
Closes-Bug: #1552971
(cherry picked from commit e70468e87537965b5db61f32e72ececde84531f2)
Reviewed: https:/ /review. openstack. org/355210 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5d7a23e7be1 e41fdd1b13f2f05 528faed41e1b98
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 5d7a23e7be1e41f dd1b13f2f05528f aed41e1b98
Author: Paul Griffin <email address hidden>
Date: Fri Mar 4 15:56:48 2016 +0000
List instances for secgroup without joining on rules
Make db.security_ group_get only join rules if specified in
the columns_to_join. This works around a performance issue
with lots of instances and security groups.
NOTE(mriedem): A legacy_v2 API test had to be updated which
didn't exist in the original fix in Newton.
Co-Authored-By: Dan Smith <email address hidden> 1ed22646f9a7905 70ff47f0eec b5db61f32e72ece cde84531f2)
Change-Id: Ie3daed133419c4
Closes-Bug: #1552971
(cherry picked from commit e70468e87537965