<div dir="ltr">What is the problem??? Isn't this about the normal amount of time it would take to boot the instance if it was not in cloud? (remember open stack is nothing but a wrapper around [virtual] machines and thus is limited to how long stuff takes on a real/virtual machine])<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 8:11 AM, Juha Tynninen <span dir="ltr"><<a href="mailto:juha.tynninen@tieto.com" target="_blank">juha.tynninen@tieto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'm using the following unmodified image:</div><div><a href="http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img" target="_blank">http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img</a> </div>

<div><br></div><div>I set static ip address for the VM instance via Heat template and user-data:</div><div><br></div><div> "Resources" : {</div><div> </div><div>  "DemoInstance" : {</div><div>   "Type" : "OS::Nova::Server",</div>

<div>   "Properties" : {</div><div>     "key_name" : { "Ref" : "KeyName" },</div><div>     "flavor": { "Ref" : "Flavor" },</div><div>     "image": { "Ref": "ImageName"},</div>

<div>     "networks": [</div><div>        { "uuid": { "Ref" : "PrivateNetworkId" } },</div><div>        { "uuid": { "Ref" : "PublicNetworkId" }, "fixed_ip": { "Ref" : "StaticIp" } } ],</div>

<div>     "user_data" : {</div><div>        "Fn::Base64": {</div><div>           "Fn::Join": [</div><div>              "",</div><div>              [</div><div>                 "#!/bin/bash \n",</div>

<div>                 "export ETH1_CFG=/etc/network/interfaces.d/eth1.cfg\n",</div><div>                 "rm $ETH1_CFG\n", </div><div>                 "touch $ETH1_CFG\n",</div><div>                 "echo auto eth1 >> $ETH1_CFG\n",</div>

<div>                 "echo iface eth1 inet static >> $ETH1_CFG\n", </div><div>                 "echo address ", { "Ref": "StaticIp" }, " >> $ETH1_CFG\n",</div>

<div>                 "echo netmask 255.255.255.0 >> $ETH1_CFG\n",</div><div>                 "ifdown eth1\n",</div><div>                 "ifup eth1\n"  </div><div>              ]</div>

<div>           ]</div><div>        }</div><div><br></div><div>The static ip is given from public network range (192.168.100.xxx).</div><div>As such everything is working fine, the VM starts and after a while I can ping it and log in to it with ssh.</div>

<div><br></div><div>But it can take quite a long time before ping and ssh starts to work. Normally 4-7 minutes. </div><div>Any ideas what could be a reason why it takes so long...? What to check?</div><div><br></div><div>

Many thanks,</div><div>-Juha</div><div><br></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Aryeh M. Friedman, Lead Developer, <a href="http://www.PetiteCloud.org" target="_blank">http://www.PetiteCloud.org</a><br></div>
</div>