[one-users] Resume VM in Opennebula to OpenVZ with error

Catalina Quinde catalinaquinde at gmail.com
Thu Feb 13 08:16:12 PST 2014


Hello again,


I resolved this, but I have another error when I made shutdown VM

I have this error in log file:

 Thu Feb 13 10:55:05 2014 [LCM][I]: New VM state is SHUTDOWN
Thu Feb 13 10:55:08 2014 [VMM][I]: Command execution fail:
/vz/one/scripts/vmm/ovz/shutdown '-' 'ubuntu' 109 ubuntu
Thu Feb 13 10:55:08 2014 [VMM][E]: shutdown: Command "/usr/bin/sudo
/usr/sbin/vzctl stop -" failed.
Thu Feb 13 10:55:08 2014 [VMM][E]: shutdown: Bad CT ID -
Thu Feb 13 10:55:08 2014 [VMM][E]: Bad CT ID -
Thu Feb 13 10:55:08 2014 [VMM][E]:
Thu Feb 13 10:55:08 2014 [VMM][I]: ExitCode: 21
Thu Feb 13 10:55:08 2014 [VMM][I]: Failed to execute virtualization driver
operation: shutdown.
Thu Feb 13 10:55:08 2014 [VMM][E]: Error shutting down VM: Bad CT ID -
Thu Feb 13 10:55:08 2014 [LCM][I]: Fail to shutdown VM. Assuming that the
VM is still RUNNING (will poll VM).

Please help me.

Caty.


> Message: 3
> Date: Thu, 13 Feb 2014 09:44:45 -0500
> From: Catalina Quinde <catalinaquinde at gmail.com>
> To: users <Users at lists.opennebula.org>, knawnd <knawnd at gmail.com>,
>         Nikita Balashov <balashov.nikita at gmail.com>
> Subject: [one-users] Resume VM in Opennebula to OpenVZ with error
> Message-ID:
>         <
> CAPgz++xXBdGTthSDKfX4H924a+pTmy86srtGFaynrBPeYRA4-Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello friend,
>
> I'm using OpenVZ ver. 2.6.32-042 stab083.2 and Opennebula ver. 4.2
>
> 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:
>
> mount -t nfs -o vers=3 192.168.147.129:/var/lib/one/datastores
> /vz/one/datastores
>
> this is a log file:
>
> alexopn at ubuntuOpNeb:~$ cat /var/log/one/109.log
> Thu Feb 13 08:52:07 2014 [DiM][I]: New VM state is ACTIVE.
> Thu Feb 13 08:52:07 2014 [LCM][I]: New VM state is PROLOG.
> Thu Feb 13 08:52:07 2014 [VM][I]: Virtual Machine has no context
> Thu Feb 13 08:52:31 2014 [LCM][I]: New VM state is BOOT
> Thu Feb 13 08:52:31 2014 [VMM][I]: Generating deployment file:
> /var/lib/one/vms/109/deployment.0
> Thu Feb 13 08:52:31 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 08:52:31 2014 [VMM][I]: Successfully execute network driver
> operation: pre.
> 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".
> 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"".
> 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"".
> Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo
> /usr/sbin/vzctl set 1109 --diskspace 2G:2.2G --save".
> 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".
> 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"".
> 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".
> 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"".
> Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Not performing
> contextualization, no context given.
> Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown
> 1001:1001 -R /vz/one/datastores/0/109/private".
> Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo
> /usr/sbin/vzctl start 1109".
> Thu Feb 13 08:53:46 2014 [VMM][I]: deploy: Executed "/usr/bin/sudo chown
> 1001:1001 /vz/one/datastores/0/109/root".
> Thu Feb 13 08:53:46 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 08:53:46 2014 [VMM][I]: Successfully execute virtualization
> driver operation: deploy.
> Thu Feb 13 08:53:46 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 08:53:46 2014 [VMM][I]: Successfully execute network driver
> operation: post.
> Thu Feb 13 08:53:46 2014 [LCM][I]: New VM state is RUNNING
> Thu Feb 13 09:11:44 2014 [LCM][I]: New VM state is SAVE_STOP
> 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".
> Thu Feb 13 09:12:52 2014 [VMM][I]: save: Executed "/usr/bin/sudo chown
> oneadmin:oneadmin /vz/one/datastores/0/109/checkpoint".
> Thu Feb 13 09:12:52 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 09:12:52 2014 [VMM][I]: Successfully execute virtualization
> driver operation: save.
> Thu Feb 13 09:12:53 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 09:12:53 2014 [VMM][I]: Successfully execute network driver
> operation: clean.
> Thu Feb 13 09:12:57 2014 [LCM][I]: New VM state is EPILOG_STOP
> Thu Feb 13 09:13:27 2014 [DiM][I]: New VM state is STOPPED
> Thu Feb 13 09:25:10 2014 [DiM][I]: New VM state is PENDING.
> Thu Feb 13 09:25:39 2014 [DiM][I]: New VM state is ACTIVE.
> Thu Feb 13 09:25:39 2014 [LCM][I]: New VM state is PROLOG.
> Thu Feb 13 09:25:47 2014 [LCM][I]: New VM state is BOOT
> Thu Feb 13 09:25:48 2014 [VMM][I]: ExitCode: 0
> Thu Feb 13 09:25:48 2014 [VMM][I]: Successfully execute network driver
> operation: pre.
> 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
> Thu Feb 13 09:25:48 2014 [VMM][E]: deployment filename not found during
> restore
> 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)
> Thu Feb 13 09:25:48 2014 [VMM][I]: from
> /vz/one/scripts/vmm/ovz/restore:75:in `new'
> Thu Feb 13 09:25:48 2014 [VMM][I]: from
> /vz/one/scripts/vmm/ovz/restore:75:in `<main>'
> Thu Feb 13 09:25:48 2014 [VMM][I]: ExitCode: 1
> Thu Feb 13 09:25:48 2014 [VMM][I]: Failed to execute virtualization driver
> operation: restore.
> Thu Feb 13 09:25:48 2014 [VMM][E]: Error restoring VM: deployment filename
> not found during restore
> Thu Feb 13 09:25:48 2014 [LCM][I]: Fail to boot VM. New VM state is
> EPILOG_STOP
> Thu Feb 13 09:25:54 2014 [DiM][I]: New VM state is STOPPED
>
> Please help me, Thanks.
>
> Regards, Caty
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140213/4093cd13/attachment.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> End of Users Digest, Vol 72, Issue 49
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140213/ba2ab940/attachment-0001.htm>


More information about the Users mailing list