[Openstack] [Heat/Havana]: Long delay before VM instance starts to ping...
Aryeh Friedman
aryeh.friedman at gmail.com
Mon Feb 3 17:37:42 UTC 2014
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])
On Mon, Feb 3, 2014 at 8:11 AM, Juha Tynninen <juha.tynninen at tieto.com>wrote:
> Hi,
>
> I'm using the following unmodified image:
>
> http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
>
>
> I set static ip address for the VM instance via Heat template and
> user-data:
>
> "Resources" : {
>
> "DemoInstance" : {
> "Type" : "OS::Nova::Server",
> "Properties" : {
> "key_name" : { "Ref" : "KeyName" },
> "flavor": { "Ref" : "Flavor" },
> "image": { "Ref": "ImageName"},
> "networks": [
> { "uuid": { "Ref" : "PrivateNetworkId" } },
> { "uuid": { "Ref" : "PublicNetworkId" }, "fixed_ip": { "Ref" :
> "StaticIp" } } ],
> "user_data" : {
> "Fn::Base64": {
> "Fn::Join": [
> "",
> [
> "#!/bin/bash \n",
> "export ETH1_CFG=/etc/network/interfaces.d/eth1.cfg\n",
> "rm $ETH1_CFG\n",
> "touch $ETH1_CFG\n",
> "echo auto eth1 >> $ETH1_CFG\n",
> "echo iface eth1 inet static >> $ETH1_CFG\n",
> "echo address ", { "Ref": "StaticIp" }, " >> $ETH1_CFG\n",
> "echo netmask 255.255.255.0 >> $ETH1_CFG\n",
> "ifdown eth1\n",
> "ifup eth1\n"
> ]
> ]
> }
>
> The static ip is given from public network range (192.168.100.xxx).
> As such everything is working fine, the VM starts and after a while I can
> ping it and log in to it with ssh.
>
> But it can take quite a long time before ping and ssh starts to work.
> Normally 4-7 minutes.
> Any ideas what could be a reason why it takes so long...? What to check?
>
> Many thanks,
> -Juha
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140203/b457027c/attachment.html>
More information about the Openstack
mailing list