<div dir="ltr"><div class="gmail_extra">Hi,<br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 1:35 PM, Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Thanks a lot Martin and Stuart, that's much appreciated !<br>
<br>Concerning the second part about the template update, any thought ?<br><br>Regards<span class=""><font color="#888888"><br>Cyrille</font></span></div></blockquote><div><br></div><div>You template should be working in 4.6, I think. If you prefer to use the context packages we provide, then the new easier way to set the network contextualization is described here [1]:</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In the VM template contextualization we set NETWORK to yes:<br>
CONTEXT=[<br> NETWORK=YES ]</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
When the template is instantiated, those parameters for eth0 are automatically set in the VM as:<br>CONTEXT=[<br> DISK_ID="0",<br> ETH0_DNS="8.8.8.8 8.8.4.4",<br> ETH0_GATEWAY="80.0.0.1",<br>
ETH0_IP="80.0.0.2",<br> ETH0_MASK="255.255.255.0",<br> ETH0_NETWORK="80.0.0.0",<br> NETWORK="YES",<br> TARGET="hda" ] </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If you add more that one interface to a Virtual Machine you will end with same parameters changing ETH0 to ETH1, ETH2, etc. </blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
You can also add SSH_PUBLIC_KEY parameter to the context to add a SSH public key to the authorized_keys file of root.</blockquote></div><div><br></div><div>[1] <a href="http://docs.opennebula.org/4.6/user/virtual_machine_setup/bcont.html#preparing-the-template">http://docs.opennebula.org/4.6/user/virtual_machine_setup/bcont.html#preparing-the-template</a><br>
</div><div><br></div><div><div><div dir="ltr">Regards<br class="">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>
</div><div><br></div></div></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
<div class="h5"><br>At Tuesday, 10/06/2014 on 11:45 Carlos Martín Sánchez wrote:<br><blockquote style="border-width:0px 0px 0px 2px;border-left-style:solid;border-left-color:rgb(34,67,127);padding:0px 0px 0px 5px;margin:0px 0px 0px 5px">
<div dir="ltr">Hi,<div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 8, 2014 at 2:47 PM, Stuart Longland <span dir="ltr"><<a href="mailto:stuartl@vrt.com.au" target="_blank">stuartl@vrt.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 08/06/14 19:29, Duverne, Cyrille wrote:<br>
> Hello Guys !<br>
><br>
> I've upgraded to 4.6 and I'm now able to create VMs.<br>
> Some questions still :<br>
><br>
> - When, from sunstone, I want to create a new VM following a template<br>
> (4.2 compliant), they are stuck in PENDING state until I click on<br>
> "Deploy" -> I've browse the doc without finding precise explanation on<br>
> this behaviour of the scheduler.<br>
<br>
</div>I've noticed this from time to time too. Sometimes it's just a matter<br>
of waiting a few minutes for the scheduler to pick up on them, but<br>
manually deploying seems to give the whole system the kicking it needs.<br></blockquote><div><br></div><div>The scheduling timer can be changed in the sched.conf file [1].</div><div><br></div><div>If the scheduler can't find where to deploy a VM, the reason can be found in the SCHED_MESSAGE variable (visible in the placement section of the VM view in sunstone).<br>
</div><div>For more detailed reasons or error messages, you can check the /var/log/one/sched.log file.<br></div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://docs.opennebula.org/4.6/administration/references/schg.html" target="_blank">http://docs.opennebula.org/4.6/administration/references/schg.html</a></div>
<div><br></div><div><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div><div><br></div></div></div></div></div></div></div></div></blockquote></div></div></div>
</blockquote></div><br></div></div>