<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear Cyrille,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">I got mistake editing the commad ls. I correct it output in the red.</div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Best regards,</div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style:
normal;">NDTBinh </div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> thái bình <thaibinhtt@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "Duverne, Cyrille" <cyrille.duverne@euranova.eu>; "users@lists.opennebula.org" <users@lists.opennebula.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 26, 2013 2:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box<br> </font> </div> <div class="y_msg_container"><br><div id="yiv1130999964"><div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size:
12pt;"><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Dear Cyrlle,</div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="background-color: transparent; font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); font-style: normal;">Thanks for your support.</div><div style="background-color: transparent; font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); font-style: normal;"><br></div><div style="background-color: transparent; font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); font-style: normal;">According to your metions, here is the output I got out:</div><div style="background-color: transparent;
font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); font-style: normal;"><br></div><div style="background-color: transparent;">oneadmin@OneVMHost:~/var/11$ ls -lArth /var/lib/one/var//datastores/0/8/disk.1</div><div><span style="background-color: transparent;">-rw-rw---- 1 libvirt-qemu kvm 370K Sep 26 00:12 /var/lib/one/var//datastores/0/</span><span style="background-color: rgb(192, 0, 0);">8</span>/disk.1</div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="background-color: rgb(255, 255, 255);"><div>oneadmin@OneVMHost:~/var/11$ cat /etc/group |grep oneadmin</div><div>root:x:0:oneadmin</div><div>oneadmin:x:10000:oneadmin</div><div>kvm:x:110:oneadmin</div><div>libvirtd:x:111:thaibinhtt,oneadmin</div><div>oneadmin@OneVMHost:~/var/11$</div><div style="font-family: 'times new roman', 'new york',
times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Best Regards,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">NDTBinh</div></div> <div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "Duverne, Cyrille" <cyrille.duverne@euranova.eu><br> <b><span style="font-weight:bold;">To:</span></b> thái bình <thaibinhtt@yahoo.com>; "users@lists.opennebula.org" <users@lists.opennebula.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Wednesday, September 25, 2013 11:18 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re:
[one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box<br> </font> </div> <div class="yiv1130999964y_msg_container"><br><div id="yiv1130999964"><style type="text/css">#yiv1130999964 body, #yiv1130999964 p, #yiv1130999964 td, #yiv1130999964 div, #yiv1130999964 span{font-size:13px;font-family:Arial, Helvetica, sans-serif;}#yiv1130999964 body{border:0;margin:0;}#yiv1130999964 height {}#yiv1130999964 body p{margin:0px;}</style><div>Hello Thai,<br><br>Could you give the output of : ls -lArth <span style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px;">/var/lib/one/var//datastores/0/8/disk.1 ?</span><br>Another thought : Is "oneadmin" part of the "libvirt" group ?<br><br>Cheers<br>Cyrille<br>Eura Nova<br><div id="yiv1130999964EmailSignature">Twitter : @CydsWorld<br></div><br><br>At Tuesday, 24/09/2013 on 19:58 thái bình wrote:<br><blockquote style="border:0;border-left:2px solid
#22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px;"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Dear,</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am trying to live migrate from KVM host to another KVM host but I always catch an error message <span style="background-color:transparent;">which I quote below. Does anyone know the reason and how to solve this problem ?</span></div><div style="font-family:
'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color:transparent;">oneadmin@OneVMHost:~/var/8$ cat vm.log</div><div style="background-color:transparent;">Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE.</div><div style="background-color:transparent;">Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG.</div><div style="background-color:transparent;">Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0</div><div style="background-color:transparent;">Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1</div><div style="background-color:transparent;">Tue Sep 24 10:21:32
2013 [TM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue
Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT</div><div style="background-color:transparent;">Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/8/deployment.0</div><div style="background-color:transparent;">Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver operation: pre.</div><div style="background-color:transparent;">Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy.</div><div style="background-color:transparent;">Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver operation: post.</div><div style="background-color:transparent;">Tue Sep 24
10:21:33 2013 [LCM][I]: New VM state is RUNNING</div><div style="background-color:transparent;">Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver operation: save.</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: clean.</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0</div><div
style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0</div><div style="background-color:transparent;">Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: pre.</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command "virsh --connect qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint" failed: error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path /var/lib/one/var//datastores/0/8/disk.1:
Permission denied</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver operation: restore.</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint</div><div style="background-color:transparent;">Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Many
thanks,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16.363636016845703px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">NDTBinh</div></div></blockquote></div></div><br><br></div> </div> </div> </div></div></div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opennebula.org" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br><br><br></div> </div> </div> </div></body></html>