<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> After adding oneadmin into /etc/sudoers file, we are able proceed with the copy of the image from opennebula server to opennebula cluster node<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">as mentioned in the below oned.log. But now we are getting
<b>DEPLOY FAILURE</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">The OpenNebula Cluster Node is running Xen-3.0.3 on RHEL 5.2.<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [ReM][D]: VirtualMachineDeploy invoked<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [DiM][D]: Deploying VM 42<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: FEDORA.MINDTREE.COM:/opt/nebula/images/Rhel_Server_5.3.img 172.22.32.223:/opt/nebula/ONE/var//42/images/disk.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: DST: /opt/nebula/ONE/var//42/images/disk.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: Creating directory /opt/nebula/ONE/var//42/images<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: Executed "ssh 172.22.32.223 mkdir -p /opt/nebula/ONE/var//42/images".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:42:57 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: Cloning FEDORA.MINDTREE.COM:/opt/nebula/images/Rhel_Server_5.3.img<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:43:02 2009 [ReM][D]: VirtualMachineAction invoked<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:43:02 2009 [DiM][D]: Finalizing VM 41<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:47 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: Executed "scp /opt/nebula/images/Rhel_Server_5.3.img 172.22.32.223:/opt/nebula/ONE/var//42/images/disk.0".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:48 2009 [TM][D]: Message received: LOG - 42 tm_clone.sh: Executed "ssh 172.22.32.223 chmod a+w /opt/nebula/ONE/var//42/images/disk.0".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:48 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Creating 1024Mb image in /opt/nebula/ONE/var//42/images/disk.1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:48 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Executed "ssh 172.22.32.223 mkdir -p /opt/nebula/ONE/var//42/images".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:49 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Executed "ssh 172.22.32.223 dd if=/dev/zero of=/opt/nebula/ONE/var//42/images/disk.1
bs=1 count=1 seek=1024M".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:49 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Initializing swap space<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:49 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Executed "ssh 172.22.32.223 /sbin/mkswap /opt/nebula/ONE/var//42/images/disk.1".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [TM][D]: Message received: LOG - 42 tm_mkswap.sh: Executed "ssh 172.22.32.223 chmod a+w /opt/nebula/ONE/var//42/images/disk.1".<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [TM][D]: Message received: TRANSFER SUCCESS 42 -<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [VMM][D]: Message received: LOG - 42 Command: scp /opt/nebula/ONE/var/42/deployment.0 172.22.32.223:/opt/nebula/ONE/var//42/images/deployment.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [InM][D]: Host 9 successfully monitored.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [VMM][D]: Message received: LOG - 42 Copy success<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [VMM][D]: Message received: LOG - 42 Setting credits for the VM<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:46:50 2009 [VMM][D]: Message received: LOG - 42 Command: sudo /usr/sbin/xm create /opt/nebula/ONE/var//42/images/deployment.0 \&\& sudo
/usr/sbin/xm sched-cred -d one-42 -w 128<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:47:07 2009 [InM][I]: Monitoring host 172.22.32.223 (9)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:47:12 2009 [InM][D]: Host 9 successfully monitored.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:"Courier New"">Wed Apr 8 11:48:31 2009 [VMM][D]: Message received: DEPLOY FAILURE 42 Device 0 (vif) could not be connected. Hotplug scripts not working.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";
color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Any help would be very much appreciated<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;text-autospace:none">
<span style="font-size:10.0pt;
font-family:"Courier New";color:#1F497D">Thanks</span><span style="font-size:
10.0pt;font-family:"Courier New""> & Regards<span style="color:#1F497D">,<o:p></o:p></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in;text-autospace:none">
<span style="font-size:10.0pt;
font-family:"Courier New";color:#1F497D">Harish <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Raul Sampedro [mailto:raul.sampedro@gmail.com]
<br>
<b>Sent:</b> Monday, April 06, 2009 9:19 PM<br>
<b>To:</b> Harishbabu Nagaraj<br>
<b>Cc:</b> users@lists.opennebula.org; Sarath Kumar Bheemaraju<br>
<b>Subject:</b> Re: [one-users] Problem in deploying a VM<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
<br>
Please try to add the user "oneadmin" to sudoers group.<br>
<br>
cheers!<br>
<br>
On Mon, Apr 6, 2009 at 4:38 PM, Harishbabu Nagaraj <<a href="mailto:Harishbabu_Nagaraj@mindtree.com">Harishbabu_Nagaraj@mindtree.com</a>> wrote:<br>
> Hi All,<br>
><br>
> We are configuring as per the QuickStart guide given in the OpenNebula<br>
> documentation web site.<br>
><br>
> All the configurations are proceeding fine. We could able to SSH from the<br>
> OpenNebula server to the cluster node without any password.<br>
><br>
> When we deploy the VM we are getting the status from “pend” to “fail”<br>
> message as shown in the below log.<br>
><br>
> <br>
><br>
> Any help would be very much appreciated.<br>
><br>
> <br>
><br>
> OpenNebula Server<br>
><br>
> Hostname - <a href="http://FEDORA.MINDTREE.COM">FEDORA.MINDTREE.COM</a> and OS - Fedora 8<br>
><br>
> <br>
><br>
> OpenNebula Cluster Node<br>
><br>
> Hostname – 172.22.32.223 and OS - RHEL 5.2<br>
><br>
> <br>
><br>
> [oneadmin@FEDORA ONE]$ onehost list<br>
><br>
> HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT<br>
><br>
> 2 172.22.32.223 0 0 100 on<br>
><br>
> <br>
><br>
> [oneadmin@FEDORA bin]$ onevm create myFirstVM.template<br>
><br>
> [oneadmin@FEDORA bin]$ onevm deploy 19 2<br>
><br>
> [oneadmin@FEDORA bin]$ onevm list<br>
><br>
> ID NAME STAT CPU MEM HOSTNAME TIME<br>
><br>
> 19 vm-examp fail 0 0 172.22.32.223 00 00:02:10<br>
><br>
> <br>
><br>
> oned.log is as follows :<br>
><br>
> Mon Apr 6 19:19:18 2009 [DiM][D]: Allocating a new VM<br>
><br>
> Mon Apr 6 19:21:22 2009 [InM][I]: Monitoring host 172.22.32.223 (2)<br>
><br>
> Mon Apr 6 19:21:24 2009 [InM][D]: Host 2 successfully monitored.<br>
><br>
> Mon Apr 6 19:21:28 2009 [ReM][D]: VirtualMachineDeploy invoked<br>
><br>
> Mon Apr 6 19:21:28 2009 [DiM][D]: Deploying VM 19<br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: LOG - 19 tm_clone.sh:<br>
> FEDORA.MINDTREE.COM:/opt/nebula/images/Rhel_Server_5.3.img<br>
> 172.22.32.223:/opt/nebula/ONE/var//19/images/disk.0<br>
><br>
> <br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: LOG - 19 tm_clone.sh:<br>
> DST: /opt/nebula/ONE/var//19/images/disk.0<br>
><br>
> <br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: LOG - 19 tm_clone.sh:<br>
> Creating directory /opt/nebula/ONE/var//19/images<br>
><br>
> <br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: LOG - 19 tm_clone.sh:<br>
> ERROR: Command "ssh 172.22.32.223 mkdir -p /opt/nebula/ONE/var//19/images"<br>
> failed.<br>
><br>
> <br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: LOG - 19 tm_clone.sh:<br>
> ERROR: mkdir: cannot create directory `/opt/nebula': Permission denied<br>
><br>
> <br>
><br>
> Mon Apr 6 19:21:28 2009 [TM][D]: Message received: TRANSFER FAILURE 19<br>
> mkdir: cannot create directory `/opt/nebula': Permission denied<br>
><br>
> <br>
><br>
> Thanks and Regards,<br>
><br>
> Harish<br>
><br>
> <br>
><br>
> ________________________________<br>
> <a href="http://www.mindtree.com/email/disclaimer.html">http://www.mindtree.com/email/disclaimer.html</a><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">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">http://www.mindtree.com/email/disclaimer.html<br>
</font>
</body>
</html>