dhcp_lease_duration of 'infinite' is not configurable

Bug #1315430 reported by Erik Colnick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Erik Colnick

Bug Description

In the dhcp-agent, it is not possible to set a dhcp_lease_duration of 'infinite' since the variable is set as an IntOpt in neutron/common/config.py. There are instances, however, where an infinite lease duration may be desirable (particularly in a tripleo installation where the seed may go away but the undercloud and overcloud are expected to persist). Additionally, dnsmasq itself supports the 'infinite' value for the lease-time in the dhcp-range configuration.

Changed in neutron:
assignee: nobody → Erik Colnick (erikcolnick)
Changed in neutron:
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/92453

Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/92453
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=624353b2a5290e3a3f481e41bd6bc14afb1b21b3
Submitter: Jenkins
Branch: master

commit 624353b2a5290e3a3f481e41bd6bc14afb1b21b3
Author: Erik Colnick <email address hidden>
Date: Tue May 6 07:56:31 2014 -0600

    Support 'infinite' dhcp_lease_duration

    Process a dhcp_lease_duration value of -1 as 'infinite'
    when setting the dnsmasq dhcp-range values to support
    cases where it is undesirable for instance dhcp leases
    to expire.

    DocImpact

    Closes-Bug: #1315430
    Change-Id: I1cc3cfebfec355014e6d5b5cbd656a1300c43c0b

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.