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 class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 4:13 PM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmedalmehdi@gmail.com" target="_blank">ahmedalmehdi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" 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 class="HOEnZb"><div class="h5"><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 3:44 PM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.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="word-wrap:break-word">Hi Ahmed, <div>on your controller, run $nova list</div><div>does the instance has an IP affected there ?</div>
<div>Also check cirros log, try to restart the DHCP service to see if it retrieves the IP.</div><div>are you using libvirt ?</div><div>regards,</div><div><div>
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">
<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div></span><br><span></span><span style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"></span><span style="font-weight:normal"></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span><span><img height="125" width="125" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></span></span></div>
<br><div><div>Le 28 nov. 2012 à 21:54, Ahmed Al-Mehdi <<a href="mailto:ahmedalmehdi@gmail.com" target="_blank">ahmedalmehdi@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div><div>Hello,<div>
<br></div><div>I setup an two node OpenStack setup, running Quantum and Cinder components.</div><div><br></div><div>After I launched the VM (based on cirros image), I logged into it through the Console. When I do an "ifconfig", I see that eth0 is up, it's status is "UP BROADCAST RUNNING ...". However, I don't see an IP address assigned to it. Is that normal, did I make a mistake while creating/launching the VM.</div>
<div><br></div><div>Thank you,</div><div>Ahmed.</div><div><br></div></div></div>
_______________________________________________<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>
</blockquote></div><br></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>