<div dir="ltr">Thanks very much Nikita, vm works ok now.<br><br>You are a great support.<br><br>Regards, a beautiful day,<br><br>Caty.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-06 8:59 GMT-05:00 Nikita Balashov <span dir="ltr"><<a href="mailto:balashov.nikita@gmail.com" target="_blank">balashov.nikita@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">DATASTORE_LOCATION used only to specify location on hosts, not on the frontend. So, you need to create the mentioned simlink on the frontend with the current implementation of the driver</span><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-06 Catalina Quinde <span dir="ltr"><<a href="mailto:catalinaquinde@gmail.com" target="_blank">catalinaquinde@gmail.com</a>></span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Thanks Nikita for reply,<br><br></div>I don't have symlink "ln -s /var/lib/one/datastores /vz/one/datastores", in configuration file oned.conf I have:<br><br></div><div>DATASTORE_LOCATION = /vz/one/datastores<br>
<br></div><div>Regards, Caty.<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-06 6:45 GMT-05:00 Nikita Balashov <span dir="ltr"><<a href="mailto:balashov.nikita@gmail.com" target="_blank">balashov.nikita@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Have you created a symlink on the front-end "ln -s /var/lib/one/datastores /vz/one/datastores"?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-06 Catalina Quinde <span dir="ltr"><<a href="mailto:catalinaquinde@gmail.com" target="_blank">catalinaquinde@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi Nikolay,<br><br></div><div><div>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:<br><br>alexopn@ubuntuOpNeb:~$ cat /var/log/one/14.log<br>Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.<br>Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.<br>
Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context<br>Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT<br>Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/14/deployment.0<br>
Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver operation: pre.<br>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".<br>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"".<br>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"".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save".<br>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".<br>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"".<br>
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".<br>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"".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing contextualization, no context given.<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 -R /vz/one/datastores/0/14/private".<br>
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl start 1014".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 /vz/one/datastores/0/14/root".<br>
Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy.<br>Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver operation: post.<br>
Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING<br>Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP<br>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".<br>Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed "/usr/bin/sudo chown oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint".<br>Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0<br>
Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization driver operation: save.<br>Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver operation: clean.<br>
Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP<br>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<br>Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving ubuntu:/vz/one/datastores/0/14 to ubuntuOpNeb:/vz/one/datastores/0/14<br>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<br>Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting now<br>Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target host<br>Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2<br>
Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script: Error copying disk directory to target host<br>Wed Dec 18 16:14:02 2013 [DiM][I]: New VM state is FAILED<br>Wed Dec 18 16:15:30 2013 [DiM][I]: New VM state is DONE.<br>
alexopn@ubuntuOpNeb:~$ <br><br></div></div></div>Thanks, Caty.<br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>