<div dir="ltr"><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
Resending the mail, as wrong dashboard logs were posted in the prev question... </p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
We are unable to get an IP address when a VM gets launched and the below DHCP error is observed in the Dashboard logs</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
The setup in done on Fedora 18 using Openstack Grizzly. Its a 2 node setup, with Network+ Controller node having 3 NIC's, and Compute node having 2 NIC's. Tried configuring networking in vlan mode.</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
em1 - mgmt network,<br>em2 - external/public network (br-ex is created on top of this iface)<br>eth1 - internal/data network (br-eth1 is created on top of this iface)<br>****************** *****************************<br>
plugin.ini<br>-------------<br>enable_tunneling = False<br>tenant_network_type = vlan<br>network_vlan_ranges = eth1:100:1000<br>integration_bridge = br-int<br>bridge_mappings = eth1:br-eth1,em2:br-ex<br>****************** *****************************</p>
<div class="" id="yui_3_10_2_1_1373465045776_297" style="margin:0px;padding:0.5em 12px 0px;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Starting logging: OK<br>Initializing random number generator... done.<br>Starting acpid: OK<br>cirrosds 'local' up at 1.48<br>no results found for mode=local. up 1.53. searched: nocloud configdrive ec2<br>
Starting network...<br>udhcpc (v1.20.1) started<br>Sending discover...<br>Sending discover...<br>Sending discover...<br>No lease, failing<br>WARN: /etc/rc3.d/S40network failed<br>cirrosds 'net' up at 181.79<br>checking <a rel="nofollow" href="http://169.254.169.254/20090404/instanceid" style="color:rgb(0,51,170);text-decoration:none">http://169.254.169.254/20090404/instanceid</a><br>
failed 1/20: up 181.83. request failed<br>failed 2/20: up 184.04. request failed<br>....<br>failed to read iid from metadata. tried 20<br>no results found for mode=net. up 222.36. searched: nocloud configdrive ec2<br>failed to get instanceid of datasource<br>
Starting dropbear sshd: generating rsa key... generating dsa key... OK<br>=== network info ===<br>ifinfo: lo,up,127.0.0.1,8,::1<br>ifinfo: eth0,up,,8,fe80::f816:3eff:fede:dbc8<br>=== datasource: None None ===<br>=== cirros: current=0.3.1 uptime=222.60 ===<br>
route: fscanf<br>=== pinging gateway failed, debugging connection ===</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">### route n<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>
route: fscanf<br>### cat /etc/resolv.conf<br>cat: can't open '/etc/resolv.conf': No such file or directory<br>### gateway not found<br>/sbin/cirrosstatus: line 1: can't open /etc/resolv.conf: no such file<br>
### pinging nameservers<br>### uname a<br>Linux cirros 3.2.037virtual #58Ubuntu SMP Thu Jan 24 15:48:03 UTC 2013 x86_64 GNU/Linux</p><div><br></div></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<span style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">Could anyone help us in resolving this issue, we have tried following different links and options available on internet, but couldnot resolve this error. Let us know if further information is required to identify the root cause.</span><br>
</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px"><br>
</span></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
Some more info, and if someone could possibly identify the root cause then it would be of great help to me.</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
from the tcpdump output , I could track the DHCP discover packet at the tapXXX , qbrXXX , qvbXXX, qvoXX, int-br-eth0, phy-br-eth0 interface, but not after that</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
As per my understanding the flow of packets should be from tapXX -> qbrXX -> qvbXX -> qvoXX --> br-int -> int-br-eth0 -> phy-br-eth0 -> br-eth0 -> eth0</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
So in this case is there a missing security group rules, which possibly drop the packet.<br>I am not familiar with the iptables rules, so if I need to add any rules could you please help me in adding the rule.</p></div><div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<div id=":1ie" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/images/cleardot.gif" style=""></div></div><span class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font color="#888888">-- <br>
Regards<br>Gopi Krishna</font></span><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 10, 2013 at 10:21 AM, Gopi Krishna B <span dir="ltr"><<a href="mailto:gopi97468@gmail.com" target="_blank">gopi97468@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 dir="ltr"><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

We are unable to get an IP address when a VM gets launched and the below DHCP error is observed in the Dashboard logs</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

The setup in done on Fedora 18 using Openstack Grizzly. Its a 2 node setup, with Network+ Controller node having 3 NIC's, and Compute node having 2 NIC's. Tried configuring networking in vlan mode.</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

em1 - mgmt network,<br>em2 - external/public network (br-ex is created on top of this iface)<br>eth1 - internal/data network (br-eth1 is created on top of this iface)<br>****************** *****************************<br>

plugin.ini<br>-------------<br>enable_tunneling = False<br>tenant_network_type = vlan<br>network_vlan_ranges = eth1:100:1000<br>integration_bridge = br-int<br>bridge_mappings = eth1:br-eth1,em2:br-ex<br>****************** *****************************</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">The console log from the dashboards is as below.</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Initializing random number generator... done.</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Starting network...</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">udhcpc (v1.18.5) started</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Sending discover...</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Sending select for 192.168.120.2...</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Sending select for 192.168.120.2...</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">Sending select for 192.168.120.2...</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">No lease, failing</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">WARN: /etc/rc3.d/S40network failed</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">cirrosds 'net' up at 182.11</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">checking <a href="http://169.254.169.254/20090404/instanceid" target="_blank">http://169.254.169.254/20090404/instanceid</a></span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">failed 1/20: up 182.13. request failed</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">failed 2/20: up 184.34. request failed</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px">failed 3/20: up 186.36. request failed</span></font></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px;line-height:18px"><br></span></font></p>

<div><span style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">Could anyone help us in resolving this issue, we have tried following different links and options available on internet, but couldnot resolve this error. Let us know if further information is required to identify the root cause.</span><br>

</div><div><span style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px"><br></span></div><div><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

Some more info, and if someone could possibly identify the root cause then it would be of great help to me.</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

from the tcpdump output , I could track the DHCP discover packet at the tapXXX , qbrXXX , qvbXXX, qvoXX, int-br-eth0, phy-br-eth0 interface, but not after that</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

As per my understanding the flow of packets should be from tapXX -> qbrXX -> qvbXX -> qvoXX --> br-int -> int-br-eth0 -> phy-br-eth0 -> br-eth0 -> eth0</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">

So in this case is there a missing security group rules, which possibly drop the packet.<br>I am not familiar with the iptables rules, so if I need to add any rules could you please help me in adding the rule.</p></div><span class="HOEnZb"><font color="#888888">-- <br>

Regards<br>Gopi Krishna<br><br><br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Gopi Krishna<br>Mobile: +919849790912<br><br><br>
</div>