<div>Thank you for your support.</div><div><br></div>I checked the file 
nova/virt/libvirt/connection.py, the sentence 
self._enable_hairpin(instance) is already added to the function  _hard_reboot().<div>It looks like there are some difference between taking snapshot and reboot instance. I tried to figure out how to fix this bug but failed. </div>
<div><br></div><div>It will be much appreciated if anyone can give some hints.</div><div><br></div><div>Thanks,</div><div>Sam</div><div><br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 8:37 AM, Brian Haley <span dir="ltr"><<a href="mailto:brian.haley@hp.com" target="_blank">brian.haley@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/17/2012 05:56 PM, Sam Su wrote:<br>
> Hi,<br>
><br>
> Just This always happens in Essex release. After I take a snapshot of my VM ( I<br>
> tried Ubuntu 12.04 or CentOS 5.8), VM can't ping its self floating IP; before I<br>
> take a snapshot though, VM can ping its self floating IP.<br>
><br>
> This looks closely related to <a href="https://bugs.launchpad.net/nova/+bug/933640" target="_blank">https://bugs.launchpad.net/nova/+bug/933640</a>, but<br>
> still a little different. In 933640, it sounds like VM can't ping its self<br>
> floating IP regardless whether we take a snapshot or not.<br>
><br>
> Any suggestion to make an easy fix? And what is the root cause of the problem?<br>
<br>
</div></div>It might be because there's a missing _enable_hairpin() call in the reboot()<br>
function.  Try something like this...<br>
<br>
nova/virt/libvirt/connection.py, _hard_reboot():<br>
<br>
             self._create_new_domain(xml)<br>
+            self._enable_hairpin(instance)<br>
             self.firewall_driver.apply_instance_filter(instance, network_info)<br>
<br>
At least that's what I remember doing myself recently when testing after a<br>
reboot, don't know about snapshot.<br>
<br>
Folsom has changed enough that something different would need to be done there.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Brian<br>
</font></span></blockquote></div><br></div>