DhcpAgentSchedulerDbMixin.get_dhcp_agents_hosting_networks fails for many networks

Bug #1587973 reported by Brandon Logan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Brandon Logan

Bug Description

DhcpAgentSchedulerDbMixin.get_dhcp_agents_hosting_networks takes network_ids as a parameter but fails when more than one network_id is passed in because of a wrong usage of sql alchemy in clause.

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

Fix proposed to branch: master
Review: https://review.openstack.org/324005

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/324005
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6290af9cf97d4ee323ba988733e026a27695e9fa
Submitter: Jenkins
Branch: master

commit 6290af9cf97d4ee323ba988733e026a27695e9fa
Author: Brandon Logan <email address hidden>
Date: Wed Jun 1 11:10:08 2016 -0500

    Fix getting dhcp agents for multiple networks

    The method to get dhcp agents for networks takes as a an argument
    the ability to send a list of network_ids. However, this method
    is really only being used to send in a list of one network_id, but
    there don't seem to be any usages where it is being used for many
    network_ids. Since its not being used, this hasn't been caught yet.

    Change-Id: I6f07ed50b29448d279a4fd5f9d392af3a8490340
    Closes-Bug: #1587973

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b2

This issue was fixed in the openstack/neutron 9.0.0.0b2 development milestone.

tags: removed: neutron-proactive-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.