<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div><br></div><div>I think the dhcp message is intercepted by your host's dhcp server.<br><div><br></div><font color="#990099">-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net wrote: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">To: <a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.launchpad.net"><openstack@lists.launchpad.net></a><br>From: Salman Malik <a class="moz-txt-link-rfc2396E" href="mailto:salmanmk@live.com"><salmanmk@live.com></a><br>Sent by: <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a><br>Date: 04/16/2012 12:30AM<br>Subject: [Openstack] Networking Issue (of newly launched instance)<br><br>
<div dir="ltr">
<div dir="ltr">Hi All,<br><br>I have been able to launch an instance using devstack's dashboard. Now there seems to be networking problem. The log of the launched instance shows the following message repeatedly:<br><br>cloud-setup: failed 1/30 : up 1.23. request failed<br>wget: can't connect to remote host (169.254.169.254): No route to host<br><br>and afterwards, the log shows:<br><font face="Courier New,Courier,monospace" size="3">############ debug start ##############<br>### /etc/rc.d/init.d/sshd start<br>/etc/rc3.d/S45-cloud-setup: line 66: /etc/rc.d/init.d/sshd: not found<br>### ifconfig -a<br>eth0 Link encap:Ethernet HWaddr FA:16:3E:28:AB:91 <br> inet addr:10.0.3.19 Bcast:10.0.3.255 Mask:255.255.255.0<br> inet6 addr: fe80::f816:3eff:fe28:ab91/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:18 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:96 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:3054 (2.9 KiB) TX bytes:4780 (4.6 KiB)<br> Interrupt:11 Base address:0xa000 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:56 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:56 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:4928 (4.8 KiB) TX bytes:4928 (4.8 KiB)<br><br>### route -n<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>0.0.0.0 10.0.3.2 0.0.0.0 UG 0 0 0 eth0<br>10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0<br>### cat /etc/resolv.conf<br>search hsd1.il.comcast.net.<br>nameserver 192.168.1.1<br>### ping -c 5 10.0.3.2<br>PING 10.0.3.2 (10.0.3.2): 56 data bytes<br><br>--- 10.0.3.2 ping statistics ---<br>5 packets transmitted, 0 packets received, 100% packet loss<br><br>### pinging nameservers<br>#### ping -c 5 192.168.1.1<br>PING 192.168.1.1 (192.168.1.1): 56 data bytes<br><br>--- 192.168.1.1 ping statistics ---<br>5 packets transmitted, 0 packets received, 100% packet loss<br></font>and after sometime:<br><font face="Courier New,Courier,monospace" size="3">wget: can't connect to remote host (169.254.169.254): No route to host<br> instance-id: <br> public-ipv4: <br> local-ipv4 : <br>wget: can't connect to remote host (169.254.169.254): No route to host<br>cloud-userdata: failed to read instance id<br>WARN: /etc/rc3.d/S99-cloud-userdata failed</font><br><br>Although the dashboard shows an IP of 10.0.0.3 for this instance, yet within the logs ifconfig -a is showing 10.0.3.19. I am not sure how this instance is connected to my host (or how it should be connected to my host). Someone help please, I can not even login to the instance using VNC. (Any insights to the networking part would be really helpful)<br><br>This is my setup:<br>My host VM (which is hosting devstack) has two VNICs: eth0 is NAT (IP:10.0.3.15) and eth1 is host only (IP:192.168.124.2). All devstack's configuration has been done with respect to 10.0.3.15 (i.e all services are bound to this address)<br></div>
<span> </span> <span> </span> <span> </span> <span> </span> <span> </span> </div><font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></font>
</blockquote><br></div></font>
<br/>