← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1222949] Re: Midonet plugin dhcp agent scheduling fails

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1222949

Title:
  Midonet plugin dhcp agent scheduling fails

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  DHCP agent scheduling does not work in the Midonet plugin. The reason
  is that plugin.py has a typo (a missing comma):'

  class MidonetPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
                        l3_db.L3_NAT_db_mixin,
                        agentschedulers_db.AgentSchedulerDbMixin,
                        securitygroups_db.SecurityGroupDbMixin):

      supported_extension_aliases = ['router', 'security-group', 'agent'           <------ Missing a comma (',') here
                                     'dhcp_agent_scheduler']

  The result is that the 'agent' and 'dhcp_agent_scheduler' extensions
  are not loaded.

  If a comma is added so the extension are indeed loaded then unit tests
  fail. This is because the plugin does not implement the functions in
  the DhcpAgentSchedulerDbMixin class (it seems to inherit only the base
  class of the mixin). The fix is likely just to change so that it uses
  that dhcp agent scheduling mixin.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1222949/+subscriptions