[one-users] VM Opennebula with OpenVZ

Catalina Quinde catalinaquinde at gmail.com
Wed Feb 5 12:38:21 PST 2014


Hi Nikolay,

Thanks for reply, I used Opennebula version 4.2 and OpenVZ version
2.6.32-042stab083.2, the vm log file is below, the mv runs correctly but
when I put it on STOP has errors:

alexopn at ubuntuOpNeb:~$ cat /var/log/one/14.log
Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.
Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.
Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context
Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT
Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file:
/var/lib/one/vms/14/deployment.0
Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0
Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Dec 18 15:47:54 2013 [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.1387399618" 2>
/dev/null; true".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo ln -sf
"/vz/one/datastores/0/14/disk.0"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo
/usr/sbin/vzctl create 1014 --layout ploop --ostemplate "debian-7.0-x86_64"
--private "/vz/one/datastores/0/14/private" --root
"/vz/one/datastores/0/14/root"".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo
/usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo tar -cf
"/vz/one/datastores/0/14/disk.0" --gzip -Sp -C
"/vz/one/datastores/0/14/private" . --ignore-failed-read".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo rm -f
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" 2> /dev/null; true".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo cp
"/vz/one/datastores/0/14/vm_conf" "/etc/vz/conf/1014.conf"".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing
contextualization, no context given.
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown
1001:1001 -R /vz/one/datastores/0/14/private".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo
/usr/sbin/vzctl start 1014".
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown
1001:1001 /vz/one/datastores/0/14/root".
Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization
driver operation: deploy.
Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver
operation: post.
Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING
Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP
Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed "/usr/bin/sudo
/usr/sbin/vzctl chkpnt 1014 --dumpfile /vz/one/datastores/0/14/checkpoint".
Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed "/usr/bin/sudo chown
oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint".
Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization
driver operation: save.
Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver
operation: clean.
Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP
Wed Dec 18 16:14:02 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/ssh/mv ubuntu:/vz/one/datastores/0/14
ubuntuOpNeb:/vz/one/datastores/0/14 14 0
Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving ubuntu:/vz/one/datastores/0/14
to ubuntuOpNeb:/vz/one/datastores/0/14
Wed Dec 18 16:14:02 2013 [TM][E]: mv: Command "eval ssh ubuntu 'tar -C
/vz/one/datastores/0 -cf - 14' | ssh ubuntuOpNeb 'tar -C
/vz/one/datastores/0 -xf -'" failed: tar: /vz/one/datastores/0: No se puede
open: No existe el archivo o el directorio
Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting now
Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target
host
Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2
Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script:
Error copying disk directory to target host
Wed Dec 18 16:14:02 2013 [DiM][I]: New VM state is FAILED
Wed Dec 18 16:15:30 2013 [DiM][I]: New VM state is DONE.
alexopn at ubuntuOpNeb:~$

Thanks, Caty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140205/c19359e4/attachment-0002.htm>


More information about the Users mailing list