<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Hi Ramy,</div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br></div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Can you mention the steps for glance & scripts?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 7:49 PM, Asselin, Ramy <span dir="ltr"><<a href="mailto:ramy.asselin@hp.com" target="_blank">ramy.asselin@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d">Hi Tang,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d">I haven’t seen this issue. Which approach are you using to build the image? DIB or via glance & scripts?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d">Do you get the same result when using both approaches?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d">If using DIB, what is the OS used to build the image?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d">Ramy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" align="left" style="text-align:left"><b><span style="font-size:11.0pt;color:windowtext">From:</span></b><span style="font-size:11.0pt;color:windowtext"> Tang Chen [mailto:<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>]
<br>
<b>Sent:</b> Tuesday, August 25, 2015 5:02 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> Re: [openstack-dev] [third-party] Timeout waiting for ssh access<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal" align="left" style="text-align:left"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi all,<br>
<br>
Does anybody have any idea about this problem ?<br>
<br>
Since ubuntu does not have /etc/sysconfig/network-scripts/ifcfg-*, <br>
obviously it is a fedora like fs structure, we have tried to use centos, <br>
but we still got the same error.<br>
<br>
Thanks.<br>
<br>
<span style="font-size:12.0pt"><u></u><u></u></span></p>
<div>
<p class="MsoNormal">On 08/24/2015 09:19 PM, Xie, Xianshan wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi, All<u></u><u></u></p>
<p class="MsoNormal"> I`m still strugling to setup nodepool env, and i got following error messages:<u></u><u></u></p>
<p class="MsoNormal">------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">ERROR nodepool.NodeLauncher: Exception launching node id: 13 in provider: local_01 error:<u></u><u></u></p>
<p class="MsoNormal"> Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "/home/fujitsu/xiexs/nodepool/nodepool/nodepool.py", line 405, in _run<u></u><u></u></p>
<p class="MsoNormal"> dt = self.launchNode(session)<u></u><u></u></p>
<p class="MsoNormal"> File "/home/fujitsu/xiexs/nodepool/nodepool/nodepool.py", line 503, in launchNode<u></u><u></u></p>
<p class="MsoNormal"> timeout=self.timeout):<u></u><u></u></p>
<p class="MsoNormal"> File "/home/fujitsu/xiexs/nodepool/nodepool/nodeutils.py", line 50, in ssh_connect<u></u><u></u></p>
<p class="MsoNormal"> for count in iterate_timeout(timeout, "ssh access"):<u></u><u></u></p>
<p class="MsoNormal"> File "/home/fujitsu/xiexs/nodepool/nodepool/nodeutils.py", line 42, in iterate_timeout<u></u><u></u></p>
<p class="MsoNormal"> raise Exception("Timeout waiting for %s" % purpose)<u></u><u></u></p>
<p class="MsoNormal"> Exception: Timeout waiting for ssh access<u></u><u></u></p>
<p class="MsoNormal"> WARNING nodepool.NodePool: Deleting leaked instance d-p-c-local_01-12 (aa6f58d9-f691-4a72-98db-6add9d0edc1f) in local_01 for node id: 12<u></u><u></u></p>
<p class="MsoNormal">------------------------------------------<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">And meanwhile, in the console.log which records the info for launching this instance,<u></u><u></u></p>
<p class="MsoNormal">there is also a<span>n</span> error as follows:<u></u><u></u></p>
<p class="MsoNormal">------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">+ sed -i -e s/^\(DNS[0-9]*=[.0-9]\+\)/#\1/g /etc/sysconfig/network-scripts/ifcfg-*^M<u></u><u></u></p>
<p class="MsoNormal">sed: can't read /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory^M<u></u><u></u></p>
<p class="MsoNormal">...<u></u><u></u></p>
<p class="MsoNormal">cloud-init-nonet[26.16]: waiting 120 seconds for network device<u></u><u></u></p>
<p class="MsoNormal">------------------------------------------<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have tried to figure out what`s causing this error:<u></u><u></u></p>
<p class="MsoNormal">1. mounted image.qcow2 and then checked the configuration for the network
<span>about</span> this instance:<u></u><u></u></p>
<p class="MsoNormal">$ cat etc/network/interfaces.d/eth0.cfg <u></u><u></u></p>
<p class="MsoNormal"> auto eth0<u></u><u></u></p>
<p class="MsoNormal"> iface eth0 inet dhcp<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">$ cat etc/network/interfaces<u></u><u></u></p>
<p class="MsoNormal"> auto lo<u></u><u></u></p>
<p class="MsoNormal"> iface lo inet loopback<u></u><u></u></p>
<p class="MsoNormal"> source /etc/network/interfaces.d/*.cfg<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">It seems good.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">2. But indeed, the directory named /etc/sysconfig/network-scripts/ifcfg-* does not exist.<u></u><u></u></p>
<p class="MsoNormal">And i dont understand why it attempts to check this configuration file?<u></u><u></u></p>
<p class="MsoNormal">Because my instance is specified to ubuntu not rhel.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">So,could you give me some tips to work this out?<u></u><u></u></p>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
<p class="MsoNormal"><span> </span><u></u><u></u></p>
<p class="MsoNormal"><span>Xiexs</span><u></u><u></u></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>
<br>
<br>
<u></u><u></u></span></p>
<pre>__________________________________________________________________________<u></u><u></u></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<u></u><u></u></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><u></u><u></u></pre>
<pre><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
</div></div></div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font color="#000000" size="2" face="times new roman, serif"><b>Thanks & Regards,<br></b></font></div><font color="#000000"><font size="2" face="times new roman, serif"><b>Abhishek</b></font><br></font></div></div><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div>