Nice you figured out. Check the switch vlan tagging configuration. You need to use the trunk mode in your switch. <div>Regards, </div><div>Razique<span></span><br><div>Le vendredi 30 novembre 2012, Ahmed Al-Mehdi  a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I resolved this issue.  The problem was the switch was dropping the DHCP request packet sent by the VM.  I verified using "tcpdump" that the packet was going out the physical ethernet port of the compute node.  However, the packet did not show up at the ethernet port of the controller node.  I verified the two ports are on the same (physical switch) VLAN. I then setup direct connect, bypassing the switch, and the VM was able to get a response to the DHCP request, etc.  Time permitting I will investigate why the switch was dropping the packet.<div>

<br></div><div>Thanks to all who responded.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br><br><div>On Wed, Nov 28, 2012 at 4:13 PM, Ahmed Al-Mehdi <span dir="ltr"><<a>ahmedalmehdi@gmail.com</a>></span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Razique,<div><br></div><div>Thank you helping out.  Yes, I see an IP addr assigned to the instance.  And yes, I am using libvirt.</div>

<div><br></div><div><div>root@novato:~/ahmed# nova list</div><div>+--------------------------------------+-------+--------+-------------------------+</div>
<div>| ID                                   | Name  | Status | Networks                |</div><div>+--------------------------------------+-------+--------+-------------------------+</div><div>| 26188c69-e67d-41b8-a066-6103b191fbea | myvm1 | ACTIVE | net_proj_one=10.10.10.3 |</div>


<div>+--------------------------------------+-------+--------+-------------------------+</div><div>root@novato:~/ahmed# </div></div><div><br></div><div>I do not have the external network setup.  Is that necessary to get an IP address from the private network to which eth0 of the VM network is attached.</div>


<div><br></div><div><br></div><div>From cirros log, it seem dhcp is enabled and started, but fails to get an IP addr:</div><div><br></div><div><div>Starting network...</div><div>udhcpc (v1.18.5) started</div><div>Sending discover...</div>


<div>Sending discover...</div><div>Sending discover...</div><div>No lease, failing</div><div>WARN: /etc/rc3.d/S40-network failed</div><div>cloud-setup: checking <a href="http://169.254.169.254/2009-04-04/meta-data/instance-id" target="_blank">http://169.254.169.254/2009-04-04/meta-data/instance-id</a></div>


<div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div><div>cloud-setup: failed 1/30: up 10.00. request failed</div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div>


<div>cloud-setup: failed 2/30: up 11.02. request failed</div></div><div>...........</div><div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div><div>cloud-setup: failed 30/30: up 39.15. request failed</div>


<div>cloud-setup: after 30 fails, debugging</div><div>cloud-setup: running debug (30 tries reached)</div><div>############ debug start ##############</div><div>### /etc/rc.d/init.d/sshd start</div><div>/etc/rc3.d/S45-cloud-setup: line 66: /etc/rc.d/init.d/sshd: not found</div>


<div>route: fscanf</div><div>### ifconfig -a</div><div>eth0      Link encap:Ethernet  HWaddr FA:16:3E:D9:8E:97  </div><div>          inet6 addr: fe80::f816:3eff:fed9:8e97/64 Scope:Link</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div>


<div>          RX packets:17 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000 </div><div>          RX bytes:2062 (2.0 KiB)  TX bytes:1134 (1.1 KiB)</div>


<div><br></div><div>lo        Link encap:Local Loopback  </div><div>          inet addr:127.0.0.1  Mask:255.0.0.0</div><div>          inet6 addr: ::1/128 Scope:Host</div><div>          UP LOOPBACK RUNNING  MTU:16436  Metric:1</div>


<div>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0 </div><div>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</div>


<div><br></div><div>### route -n</div><div>Kernel IP routing table</div><div>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface</div><div>route: fscanf</div><div>### cat /etc/resolv.conf</div><div>


cat: can't open '/etc/resolv.conf': No such file or directory</div><div>### gateway not found</div><div>/etc/rc3.d/S45-cloud-setup: line 66: can't open /etc/resolv.conf: no such file</div><div>### pinging nameservers</div>


<div>### uname -a</div><div>Linux cirros 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 x86_64 GNU/Linux</div><div>### lsmod</div><div>Module                  Size  Used by    Not tainted</div><div>vfat                   17585  0 </div>


<div>fat                    61475  1 vfat</div><div>isofs                  40253  0 </div><div>ip_tables              27473  0 </div><div>x_tables               29846  1 ip_tables</div><div>pcnet32                42078  0 </div>


<div>8139cp                 27412  0 </div><div>ne2k_pci               13691  0 </div><div>8390                   18856  1 ne2k_pci</div><div>e1000                 108573  0 </div><div>acpiphp                24080  0 </div>


</div><div>.....</div><div><div><div><br></div><div><br><br><div>On Wed, Nov 28, 2012 at 3:44 PM, Razique Mahroua <span dir="ltr"><<a>razique.mahroua@gmail.</a></span></div></div></div></div></blockquote></div></div></blockquote>
</div></div><br><br>-- <br><span><b style="color:rgb(19,112,138)">Nuage & Co - Razique Mahroua</b></span><div><span><span style="border-collapse:separate"><span style="border-collapse:separate"><font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" style="color:rgb(17,85,204)" target="_blank">razique.mahroua@gmail.com</a></font></span><br>
</span><img height="125" width="125" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span></div><br>