"nova-dhcpbridge init" output malformed
Bug #730639 reported by
Soren Hansen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Soren Hansen |
Bug Description
When starting up, dnsmasq invokes "nova-dhcpbridge init" to prime its leases state. However, the format in which nova-dhcpbridge dumps its state is wrong. It's supposed to be in "leasesfile" format, while it's in "dhcp-host" format. The latter is meant for configurating the mapping from MAC to IP (i.e. it's a configuration file), while that former is a state snapshot.
Up until dnsmasq 2.55 this caused dnsmasq's state to be primed with wrong information, but with dnsmasq 2.57 it causes a crash. I've reported the crash upstream.
Related branches
lp:~soren/nova/dnsmasq-leasesfile-init
- Devin Carlen (community): Approve
- Jay Pipes (community): Approve
- Rick Harris (community): Approve
- Josh Kearney (community): Approve
-
Diff: 122 lines (+57/-3)3 files modifiedbin/nova-dhcpbridge (+1/-1)
nova/network/linux_net.py (+30/-2)
nova/tests/test_network.py (+26/-0)
Changed in nova: | |
assignee: | nobody → Soren Hansen (soren) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.