<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello again,</blockquote><div>
<br></div><div>I resolved this, but I have another error when I made shutdown VM<br><br></div><div>I have this error in log file:<br><br> Thu Feb 13 10:55:05 2014 [LCM][I]: New VM state is SHUTDOWN<br>Thu Feb 13 10:55:08 2014 [VMM][I]: Command execution fail: /vz/one/scripts/vmm/ovz/shutdown '-' 'ubuntu' 109 ubuntu<br>
Thu Feb 13 10:55:08 2014 [VMM][E]: shutdown: Command "/usr/bin/sudo /usr/sbin/vzctl stop -" failed.<br>Thu Feb 13 10:55:08 2014 [VMM][E]: shutdown: Bad CT ID -<br>Thu Feb 13 10:55:08 2014 [VMM][E]: Bad CT ID -<br>
Thu Feb 13 10:55:08 2014 [VMM][E]: <br>Thu Feb 13 10:55:08 2014 [VMM][I]: ExitCode: 21<br>Thu Feb 13 10:55:08 2014 [VMM][I]: Failed to execute virtualization driver operation: shutdown.<br>Thu Feb 13 10:55:08 2014 [VMM][E]: Error shutting down VM: Bad CT ID -<br>
Thu Feb 13 10:55:08 2014 [LCM][I]: Fail to shutdown VM. Assuming that the VM is still RUNNING (will poll VM).<br><br></div><div>Please help me.<br><br></div><div>Caty.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br><div>
Message: 3<br>
Date: Thu, 13 Feb 2014 09:44:45 -0500<br>
From: Catalina Quinde <<a href="mailto:catalinaquinde@gmail.com">catalinaquinde@gmail.com</a>><br>
To: users <<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>>, knawnd <<a href="mailto:knawnd@gmail.com">knawnd@gmail.com</a>>,<br>
        Nikita Balashov <<a href="mailto:balashov.nikita@gmail.com">balashov.nikita@gmail.com</a>><br>
Subject: [one-users] Resume VM in Opennebula to OpenVZ with error<br>
Message-ID:<br>
        <<a href="mailto:CAPgz%2B%2BxXBdGTthSDKfX4H924a%2BpTmy86srtGFaynrBPeYRA4-Q@mail.gmail.com">CAPgz++xXBdGTthSDKfX4H924a+pTmy86srtGFaynrBPeYRA4-Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello friend,<br>
<br>
I'm using OpenVZ ver. 2.6.32-042 stab083.2 and Opennebula ver. 4.2<br>
<br>
When I have a VM on Opennebula to OpenVZ in status STOP and I send RESUME<br>
of this, generates error, the datastores in OpenVZ node is mount with:<br>
<br>
mount -t nfs -o vers=3 192.168.147.129:/var/lib/one/datastores<br>
/vz/one/datastores<br>
<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:<br>
/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<br>
operation: pre.<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo mv<br>
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"<br>
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1392299555" 2><br>
/dev/null; true".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo ln -sf<br>
"/vz/one/datastores/0/109/disk.0"<br>
"/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<br>
/usr/sbin/vzctl create 1109 --layout ploop --ostemplate "debian-7.0-x86_64"<br>
--private "/vz/one/datastores/0/109/private" --root<br>
"/vz/one/datastores/0/109/root"".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo<br>
/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<br>
"/vz/one/datastores/0/109/disk.0" --gzip -Sp -C<br>
"/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<br>
"/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<br>
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1392299555"<br>
"/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<br>
"/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<br>
contextualization, no context given.<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown<br>
1001:1001 -R /vz/one/datastores/0/109/private".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo<br>
/usr/sbin/vzctl start 1109".<br>
Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown<br>
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<br>
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<br>
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<br>
/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<br>
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<br>
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<br>
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<br>
operation: pre.<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: Command execution fail:<br>
/vz/one/scripts/vmm/ovz/restore '/vz/one/datastores/0/109/checkpoint'<br>
'ubuntu' 109 ubuntu<br>
Thu Feb 13 09:25:48 2014 [VMM][E]: deployment filename not found during<br>
restore<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: /vz/one/scripts/vmm/ovz/restore:75:in<br>
`initialize': No such file or directory -<br>
/vz/one/datastores/0/109/deployment. (Errno::ENOENT)<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: from<br>
/vz/one/scripts/vmm/ovz/restore:75:in `new'<br>
Thu Feb 13 09:25:48 2014 [VMM][I]: from<br>
/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<br>
operation: restore.<br>
Thu Feb 13 09:25:48 2014 [VMM][E]: Error restoring VM: deployment filename<br>
not found during restore<br>
Thu Feb 13 09:25:48 2014 [LCM][I]: Fail to boot VM. New VM state is<br>
EPILOG_STOP<br>
Thu Feb 13 09:25:54 2014 [DiM][I]: New VM state is STOPPED<br>
<br>
Please help me, Thanks.<br>
<br>
Regards, Caty<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140213/4093cd13/attachment.htm" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140213/4093cd13/attachment.htm</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a 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>
End of Users Digest, Vol 72, Issue 49<br>
*************************************<br>
</div></blockquote></div><br></div></div>