<div dir="ltr"><b><font size="4">I migrate vm from host kvm01 to host kvm02 , then hard-reboot the vm on host kvm02; Here is kvm02's nova-compute log:</font></b><div><br></div><div><div>2013-08-28 15:47:46.809 AUDIT nova.compute.manager [req-310318db-8db3-405f-98c6-811a09768f02 ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Migrating</div>
<div>2013-08-28 15:47:52.864 18240 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources</div><div>2013-08-28 15:47:53.001 18240 AUDIT nova.compute.resource_tracker [-] Updating from migration 80577b89-854e-428c-8226-387b016e4dee</div>
<div>2013-08-28 15:47:53.002 18240 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 14978</div><div>2013-08-28 15:47:53.002 18240 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 900</div><div>2013-08-28 15:47:53.003 18240 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 7</div>
<div>2013-08-28 15:47:53.106 18240 INFO nova.compute.resource_tracker [-] Compute_service record updated for kvm02:kvm02</div><div>2013-08-28 15:47:53.555 INFO nova.virt.libvirt.driver [req-310318db-8db3-405f-98c6-811a09768f02 ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Creating image</div>
<div>2013-08-28 15:47:56.909 18240 INFO nova.compute.manager [-] Lifecycle event 0 on VM 80577b89-854e-428c-8226-387b016e4dee</div><div>2013-08-28 15:47:57.001 18240 INFO <font color="#ff0000">nova.virt.libvirt.driver [-] [instance: 80577b89-854e-428c-8226-387b016e4dee] Instance running successfully.</font></div>
<div>2013-08-28 15:47:57.279 18240 INFO nova.compute.manager [-] [instance: 80577b89-854e-428c-8226-387b016e4dee] During sync_power_state the instance has a pending task. Skip.</div><div>2013-08-28 15:48:54.671 18240 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources</div>
<div>2013-08-28 15:48:54.853 18240 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 14978</div><div>2013-08-28 15:48:54.854 18240 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 900</div><div>2013-08-28 15:48:54.854 18240 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 7</div>
<div>2013-08-28 15:48:54.967 18240 INFO nova.compute.resource_tracker [-] Compute_service record updated for kvm02:kvm02</div><div>2013-08-28 15:48:55.006 18240 INFO nova.compute.manager [-] Updating host status</div><div>
2013-08-28 15:49:32.551 AUDIT nova.compute.manager [req-c98156d0-5b92-455e-ac07-3302257db0de ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Rebooting instance</div>
<div>2013-08-28 15:49:34.169 18240 INFO nova.compute.manager [-] Lifecycle event 1 on VM 80577b89-854e-428c-8226-387b016e4dee</div><div>2013-08-28 15:49:34.174 18240 INFO nova.virt.libvirt.driver [-] [instance: 80577b89-854e-428c-8226-387b016e4dee]<font color="#ff0000"> Instance destroyed successfully.</font></div>
<div>2013-08-28 15:49:34.551 18240 INFO nova.compute.manager [-] [instance: 80577b89-854e-428c-8226-387b016e4dee] During sync_power_state the instance has a pending task. Skip.</div><div>2013-08-28 15:49:34.733 ERROR nova.compute.manager [req-c98156d0-5b92-455e-ac07-3302257db0de ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab]<font color="#ff0000"> [instance: 80577b89-854e-428c-8226-387b016e4dee] Cannot reboot instance: 'NoneType' object has no attribute 'rfind'</font></div>
<div>2013-08-28 15:49:56.271 18240 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources</div><div>2013-08-28 15:49:56.440 18240 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 14978</div>
<div>2013-08-28 15:49:56.441 18240 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 900</div><div>2013-08-28 15:49:56.441 18240 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 7</div><div>2013-08-28 15:49:56.551 18240 INFO nova.compute.resource_tracker [-] Compute_service record updated for kvm02:kvm02</div>
<div>2013-08-28 15:50:01.218 AUDIT nova.compute.manager [req-a5baf0da-4f84-4111-b76e-c1a473d03b7e ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Rebooting instance</div>
<div>2013-08-28 15:50:01.868 WARNING nova.compute.manager [req-a5baf0da-4f84-4111-b76e-c1a473d03b7e ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] trying to reboot a non-running instance: (state: 4 expected: 1)</div>
<div>2013-08-28 15:50:01.881 18240 INFO nova.virt.libvirt.driver [-] [instance: 80577b89-854e-428c-8226-387b016e4dee] Instance destroyed successfully.</div><div>2013-08-28 15:50:02.187 ERROR nova.compute.manager [req-a5baf0da-4f84-4111-b76e-c1a473d03b7e ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Cannot reboot instance: 'NoneType' object has no attribute 'rfind'</div>
<div>2013-08-28 15:50:42.321 AUDIT nova.compute.manager [req-9b755f24-05ca-4f89-babb-db509b333e58 ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Rebooting instance</div>
<div>2013-08-28 15:50:42.949 WARNING nova.compute.manager [req-9b755f24-05ca-4f89-babb-db509b333e58 ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] trying to reboot a non-running instance: (state: 4 expected: 1)</div>
<div>2013-08-28 15:50:42.963 18240 INFO nova.virt.libvirt.driver [-] [instance: 80577b89-854e-428c-8226-387b016e4dee] Instance destroyed successfully.</div><div>2013-08-28 15:50:43.291 ERROR nova.compute.manager [req-9b755f24-05ca-4f89-babb-db509b333e58 ae0f00ede33f42d9a12385b2c2ce8c0d 57d53e1dcff540b6aeaf0d6fd60be7ab] [instance: 80577b89-854e-428c-8226-387b016e4dee] Cannot reboot instance: 'NoneType' object has no attribute 'rfind'</div>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/27 Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Does the instance start on the new node? Does the network goes up if you check via VNC?<div>
<br><div><div>Le 27 août 2013 à 11:32, 郭龙仓 <<a href="mailto:guolongcang.work@gmail.com" target="_blank">guolongcang.work@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div class="im"><div dir="ltr">If I create a vmA on hostA, then migrate the vmA to hostB , then vmA cannot connect to the network; If I move vmA back to hostA from hostB ,then vmA's network become normal again.</div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">2013/8/27 郭龙仓 <span dir="ltr"><<a href="mailto:guolongcang.work@gmail.com" target="_blank">guolongcang.work@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br></div>
</blockquote></div><br></div></div><div class="im">
_______________________________________________<br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></blockquote></div><br></div></div></blockquote></div><br></div>