]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix query in get_l3_agent_with_min_routers
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Mon, 14 Sep 2015 14:29:22 +0000 (17:29 +0300)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Mon, 14 Sep 2015 14:39:00 +0000 (17:39 +0300)
commit5eaff5fa0720b860ec4c0c75abee942313f93e94
treeb277aae9bf30d0c1a91da210013c3062d63e7887
parentcd4d88937462903057609e798fa18b171a566f44
Fix query in get_l3_agent_with_min_routers

For PostgreSQL if you're using GROUP BY everything in the SELECT
list must be an aggregate count(...) or used in the GROUP BY.

Closes-bug: #1495523

Change-Id: Ieb75d0666ec2f6d2e61686bf2bacea2b9ad6c521
neutron/db/l3_agentschedulers_db.py