← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645616] [NEW] dnsmasq doesn't like providing DHCP for subnets with prefixes shorter than 64

 

Public bug reported:

Trace when you enable DHCP on an IPv6 network with a prefix less than
64.

2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr:
2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent dnsmasq: bad command line options: prefix length must be at least 64

At a minimum we need to skip these on the DHCP agent to prevent a bunch
of log noise and retries. We probably should consider rejecting
enable_dhcp=True in the API when the prefix is like this for IPv6 if
it's a fundamental limitation of DHCPv6.

** Affects: neutron
     Importance: High
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress

** Changed in: neutron
       Status: New => In Progress

** Changed in: neutron
   Importance: Undecided => High

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

** Summary changed:

- dnsmasq doesn't like providing DHCP for subnets with prefixes larger than 64
+ dnsmasq doesn't like providing DHCP for subnets with prefixes shorter than 64

** Description changed:

- Trace when you enable DHCP on an IPv6 network with a prefix larger than
+ Trace when you enable DHCP on an IPv6 network with a prefix less than
  64.
  
  2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr:
  2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent dnsmasq: bad command line options: prefix length must be at least 64
  
- 
- At a minimum we need to skip these on the DHCP agent to prevent a bunch of log noise and retries. We probably should consider rejecting enable_dhcp=True in the API when the prefix is like this for IPv6 if it's a fundamental limitation of DHCPv6.
+ At a minimum we need to skip these on the DHCP agent to prevent a bunch
+ of log noise and retries. We probably should consider rejecting
+ enable_dhcp=True in the API when the prefix is like this for IPv6 if
+ it's a fundamental limitation of DHCPv6.

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

Title:
  dnsmasq doesn't like providing DHCP for subnets with prefixes shorter
  than 64

Status in neutron:
  In Progress

Bug description:
  Trace when you enable DHCP on an IPv6 network with a prefix less than
  64.

  2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr:
  2016-11-15 17:33:54.321 102837 ERROR neutron.agent.dhcp.agent dnsmasq: bad command line options: prefix length must be at least 64

  At a minimum we need to skip these on the DHCP agent to prevent a
  bunch of log noise and retries. We probably should consider rejecting
  enable_dhcp=True in the API when the prefix is like this for IPv6 if
  it's a fundamental limitation of DHCPv6.

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


Follow ups