<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><div>Hi, Dims.</div><div>  I have saw that note about "long lived process" in dova-docker READEME file. I have tried redis image and ubuntu-sshd image,and the two images worked well. And then, I write a simple python code which like that "while True: print 'hello world' ", and put that code input redis image ,this also worked. but when I tried use 'ping localhost' or 'ping IP ADDRESS', it errors again. I think maybe the network was not ready,so the app raise e<span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.7;">xception and the container exits. So, I change the code like that :1 use sleep-wait for check if the network is ready, 2 check if eth0's ip address is ready 3 run ping application or other app which only sending packets. This also errors and exits.</span></div><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2015-11-02 19:25:27, "Davanum Srinivas" <davanum@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">hittang,<div><br></div><div>please see the note about "long lived process" in nova-docker README file. This happens when the process started in the container exits before network is setup. you should also check docker logs to see if there is any error.<br></div><div><br></div><div>Thanks,</div><div>Dims</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 1:30 AM, hittang <span dir="ltr"><<a href="mailto:hitgwt@163.com" target="_blank">hitgwt@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, everyone.</div><div> I install nova docker driver by <a href="https://wiki.openstack.org/wiki/Docker" target="_blank">https://wiki.openstack.org/wiki/Docker</a> . but when I create a docker instance, it doesn't work.the errors like that "<span style="font-family:arial;white-space:pre-wrap;font-size:12px;line-height:18px">Cannot setup network: Cannot </span><span style="font-family:arial;white-space:pre-wrap;font-size:12px;margin:0px;padding:0px;color:rgb(0,0,255);line-height:1.5!important">find</span><span style="font-family:arial;white-space:pre-wrap;font-size:12px;line-height:18px"> any PID under container" Can anybody help me ?</span></div></div><br><br><span title="neteasefooter"><p> </p></span><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Davanum Srinivas :: <a href="https://twitter.com/dims" target="_blank">https://twitter.com/dims</a></div>
</div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>