OpenStack Compute (Nova)

dhcp leases are not released on instance termination

Reported by Vish Ishaya on 2011-09-17
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Vish Ishaya
nova (Ubuntu)
Medium
Unassigned

Bug Description

Dhcp leases are stored in memory by dnsmasq. When an instance is terminated it doesn't always send a dhcp_release packet so the lease is still stored in the internal lease db. It is only removed when the dhcp lease exipres. In other words, you can't re-use an ip address for a new instance unless you are willing to wait up to --dhcp_lease_time seconds.

Related branches

lp:~vishvananda/nova/lp852771
Merged into lp:~hudson-openstack/nova/trunk at revision 1593
Josh Kearney (community): Approve on 2011-09-19
Devin Carlen (community): Approve on 2011-09-19
Changed in nova:
assignee: nobody → Vish Ishaya (vishvananda)
status: New → In Progress
importance: Undecided → Medium
Dave Walker (davewalker) on 2011-09-18
Changed in nova (Ubuntu):
status: New → Confirmed
tags: added: server-o-rs
Changed in nova (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-11.10-beta-2
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-09-20
Changed in nova:
milestone: none → 2011.3
Thierry Carrez (ttx) on 2011-09-22
Changed in nova:
status: Fix Committed → Fix Released
Dave Walker (davewalker) on 2011-09-23
Changed in nova (Ubuntu):
milestone: ubuntu-11.10-beta-2 → ubuntu-11.10
Dave Walker (davewalker) on 2011-09-26
Changed in nova (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers