<div dir="ltr"><pre style="white-space:pre-wrap;word-wrap:break-word">udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing</pre><pre style="white-space:pre-wrap;word-wrap:break-word"><br></pre><pre style="white-space:pre-wrap;word-wrap:break-word">So this says that you didn't get DHCP response for your DHCP request and hence your VM didn't get any ip address assigned.</pre>
<pre style="white-space:pre-wrap;word-wrap:break-word">I think as a next step of debugging, you need to check whether your DHCP request packet is reaching to the DHCP or not? Dump the packets at the networking node and check if you get any DHCP request packet. If you are using openvswitch plugin with VLAN then make sure that your switch ports are trunked and it allows traffic from all vlans.</pre>
<pre style="white-space:pre-wrap;word-wrap:break-word"><br></pre><pre style="white-space:pre-wrap;word-wrap:break-word">Thanks</pre><pre style="white-space:pre-wrap;word-wrap:break-word">Anil</pre></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, May 7, 2013 at 2:27 PM, zengshan2008 <span dir="ltr"><<a href="mailto:zengshan2008@gmail.com" target="_blank">zengshan2008@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>







<div style="LINE-HEIGHT:1.3;BORDER-RIGHT-WIDTH:0px;MARGIN:12px;BORDER-TOP-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-LEFT-WIDTH:0px" marginheight="0" marginwidth="0">
<div><font color="#000000" size="3" face="Times New Roman">I am 
using three nodes to do the installation, and I am using the openvswitch plugin 
with the vlan mode, do I need to do some configration in the physical 
switch?</font></div><div class="im">
<div> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2013-05-07</font></div>
<div align="left"><font face="Verdana">
<hr style="WIDTH:122px;min-height:2px" align="left" size="2">
</font></div>
<div align="left"><font color="#c0c0c0" face="Verdana"><span>zengshan2008</span></font></div>
<div><font face="Verdana">
<hr>
</font></div>
<div><font face="Verdana"><strong>发件人:</strong>Anil Vishnoi</font></div>
<div><font face="Verdana"><strong>发送时间:</strong><a href="tel:2013-05-07%C2%A016" value="+12013050716" target="_blank">2013-05-07 16</a>:16</font></div>
<div><font face="Verdana"><strong>主题:</strong>Re: [Openstack] Unable to 
ping VM using OpenStack and Quantum(openvswitch plugin)</font></div>
<div><font face="Verdana"><strong>收件人:</strong>"zengshan2008"<<a href="mailto:zengshan2008@gmail.com" target="_blank">zengshan2008@gmail.com</a>></font></div>
<div><font face="Verdana"><strong>抄送:</strong>"gong yong 
sheng"<<a href="mailto:gongysh@linux.vnet.ibm.com" target="_blank">gongysh@linux.vnet.ibm.com</a>>,"gongysh"<<a href="mailto:gongysh@cn.ibm.com" target="_blank">gongysh@cn.ibm.com</a>>,"openstack"<<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>></font></div>

