← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280302] [NEW] neutron ipv6 incorrect dnsmasq config

 

Public bug reported:

Good morning Guys,

I have found that neutron dhcp agent is making a dhcp-hosts file with
mistakes when network has IPv4 and IPv6 enabled:

Example:
was:

fa:16:3e:83:8e:02host-2001-bc8-32bf--3.nodes.cloud.local,2001:bc8:32bf::3
fa:16:3e:83:8e:02,host-X-X-X-X.nodes.cloud.local,X.X.X.X

should be:

id:00:01:00:01:1a:90:d2:20:fa:16:3e:83:8e:02,host-2001-bc8-32bf--3.nodes.cloud.local,[2001:bc8:32bf::3]
fa:16:3e:83:8e:02host-X-X-X-X.nodes.cloud.local,X.X.X.X

so,
a) "id:" should be at start of the string
b) ipv6 is not using mac to identify client, it should be duid instead
c) ipv6 address should be quoted in the "[]"

I don't know if it's still a bug in the new releases, but 2013.2.1 is
having these issues.

Also default route is not advertised.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: dnsmasq ipv6 neutron

** Description changed:

  Good morning Guys,
  
  I have found that neutron dhcp agent is making a dhcp-hosts file with
  mistakes when network has IPv4 and IPv6 enabled:
  
  Example:
  was:
  
  fa:16:3e:83:8e:02host-2001-bc8-32bf--3.nodes.cloud.local,2001:bc8:32bf::3
- fa:16:3e:83:8e:02,host-62-4-0-56.nodes.cloud.local,62.4.0.56
+ fa:16:3e:83:8e:02,host-X-X-X-X.nodes.cloud.local,X.X.X.X
  
  should be:
  
  id:00:01:00:01:1a:90:d2:20:fa:16:3e:83:8e:02,host-2001-bc8-32bf--3.nodes.cloud.local,[2001:bc8:32bf::3]
- fa:16:3e:83:8e:02,host-62-4-0-56.nodes.cloud.local,62.4.0.56
+ fa:16:3e:83:8e:02host-X-X-X-X.nodes.cloud.local,X.X.X.X
  
- so, 
+ so,
  a) "id:" should be at start of the string
  b) ipv6 is not using mac to identify client, it should be duid instead
  c) ipv6 address should be quoted in the "[]"
  
  I don't know if it's still a bug in the new releases, but 2013.2.1 is
  having these issues.
  
  Also default route is not advertised.

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

Title:
  neutron ipv6 incorrect dnsmasq config

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Good morning Guys,

  I have found that neutron dhcp agent is making a dhcp-hosts file with
  mistakes when network has IPv4 and IPv6 enabled:

  Example:
  was:

  fa:16:3e:83:8e:02host-2001-bc8-32bf--3.nodes.cloud.local,2001:bc8:32bf::3
  fa:16:3e:83:8e:02,host-X-X-X-X.nodes.cloud.local,X.X.X.X

  should be:

  id:00:01:00:01:1a:90:d2:20:fa:16:3e:83:8e:02,host-2001-bc8-32bf--3.nodes.cloud.local,[2001:bc8:32bf::3]
  fa:16:3e:83:8e:02host-X-X-X-X.nodes.cloud.local,X.X.X.X

  so,
  a) "id:" should be at start of the string
  b) ipv6 is not using mac to identify client, it should be duid instead
  c) ipv6 address should be quoted in the "[]"

  I don't know if it's still a bug in the new releases, but 2013.2.1 is
  having these issues.

  Also default route is not advertised.

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


Follow ups

References