<font face="arial" size="2"><p style="margin:0;padding:0;">Vish,</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;">For future reference, I have resolved the issue of DCHP server not responding. It turns out that KVM had a bug up until v14.2 that would cause VMs to randomly lose network connectivity. The bug has been fixed in the very recent qemu-kvm v14.3 public release. </span></p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;">Bug/Fix: <a href="https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/997978">https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/997978</a></span></p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;">As a side note, making DHCP leases very long seems to cause networking errors occasionally during instance launch.</span></p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;">Justin</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"><br /></span></p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;">-----Original Message-----<br />From: "Vishvananda Ishaya" <vishvananda@gmail.com><br />Sent: Friday, October 12, 2012 11:10am<br />To: "Justin Hurley" <justin.hurley@opensgi.com><br />Cc: openstack@lists.launchpad.net<br />Subject: Re: [Openstack] DCHP Server Stops Responding<br /><br /></p>
<div id="SafeStyles1351013646" style="font-family: arial; font-size: 10pt;">
<div>
<div>On Oct 12, 2012, at 10:33 AM, Justin Hurley <<a href="mailto:justin.hurley@opensgi.com">justin.hurley@opensgi.com</a>> wrote:</div>
<br />
<blockquote><span style="font-family: 'comic sans ms'; font-size: 8pt;">
<div style="margin: 0px; padding: 0px; font-family: arial; font-size: 10pt;">Hello All,</div>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;"> </p>
<div style="margin: 0px; padding: 0px;"><span style="font-family: arial; font-size: 10pt;">I am having problems with some instances not receiving DCHPACK from my VM's dhcp server after extended periods of time. These instances are running heavy network, I/O, and RAM loads when the DHCPREQUEST does not receive a response. Note that this only happens to a handful of instances, not all instances running the exact same load. I have printed a relevant section of the syslog below.</span></div>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<div style="margin: 0px; padding: 0px;"><span style="font-family: arial; font-size: 10pt;">My current environment is a multi-host flat dhcp network with nova-network running on each node. </span><span style="font-family: arial; font-size: small;">All servers and VM's are running Ubuntu 12.04 and using kvm/libvirt. </span><span style="font-family: arial; font-size: small;">I am also using large NFS servers to transfer big files to and from instances across the VM network. </span></div>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<div style="margin: 0px; padding: 0px;"><span style="font-family: arial; font-size: 10pt;">In the past, I used Eucalyptus and the same problem would occur. This tends to happen more frequently with more VMs and overall network load. </span></div>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<div style="margin: 0px; padding: 0px;"><span style="font-family: arial; font-size: 10pt;">If anyone has any ideas as to why the dhcp server stops responding to only a few instances occasionally please let me know.</span></div>
</span></blockquote>
</div>
<div>I haven't seen this before, but you may be able to work around the issue by setting much longer leases:</div>
<div>force_dhcp_release=True</div>
<div>dhcp_lease_time=86400 # 1 day leases</div>
<div>fixed_ip_disassociate_timout=172800 # 2 day timeout</div>
<div>Vish</div>
</div></font>