<div dir="ltr"><div><div><div>Hello friend,<br><br></div>I'm using OpenVZ ver. 2.6.32-042 stab083.2 and Opennebula ver. 4.2<br><br></div>When I have a VM on Opennebula to OpenVZ in status STOP and I send RESUME of this, generates error, the datastores in OpenVZ node is mount with:<br>
<br></div>mount -t nfs -o vers=3 192.168.147.129:/var/lib/one/datastores /vz/one/datastores<br><div><br>this is a log file:<br><br>alexopn@ubuntuOpNeb:~$ cat /var/log/one/109.log<br>Thu Feb 13 08:52:07 2014 [DiM][I]: New VM state is ACTIVE.<br>
Thu Feb 13 08:52:07 2014 [LCM][I]: New VM state is PROLOG.<br>Thu Feb 13 08:52:07 2014 [VM][I]: Virtual Machine has no context<br>Thu Feb 13 08:52:31 2014 [LCM][I]: New VM state is BOOT<br>Thu Feb 13 08:52:31 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/109/deployment.0<br>
Thu Feb 13 08:52:31 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 08:52:31 2014 [VMM][I]: Successfully execute network driver operation: pre.<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo mv "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1392299555" 2> /dev/null; true".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo ln -sf "/vz/one/datastores/0/109/disk.0" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl create 1109 --layout ploop --ostemplate "debian-7.0-x86_64" --private "/vz/one/datastores/0/109/private" --root "/vz/one/datastores/0/109/root"".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl set 1109 --diskspace 2G:2.2G --save".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo tar -cf "/vz/one/datastores/0/109/disk.0" --gzip -Sp -C "/vz/one/datastores/0/109/private" . --ignore-failed-read".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo rm -f "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo mv "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1392299555" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" 2> /dev/null; true".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo cp "/vz/one/datastores/0/109/vm_conf" "/etc/vz/conf/1109.conf"".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Not performing contextualization, no context given.<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 -R /vz/one/datastores/0/109/private".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl start 1109".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 /vz/one/datastores/0/109/root".<br>Thu Feb 13 08:53:46 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 08:53:46 2014 [VMM][I]: Successfully execute virtualization driver operation: deploy.<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 08:53:46 2014 [VMM][I]: Successfully execute network driver operation: post.<br>Thu Feb 13 08:53:46 2014 [LCM][I]: New VM state is RUNNING<br>Thu Feb 13 09:11:44 2014 [LCM][I]: New VM state is SAVE_STOP<br>
Thu Feb 13 09:12:52 2014 [VMM][I]: save: Executed "/usr/bin/sudo /usr/sbin/vzctl chkpnt 1109 --dumpfile /vz/one/datastores/0/109/checkpoint".<br>Thu Feb 13 09:12:52 2014 [VMM][I]: save: Executed "/usr/bin/sudo chown oneadmin:oneadmin /vz/one/datastores/0/109/checkpoint".<br>
Thu Feb 13 09:12:52 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 09:12:52 2014 [VMM][I]: Successfully execute virtualization driver operation: save.<br>Thu Feb 13 09:12:53 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 09:12:53 2014 [VMM][I]: Successfully execute network driver operation: clean.<br>
Thu Feb 13 09:12:57 2014 [LCM][I]: New VM state is EPILOG_STOP<br>Thu Feb 13 09:13:27 2014 [DiM][I]: New VM state is STOPPED<br>Thu Feb 13 09:25:10 2014 [DiM][I]: New VM state is PENDING.<br>Thu Feb 13 09:25:39 2014 [DiM][I]: New VM state is ACTIVE.<br>
Thu Feb 13 09:25:39 2014 [LCM][I]: New VM state is PROLOG.<br>Thu Feb 13 09:25:47 2014 [LCM][I]: New VM state is BOOT<br>Thu Feb 13 09:25:48 2014 [VMM][I]: ExitCode: 0<br>Thu Feb 13 09:25:48 2014 [VMM][I]: Successfully execute network driver operation: pre.<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: Command execution fail: /vz/one/scripts/vmm/ovz/restore '/vz/one/datastores/0/109/checkpoint' 'ubuntu' 109 ubuntu<br>Thu Feb 13 09:25:48 2014 [VMM][E]: deployment filename not found during restore<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: /vz/one/scripts/vmm/ovz/restore:75:in `initialize': No such file or directory - /vz/one/datastores/0/109/deployment. (Errno::ENOENT)<br>Thu Feb 13 09:25:48 2014 [VMM][I]: from /vz/one/scripts/vmm/ovz/restore:75:in `new'<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: from /vz/one/scripts/vmm/ovz/restore:75:in `<main>'<br>Thu Feb 13 09:25:48 2014 [VMM][I]: ExitCode: 1<br>Thu Feb 13 09:25:48 2014 [VMM][I]: Failed to execute virtualization driver operation: restore.<br>
Thu Feb 13 09:25:48 2014 [VMM][E]: Error restoring VM: deployment filename not found during restore<br>Thu Feb 13 09:25:48 2014 [LCM][I]: Fail to boot VM. New VM state is EPILOG_STOP<br>Thu Feb 13 09:25:54 2014 [DiM][I]: New VM state is STOPPED<br>
<br></div><div>Please help me, Thanks.<br><br></div><div>Regards, Caty<br></div></div>