Public bug reported:

vm on a network having IPv4 and IPv6 dhcpv6 stateless subnets,
fails to get IPv4 address, when vm uses a port with extra_dhcp_opts.

neutron creates entries in dhcp host file for each subnet of a port.
Each of these entries will have same mac address as first field,
and may have client_id, fqdn, ipv4/ipv6 address for dhcp/dhcpv6 stateful,
or tag as other fields.
For dhcpv6 stateless subnet with extra_dhcp_opts,
host file will have only mac address and tag.

If the last entry in host file for the port with extra_dhcp_opts,
is for dhcpv6 stateless subnet, then dhclient tries to use this entry,
to resolve dhcp request even for IPv4, treats as 'no address found'
and fails to send DHCPOFFER.

** Affects: neutron
     Importance: Undecided
     Assignee: venkata anil (anil-venkata)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => venkata anil (anil-venkata)

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

Title:
  dhcp fails if extra_dhcp_opts for stateless subnet enabled

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  vm on a network having IPv4 and IPv6 dhcpv6 stateless subnets,
  fails to get IPv4 address, when vm uses a port with extra_dhcp_opts.

  neutron creates entries in dhcp host file for each subnet of a port.
  Each of these entries will have same mac address as first field,
  and may have client_id, fqdn, ipv4/ipv6 address for dhcp/dhcpv6 stateful,
  or tag as other fields.
  For dhcpv6 stateless subnet with extra_dhcp_opts,
  host file will have only mac address and tag.

  If the last entry in host file for the port with extra_dhcp_opts,
  is for dhcpv6 stateless subnet, then dhclient tries to use this entry,
  to resolve dhcp request even for IPv4, treats as 'no address found'
  and fails to send DHCPOFFER.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to