<div dir="ltr">Is the image you are using for that VM contextualized? That is, does it have context packages installed?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 11:17 AM, Monish Jain <span dir="ltr"><<a href="mailto:Monish.Jain@rsystems.com" target="_blank">Monish.Jain@rsystems.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have successfully deployed a test virtual machine on ESXI host, but the VM is not getting the gateway ip as defined in the Virtual Network and associated with the template of the VM. The details of the config are as under:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@cloud1 60]# onevnet show 13<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">VIRTUAL NETWORK 13 INFORMATION<u></u><u></u></p>
<p class="MsoNormal">ID : 13<u></u><u></u></p>
<p class="MsoNormal">NAME : sabnet<u></u><u></u></p>
<p class="MsoNormal">USER : oneadmin<u></u><u></u></p>
<p class="MsoNormal">GROUP : oneadmin<u></u><u></u></p>
<p class="MsoNormal">CLUSTER : mucluster<u></u><u></u></p>
<p class="MsoNormal">TYPE : FIXED<u></u><u></u></p>
<p class="MsoNormal">BRIDGE : VM Network<u></u><u></u></p>
<p class="MsoNormal">VLAN : Yes<u></u><u></u></p>
<p class="MsoNormal">USED LEASES : 1<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">PERMISSIONS<u></u><u></u></p>
<p class="MsoNormal">OWNER : uma<u></u><u></u></p>
<p class="MsoNormal">GROUP : uma<u></u><u></u></p>
<p class="MsoNormal">OTHER : uma<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">VIRTUAL NETWORK TEMPLATE<u></u><u></u></p>
<p class="MsoNormal">GATEWAY="10.196.221.254"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">USED LEASES<u></u><u></u></p>
<p class="MsoNormal">LEASE=[ MAC="02:00:0a:c4:dd:a0", IP="10.196.221.160", IP6_LINK="fe80::400:aff:fec4:dda0", USED="1", VID="65" ]<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">VIRTUAL MACHINES<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> ID USER GROUP NAME STAT UCPU UMEM HOST TIME<u></u><u></u></p>
<p class="MsoNormal"> 65 oneadmin oneadmin sab22 runn 0 0K esxi 2d 16h33<u></u><u></u></p>
<p class="MsoNormal">-----------------------------------------------------------------------------------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">The template that I have used to create VM is as follows:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellspacing="0" cellpadding="0" width="776" style="width:582.0pt;background:#fdfdfd;border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">SSH_PUBLIC_KEY<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$USER[SSH_PUBLIC_KEY]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_IPV6<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NIC[IP6_GLOBAL,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_NETWORK<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[NETWORK_ADDRESS,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_MASK<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[NETWORK_MASK,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_IP<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NIC[IP,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_DNS<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[DNS,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_CONTEXT_FORCE_IPV4<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_GATEWAY6<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[GATEWAY6,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ETH0_GATEWAY<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">$NETWORK[GATEWAY,NETWORK_ID="13"]<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">OS<u></u><u></u></span></b></p>
</td>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">ARCH<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">i686<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">NIC<u></u><u></u></span></b></p>
</td>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">NETWORK_ID<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">13<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">MEMORY<u></u><u></u></span></b></p>
</td>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;background:#f9f9f9;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">1024<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">GRAPHICS<u></u><u></u></span></b></p>
</td>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;padding:4.5pt 7.5pt 4.5pt 7.5pt">
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">TYPE<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">VNC<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">LISTEN<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">0.0.0.0<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">PORT<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">5905<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;padding:4.5pt 7.5pt 4.5pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">DISK<u></u><u></u></span></b></p>
</td>
<td valign="top" style="border:none;border-bottom:solid #cccccc 1.0pt;padding:4.5pt 7.5pt 4.5pt 7.5pt">
</td>
</tr>
<tr>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 26.25pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">IMAGE_ID<u></u><u></u></span></p>
</td>
<td valign="top" style="background:#f9f9f9;padding:.75pt 7.5pt .75pt 7.5pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">15<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal">----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif"">Thanks & Regards</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif"">Monish jain<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, please
immediately alert the sender by reply e-mail and then delete this message. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. R Systems has taken every reasonable
precaution to minimize the risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment.<br>
</font>
</div>
<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" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of September 2013!<br><br>Javier Fontán Muiños<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a> | @OpenNebula
</div>