[openstack-dev] [third-party] Timeout waiting for ssh access

Tang Chen tangchen at cn.fujitsu.com
Tue Aug 25 12:01:31 UTC 2015


Hi all,

Does anybody have any idea about this problem ?

Since ubuntu does not have /etc/sysconfig/network-scripts/ifcfg-*,
obviously it is a fedora like fs structure, we have tried to use centos,
but we still got the same error.

Thanks.


On 08/24/2015 09:19 PM, Xie, Xianshan wrote:
>
> Hi, All
>
>   I`m still strugling to setup nodepool env, and i got following error 
> messages:
>
> ------------------------------------------
>
> ERROR nodepool.NodeLauncher: Exception launching node id: 13 in 
> provider: local_01 error:
>
>       Traceback (most recent call last):
>
>         File "/home/fujitsu/xiexs/nodepool/nodepool/nodepool.py", line 
> 405, in _run
>
>           dt = self.launchNode(session)
>
>         File "/home/fujitsu/xiexs/nodepool/nodepool/nodepool.py", line 
> 503, in launchNode
>
> timeout=self.timeout):
>
>         File "/home/fujitsu/xiexs/nodepool/nodepool/nodeutils.py", 
> line 50, in ssh_connect
>
>           for count in iterate_timeout(timeout, "ssh access"):
>
>         File "/home/fujitsu/xiexs/nodepool/nodepool/nodeutils.py", 
> line 42, in iterate_timeout
>
>           raise Exception("Timeout waiting for %s" % purpose)
>
>       Exception: Timeout waiting for ssh access
>
>      WARNING nodepool.NodePool: Deleting leaked instance 
> d-p-c-local_01-12 (aa6f58d9-f691-4a72-98db-6add9d0edc1f) in local_01 
> for node id: 12
>
> ------------------------------------------
>
> And meanwhile, in the console.log which records the info for launching 
> this instance,
>
> there is also anerror as follows:
>
> ------------------------------------------
>
> + sed -i -e s/^\(DNS[0-9]*=[.0-9]\+\)/#\1/g 
> /etc/sysconfig/network-scripts/ifcfg-*^M
>
> sed: can't read /etc/sysconfig/network-scripts/ifcfg-*: No such file 
> or directory^M
>
> ...
>
> cloud-init-nonet[26.16]: waiting 120 seconds for network device
>
> ------------------------------------------
>
> I have tried to figure out what`s causing this error:
>
> 1. mounted image.qcow2 and then checked the configuration for the 
> network aboutthis instance:
>
> $ cat etc/network/interfaces.d/eth0.cfg
>
>    auto eth0
>
>    iface eth0 inet dhcp
>
> $ cat etc/network/interfaces
>
>    auto lo
>
>    iface lo inet loopback
>
>    source /etc/network/interfaces.d/*.cfg
>
> It seems good.
>
> 2. But indeed, the directory named 
> /etc/sysconfig/network-scripts/ifcfg-* does not exist.
>
> And i dont understand why it attempts to check this configuration file?
>
> Because my instance is specified to ubuntu not rhel.
>
> So,could you give me some tips to work this out?
>
> Thanks in advance.
>
> Xiexs
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150825/5b965d7c/attachment.html>


More information about the OpenStack-dev mailing list