<div dir="ltr"><span id="result_box" class="" lang="en"><span class="">Nicolay</span> <span class=""></span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">Nikolay</span> <span class="">then</span> <span class="">send</span> <span class="">the</span> <span class="">mail</span> <span class="">before, </span></span>I noticed</span> <span class="">an error in the</span> <span class="">sudoers</span> <span class="">file</span> <span class="">at</span> <span class="">OpenVZ</span> <span class="">node</span> <span class="">for</span> <span class="">requesting</span> <span class="">password</span>, <span class="">and I</span> <span class="">resolve,</span> <span class="">I made</span> <span class="">a new</span> <span class="">virtual</span> <span class="">machine</span><span>,</span> <span class="">but the problem</span> <span class="">of the file "</span><span class="">default.tar.gz</span><span class="">" continues,</span> <span class="">I don't know</span> <span class="">because used</span><span class=""> this one.</span><span></span> <span class="">I send</span> contains <span class="">file </span><span class="">44.log:<br>
<br></span></span><div class="gmail_extra">oneadmin@ubuntuOpNeb:~$ cat /var/log/one/44.log<br>Mon Nov 18 00:29:26 2013 [DiM][I]: New VM state is ACTIVE.<br>Mon Nov 18 00:29:26 2013 [LCM][I]: New VM state is PROLOG.<br>Mon Nov 18 00:29:47 2013 [LCM][I]: New VM state is BOOT<br>
Mon Nov 18 00:29:47 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/44/deployment.0<br>Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 0<br>Mon Nov 18 00:29:48 2013 [VMM][I]: Successfully execute network driver operation: pre.<br>
Mon Nov 18 00:29:48 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/ovz/deploy '/var/lib/one/datastores/0/44/deployment.0' 'ubuntu' 44 ubuntu<br>Mon Nov 18 00:29:48 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv "/var/lib/vz/template/cache/default.tar.gz" "/var/lib/vz/template/cache/default.tar.gz.1384752587" 2> /dev/null; true".<br>
Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: Command "/usr/bin/sudo ln -sf "" "/var/lib/vz/template/cache/default.tar.gz"" failed.<br>Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: ln: failed to create symbolic link `/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or directory<br>
Mon Nov 18 00:29:48 2013 [VMM][E]: ln: failed to create symbolic link `/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or directory<br>Mon Nov 18 00:29:48 2013 [VMM][E]: <br>Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 1<br>
Mon Nov 18 00:29:48 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.<br>Mon Nov 18 00:29:48 2013 [VMM][E]: Error deploying virtual machine: ln: failed to create symbolic link `/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or directory<br>
Mon Nov 18 00:29:48 2013 [DiM][I]: New VM state is FAILED<br><br></div><div class="gmail_extra">Thanks Nicolay.<br><br><br></div><div class="gmail_extra"><div class="gmail_quote">2013/11/18 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Nikolay<br><div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for reply, I used <a href="https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home" target="_blank">https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home</a></div>
<div class="gmail_extra">and I have a problem:<br><br></div><div class="gmail_extra">When VM deploy in OpenVZ node <span lang="en"><span>takes another</span> <span>name for the file</span><span>. "</span><span>tar.gz</span><span>"</span> <span>in my case is</span> <span>"</span><span>VMopenvzamd64.tar.gz</span><span>"</span> <span>but</span> <span>in the "</span><span>43.log</span><span>" shows</span> <span>a file</span> <span>"</span><span>default.tar.gz</span><span>"</span></span> and VM state is FAILED<br>
<br></div><div class="gmail_extra">1. 43.log file contains:<br><br></div><div class="gmail_extra">oneadmin@ubuntuOpNeb:~$ cat /var/log/one/43.log<br>Sun Nov 17 23:55:27 2013 [DiM][I]: New VM state is ACTIVE.<br>Sun Nov 17 23:55:27 2013 [LCM][I]: New VM state is PROLOG.<br>
Sun Nov 17 23:55:41 2013 [LCM][I]: New VM state is BOOT<br>Sun Nov 17 23:55:41 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/43/deployment.0<br>Sun Nov 17 23:55:42 2013 [VMM][I]: ExitCode: 0<br>Sun Nov 17 23:55:42 2013 [VMM][I]: Successfully execute network driver operation: pre.<br>
Sun Nov 17 23:55:42 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/ovz/deploy '/var/lib/one/datastores/0/43/deployment.0' 'ubuntu' 43 ubuntu<br>Sun Nov 17 23:55:42 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv "/var/lib/vz/template/cache/default.tar.gz" "/var/lib/vz/template/cache/default.tar.gz.1384750541" 2> /dev/null; true".<br>
Sun Nov 17 23:55:42 2013 [VMM][E]: deploy: Command "/usr/bin/sudo ln -sf "" "/var/lib/vz/template/cache/default.tar.gz"" failed.<br>Sun Nov 17 23:55:42 2013 [VMM][E]: deploy: sudo: no tty present and no askpass program specified<br>
Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: no tty present and no askpass program specified<br>Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: no tty present and no askpass program specified<br>
Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: 3 incorrect password attempts<br>Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass program specified<br>
Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass program specified<br>Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass program specified<br>
Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.<br>Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: 3 incorrect password attempts<br>Sun Nov 17 23:55:42 2013 [VMM][E]: <br>Sun Nov 17 23:55:42 2013 [VMM][I]: ExitCode: 1<br>Sun Nov 17 23:55:42 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.<br>
Sun Nov 17 23:55:42 2013 [VMM][E]: Error deploying virtual machine: sudo: no tty present and no askpass program specified<br>Sun Nov 17 23:55:42 2013 [DiM][I]: New VM state is FAILED<br><br></div><div class="gmail_extra">
2. The image file contains:<br><br>oneadmin@ubuntuOpNeb:~$ oneimage show 15<br>IMAGE 15 INFORMATION <br>ID : 15 <br>NAME : VMopenvzamd64 <br>
USER : oneadmin <br>GROUP : oneadmin <br>DATASTORE : default <br>TYPE : OS <br>REGISTER TIME : 11/14 16:21:11 <br>PERSISTENT : No <br>
SOURCE : /var/lib/one/datastores/1/c01336142b657bca9afe183fe1755e5b<br>PATH : /var/lib/images/VMopenvzamd64.tar.gz<br>SIZE : 189M <br>STATE : used <br>RUNNING_VMS : 1 <br>
<br>PERMISSIONS <br>OWNER : um- <br>GROUP : --- <br>OTHER : --- <br><br>IMAGE TEMPLATE <br>
DESCRIPTION="Pruebas VM OpenVZ"<br>DEV_PREFIX="hd"<br><br>VIRTUAL MACHINES<br><br> ID USER GROUP NAME STAT UCPU UMEM HOST TIME<br> 43 oneadmin oneadmin VMuOpenVZ fail 0 0K 0d 00h00<br>
<br></div><div class="gmail_extra">3. The template file contains:<div class="im"><br><br>OS=[ARCH="x86_64",BOOT="hd"]<br></div>GRAPHICS=[TYPE="VNC",PORT="5900",LISTEN="0.0.0.0"]<br>
MEMORY="512"<div class="im"><br>
CONTEXT=[NETWORK="YES",SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]"]<br></div>REQUIREMENTS="ID=\"3\""<br>DISK=[IMAGE_ID="15",DEV_PREFIX="sd"]<br>NIC=[NETWORK_ID="4"]<br>
CPU="1"<br><br></div><div class="gmail_extra">Please help me Nicolay, thanks.<br>Have a nice day.<br><br></div><div class="gmail_extra">Caty.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2013/11/16 <span dir="ltr"><<a href="mailto:users-request@lists.opennebula.org" target="_blank">users-request@lists.opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Users mailing list submissions to<br>
<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@lists.opennebula.org" target="_blank">users-request@lists.opennebula.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@lists.opennebula.org" target="_blank">users-owner@lists.opennebula.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: VM in Opennebula for OpenVZ failed (<a href="mailto:knawnd@gmail.com" target="_blank">knawnd@gmail.com</a>)<br>
2. Re: Create Swap locally (Alberto Pic?n Couselo)<br>
3. Contextualisation with "Upstart" (Gareth Bult)<br>
4. Context CDROM seen as hard drive (Daniel Dehennin)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 16 Nov 2013 13:52:40 +0400<div class="im"><br>
From: <a href="mailto:knawnd@gmail.com" target="_blank">knawnd@gmail.com</a><br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] VM in Opennebula for OpenVZ failed<br></div>
Message-ID: <<a href="mailto:52874068.4090706@gmail.com" target="_blank">52874068.4090706@gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
Catalina Quinde wrote on 15/11/13 23:11:<div class="im"><br>
> Hi Nikolay<br>
><br>
> I use <a href="http://wiki.opennebula.org/openvz4opennebula" target="_blank">http://wiki.opennebula.org/openvz4opennebula</a>, this guide helped<br>
> me installed openvz for opennebula<br></div>
Hi, Caty!<br>
<br>
Please, use <a href="https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home" target="_blank">https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home</a><br>
since the one you are referring to is outdated (it was written for<br>
OpenNebula v2.2.1).<br>
<br>
I would suggest you to deploy your ONE node from scratch using the link<br>
I posted above.<br>
<br>
Regards,<br>
Nikolay.<div class="im"><br>
<br>
><br>
> Regards, Caty<br>
><br>
> Hi Matias,<br>
><br>
> I should have typed inadvertently space<br>
><br>
> Thanks, Caty.<br>
><br>
><br>
> Message: 4<br>
> Date: Fri, 15 Nov 2013 21:33:26 +0400<br></div>
> From: <a href="mailto:knawnd@gmail.com" target="_blank">knawnd@gmail.com</a> <mailto:<a href="mailto:knawnd@gmail.com" target="_blank">knawnd@gmail.com</a>><br>
> To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a> <mailto:<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>><div class="im">
<br>
> Subject: Re: [one-users] VM in Opennebula for OpenVZ failed<br>
> Message-ID: <<a href="mailto:52865AE6.6040407@gmail.com" target="_blank">52865AE6.6040407@gmail.com</a><br></div>
> <mailto:<a href="mailto:52865AE6.6040407@gmail.com" target="_blank">52865AE6.6040407@gmail.com</a>>><div class="im"><br>
> Content-Type: text/plain; charset=UTF-8; format=flowed<br>
><br>
> Catalina Quinde wrote on 15/11/13 20:23:<br>
> > Please help me, do not find much information opennebula with openvz.<br>
> Hi, Caty!<br>
><br>
> What openvz driver are you using?<br>
> I am using that one [1].<br>
> [1] <a href="https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home" target="_blank">https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home</a><br>
><br>
> Regards,<br>
> Nikolay.<br>
><br>
> ><br>
> > Regards, Caty<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br></div>
> > <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><div class="im">
<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>
><br>
> ------------------------------<br>
><br>
> Message: 5<br>
> Date: Fri, 15 Nov 2013 19:33:46 +0100<br>
> From: Matthias Albert <<a href="mailto:matthias.albert@inovex.de" target="_blank">matthias.albert@inovex.de</a><br></div>
> <mailto:<a href="mailto:matthias.albert@inovex.de" target="_blank">matthias.albert@inovex.de</a>>><br>
> To: <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><div class="im">
<br>
> Subject: Re: [one-users] VM in Opennebula for OpenVZ failed<br>
> Message-ID: <<a href="mailto:3EEC3C36-AFAE-4791-A789-6EEF91E3D3EC@inovex.de" target="_blank">3EEC3C36-AFAE-4791-A789-6EEF91E3D3EC@inovex.de</a><br></div>
> <mailto:<a href="mailto:3EEC3C36-AFAE-4791-A789-6EEF91E3D3EC@inovex.de" target="_blank">3EEC3C36-AFAE-4791-A789-6EEF91E3D3EC@inovex.de</a>>><div class="im"><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi Caty,<br>
><br>
> it seems that there is only a small typo.<br>
><br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: bas h:<br>
> /var/tmp/one/vmm/ovz/deploy: /bin/env: bad interpreter: No such<br>
> file or directory<br>
><br>
> There is a space between "bas" and "h". Should be "bash"<br>
><br>
> Cheers,<br>
><br>
> Matthias<br>
><br>
> Am 15.11.2013 um 17:23 schrieb Catalina Quinde<br></div>
> <<a href="mailto:catalinaquinde@gmail.com" target="_blank">catalinaquinde@gmail.com</a> <mailto:<a href="mailto:catalinaquinde@gmail.com" target="_blank">catalinaquinde@gmail.com</a>>>:<div><div class="h5">
<br>
><br>
> > Hi, friends,<br>
> ><br>
> > Please help me,<br>
> ><br>
> > I'm trying to deploy a VM from OpenNebula to a node with OpenVZ<br>
> hypervisor, but status is failed<br>
> ><br>
> > 1. This is the template file:<br>
> ><br>
> > REQUIREMENTS="ID=\"3\""<br>
> > CONTEXT=[NETWORK="YES",SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]"]<br>
> > OS=[ARCH="x86_64",BOOT="hd"]<br>
> > CPU="1"<br>
> > DISK=[IMAGE_ID="15"]<br>
> > NIC=[NETWORK_ID="4"]<br>
> > MEMORY="512"<br>
> > GRAPHICS=[PORT="5900",LISTEN="0.0.0.0",TYPE="VNC"]<br>
> ><br>
> ><br>
> > 2. The status of the picture for DISK is Rdy<br>
> ><br>
> > 3.. The 39.log file in / var / log / one contains<br>
> > oneadmin@ubuntuOpNeb:~$ cat /var/log/one/39.log<br>
> > Fri Nov 15 10:38:01 2013 [DiM][I]: New VM state is ACTIVE.<br>
> > Fri Nov 15 10:38:01 2013 [LCM][I]: New VM state is PROLOG.<br>
> > Fri Nov 15 10:38:29 2013 [LCM][I]: New VM state is BOOT<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: Generating deployment file:<br>
> /var/lib/one/vms/39/deployment.0<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: ExitCode: 0<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: Successfully execute network<br>
> driver operation: pre.<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: Command execution fail: cat<br>
> << EOT | /var/tmp/one/vmm/ovz/deploy<br>
> '/var/lib/one/datastores/0/39/deployment.0' 'ubuntu' 39 ubuntu<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: bas h:<br>
> /var/tmp/one/vmm/ovz/deploy: /bin/env: bad interpreter: No such<br>
> file or directory<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: ExitCode: 126<br>
> > Fri Nov 15 10:38:29 2013 [VMM][I]: Failed to execute<br>
> virtualization driver operation: deploy.<br>
> > Fri Nov 15 10:38:29 2013 [VMM][E]: Error deploying virtual machine<br>
> > Fri Nov 15 10:38:29 2013 [DiM][I]: New VM state is FAILED<br>
> ><br>
> > Please help me, do not find much information opennebula with openvz.<br>
> ><br>
> > Regards, Caty<br>
> > _______________________________________________<br>
> > Users mailing list<br></div></div>
> > <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><div class="im">
<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>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: signature.asc<br>
> Type: application/pgp-signature<br>
> Size: 495 bytes<br>
> Desc: Message signed with OpenPGP using GPGMail<br>
> URL:<br>
> <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131115/942ec4c4/attachment.pgp" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131115/942ec4c4/attachment.pgp</a>><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br></div>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><div class="im">
<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 69, Issue 63<br>
> *************************************<br>
><br>
><br>
><br>
><br></div><div class="im">
> _______________________________________________<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>
<br>
<br></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>