<div><font face="Verdana"></font> </div>
</div><div><div class="h5"><div><font face="Verdana">
<div dir="ltr">one possible reason can be that your VM didn't get IP address from 
its DHCP server. Can you check your VM instance log (You can check it from 
dashboard) and see whether its sending the DHCP request for IP and getting any 
response from it</div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, May 7, 2013 at 12:24 PM, zengshan2008 <span dir="ltr"><<a href="mailto:zengshan2008@gmail.com" target="_blank">zengshan2008@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
  <div style="LINE-HEIGHT:1.3;BORDER-RIGHT-WIDTH:0px;MARGIN:12px;BORDER-TOP-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-LEFT-WIDTH:0px" marginheight="0" marginwidth="0"><u></u>
  <div><font color="#000000" size="3" face="Times New Roman">Hi,</font></div>
  <div style="TEXT-INDENT:2em"><font color="#000000" size="3" face="Times New Roman">I've installed openstack using quantum by the guide 
  </font></div>
  <div style="TEXT-INDENT:2em"><a href="https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst" target="_blank">https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst</a></div>

  <div style="TEXT-INDENT:2em"><font face="Times New Roman">everything works 
  fine, but I can't ping vm from the outside world, neither from the network 
  node.The following is some of my configration.</font></div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman"><strong>1) 
  </strong><a href="mailto:root@networknode:/etc" target="_blank"><strong>root@networknode:/etc</strong></a><strong># ip netns 
  <br></strong>qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189<br>qdhcp-e58739ff-16dc-4289-8110-242f7818d314</font></div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman"><strong>2) qrouter 
  and qdhcp server is up</strong></font></div>
  <div style="TEXT-INDENT:2em"><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ip netns exec 
  qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ifconfig<br><font size="+0">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:85 errors:0 dropped:0 overruns:0 
  frame:0<br>          TX 
  packets:85 errors:0 dropped:0 overruns:0 
  carrier:0<br>          
  collisions:0 txqueuelen:0 
  <br>          RX bytes:9224 (9.2 
  KB)  TX bytes:9224 (9.2 KB)</font></font></div>
  <div><font face="Times New Roman"></font> </div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman">qg-daf2c037-cc Link 
  encap:Ethernet  HWaddr fa:16:3e:ea:f6:c3  
  <br>          inet 
  addr:192.168.23.102  Bcast:192.168.23.255  
  Mask:255.255.255.0<br>          
  inet6 addr: 2401:de00::f816:3eff:feea:f6c3/64 
  Scope:Global<br>          inet6 
  addr: fe80::f816:3eff:feea:f6c3/64 
  Scope:Link<br>          inet6 
  addr: 2401:de00::6066:acc0:66e3:7434/64 
  Scope:Global<br>          UP 
  BROADCAST RUNNING MULTICAST  MTU:1500  
  Metric:1<br>          RX 
  packets:5392 errors:0 dropped:0 overruns:0 
  frame:0<br>          TX 
  packets:13 errors:0 dropped:0 overruns:0 
  carrier:0<br>          
  collisions:0 txqueuelen:0 
  <br>          RX bytes:406572 
  (406.5 KB)  TX bytes:846 (846.0 B)</font></div>
  <div><font face="Times New Roman"></font> </div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman">qr-d9cb6d6d-5e Link 
  encap:Ethernet  HWaddr fa:16:3e:6d:5a:3a  
  <br>          inet 
  addr:202.122.38.1  Bcast:202.122.38.255  
  Mask:255.255.255.0<br>          
  inet6 addr: fe80::f816:3eff:fe6d:5a3a/64 
  Scope:Link<br>          UP 
  BROADCAST RUNNING MULTICAST  MTU:1500  
  Metric:1<br>          RX 
  packets:24 errors:0 dropped:0 overruns:0 
  frame:0<br>          TX 
  packets:108 errors:0 dropped:0 overruns:0 
  carrier:0<br>          
  collisions:0 txqueuelen:0 
  <br>          RX bytes:2184 (2.1 
  KB)  TX bytes:5928 (5.9 KB)</font></div>
  <div style="TEXT-INDENT:2em"> </div>
  <div style="TEXT-INDENT:2em"><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ip netns exec 
  qdhcp-e58739ff-16dc-4289-8110-242f7818d314 ifconfig<br></font><font face="Times New Roman">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:10 errors:0 dropped:0 overruns:0 
  frame:0<br>          TX 
  packets:10 errors:0 dropped:0 overruns:0 
  carrier:0<br>          
  collisions:0 txqueuelen:0 
  <br>          RX bytes:840 (840.0 
  B)  TX bytes:840 (840.0 B)</font></div>
  <div><font face="Times New Roman"></font> </div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman">tape10a4f07-60 Link 
  encap:Ethernet  HWaddr fa:16:3e:db:8f:23  
  <br>          inet 
  addr:202.122.38.14  Bcast:202.122.38.255  
  Mask:255.255.255.0<br>          
  inet6 addr: fe80::f816:3eff:fedb:8f23/64 
  Scope:Link<br>          UP 
  BROADCAST RUNNING MULTICAST  MTU:1500  
  Metric:1<br>          RX 
  packets:106 errors:0 dropped:0 overruns:0 
  frame:0<br>          TX 
  packets:30 errors:0 dropped:0 overruns:0 
  carrier:0<br>          
  collisions:0 txqueuelen:0 
  <br>          RX bytes:5760 (5.7 
  KB)  TX bytes:2652 (2.6 KB)</font></div>
  <div style="TEXT-INDENT:2em"><font size="3" face="Times New Roman"><strong>3) 
  qrouter can ping the dhcp server from the network node</strong></font></div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman"><a href="mailto:root@networknode:/etc" target="_blank"><font size="+0">root@networknode:/etc</font></a><font size="+0"># ip netns exec 
  qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ping 202.122.38.14<br>PING 
  202.122.38.14 (202.122.38.14) 56(84) bytes of data.<br>64 bytes from <a href="http://202.122.38.14" target="_blank">202.122.38.14</a>: icmp_req=1 ttl=64 
  time=0.325 ms<br>64 bytes from <a href="http://202.122.38.14" target="_blank">202.122.38.14</a>: icmp_req=2 ttl=64 time=0.023 ms<br>64 bytes 
  from <a href="http://202.122.38.14" target="_blank">202.122.38.14</a>: 
  icmp_req=3 ttl=64 time=0.024 ms<br>^C<br>--- 202.122.38.14 ping statistics 
  ---<br>3 packets transmitted, 3 received, 0% packet loss, time 1998ms<br>rtt 
  min/avg/max/mdev = 0.023/0.124/0.325/0.142 ms</font></font></div>
  <div style="TEXT-INDENT:2em"><font size="3" face="Times New Roman"><strong>4) 
  virtual machine is up</strong></font></div>
  <div style="TEXT-INDENT:2em"><font face="Times New Roman">quantum 
  floatingip-list<br>+--------------------------------------+------------------+---------------------+--------------------------------------+<br>| 
  id                                   
  | fixed_ip_address | floating_ip_address | 
  port_id                              
  |<br>+--------------------------------------+------------------+---------------------+--------------------------------------+<br>| 
  88398dd1-7256-49c7-b1ad-719903125501 | 202.122.38.15    | 
  192.168.23.103      | 
  ce7c1eff-afcb-4908-b399-0e6e07d2791e 
  |<br>+--------------------------------------+------------------+---------------------+--------------------------------------+</font></div>
  <div><font face="Times New Roman"><strong>       
  5) virtual machine eth0 is up</strong></font></div>
  <div>
  <div><font color="#000000" size="3" face="宋体"><img></font></div>
  <div><font color="#000000" size="3" face="Times New Roman"><strong>         
  6)ssh or ping to vm is failed</strong></font></div>
  <div>
  <div><font color="#000000"><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ip netns exec 
  qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ping 202.122.38.15<br>PING 
  202.122.38.15 (202.122.38.15) 56(84) bytes of data.<br>From 202.122.38.1 
  icmp_seq=1 Destination Host Unreachable<br>From 202.122.38.1 icmp_seq=2 
  Destination Host Unreachable<br>From 202.122.38.1 icmp_seq=3 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=4 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=5 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=6 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=7 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=8 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=9 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=10 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=11 Destination Host 
  Unreachable<br>From 202.122.38.1 icmp_seq=12 Destination Host 
  Unreachable<br>^C<br>--- 202.122.38.15 ping statistics ---<br>14 packets 
  transmitted, 0 received, +12 errors, 100% packet loss, time 12999ms<br>pipe 
  4<br></font><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ^C<br></font><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ^C<br>
</font><a href="mailto:root@networknode:/etc" target="_blank"><font face="Times New Roman">root@networknode:/etc</font></a><font face="Times New Roman"># ip netns exec 
  qrouter-8f5f3c17-a00e-4382-a403-181dfbb9d189 ssh </font><a href="mailto:root@202.122.38.15" target="_blank"><font face="Times New Roman">root@202.122.38.15</font></a><br><font face="Times New Roman">ssh: connect to host 202.122.38.15 port 22: No route to 
  host</font></font></div>
  <div> </div></div></div>
  <div align="left"><font color="#c0c0c0" face="Verdana">2013-05-07</font></div><font face="Verdana">
  <hr style="MIN-HEIGHT:2px;WIDTH:122px" align="left" size="2">
  <span><font color="#888888"></font></span></font><span><font color="#888888">
  <div><font color="#c0c0c0" face="Verdana"><span>zengshan2008</span></font></div><u></u></font></span></div><br>_______________________________________________<br>Mailing 
  list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : 
  <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>Unsubscribe 
  : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all">
<div><br></div>-- <br>
<div dir="ltr">Thanks
<div>Anil</div></div></div></font></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Thanks<div>Anil</div></div>
</div>