junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

tunbr/dnsmasq sometimes allocating new address #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Inside the continuous test, sometimes the old tunbr-generated IP/MAC
allocation in /var/lib/misc/dnsmasq.leases is prematurely deleted and a new
IP address is allocated instead for the MAC address.  The test then fails
to run at all, as the test waits to ping and scp/ssh to the old address and
times out.  This is one of two major sources of sporadic test failures.

This will happen sometimes in the middle of a run, as happened in r1230. 
syslog on the host shows the test host requesting an address, and being
allocated a different one.  I've modified the test harness on the zumabuild
machine to report the contents of dnsmasq.leases and the environment as
each test is starting up.

Original issue reported on code.google.com by drake.di...@gmail.com on 4 Jan 2008 at 10:49

GoogleCodeExporter commented 9 years ago
Fixed by reconfiguring dnsmasq to not store leases at all and have tunbr 
generate
infinite dhcp-host directives that are included by dnsmasq.conf.  Spread out 
over
several commits.

Original comment by drake.di...@gmail.com on 10 Jan 2008 at 3:32