← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 949234] Re: Quantum + Melange: DHCP generation for networks owned by default tenant is broken

 

marking as won't fix in nova, this is very old

** Changed in: nova
       Status: Confirmed => Won't Fix

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

Title:
  Quantum + Melange: DHCP generation for networks owned by default
  tenant is broken

Status in OpenStack Neutron (virtual network service):
  Won't Fix
Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  All networks which belongs to default tenant have broken dhcp
  configuration generation. IP addresses allocated from such networks
  are not returned by get_dhcp_hosts_text function from
  quantum/manager.py file. To fix this we need to change line #665 from:

  ips = self.ipam.get_allocated_ips(context, subnet_id, project_id)

  to:

  ips = self.ipam.get_allocated_ips(context, subnet_id, None)

  
  So the functions will return all allocated ips in this network as we have single dhcp server for all tenants in particular network.

  Eventual we can modify call to get_dhcp_hosts_text in functions
  enable_dhcp,update_dhcp to   set project_id as None.

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