<div dir="ltr">On Wed, Aug 14, 2013 at 3:56 PM, Lorin Hochstein <span dir="ltr"><<a href="mailto:lorin@nimbisservices.com" target="_blank">lorin@nimbisservices.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Jon:<div><br></div><div>This is just a stab in a dark, but perhaps it's a vlan tag issue that's causing the openvswitch to not forward the packet? What's the vlan tag on those packets that are arriving at band0 on the network node?</div>
<div><br></div><div>Also, the bond0.2113 looked a little strange to me on this line: <br><div><br></div><div><div>physical_interface_mappings=trunk:bond0,default:bond0.2113</div></div><div><br></div><div>Is there a manually created bond0.2113 vlan device on the network node? I thought openvswitch manages all of the VLANs with neutron, so there's no need to manually create vlan interfaces like this. </div>
<br></div></div></blockquote><div><br></div><div>That is a little odd, it's left over from a previous stab at doing this as a flat network rather than tagged. I certainly don't need it in the config, but the bond0.2113 device does exist and is in use, so that may be a conflict. I'm trying to reuse the vlan I had for floating IPs folsom using FlatDHCP which is also where the node have their public IPs the controllers is on bond0.2113 (the compute nodes have eht0 untagged on this vlan and eth1 with , so it may be worth trying this experiment with another vlan or moving the IP on this vlan to the 1G eth0 interface.<br>
<br></div><div>It may also be a namespace issue, I haven't used netns before but ovs-vswitchd.log is showing lots of errors for the interface the dhcp-agent for this subnet is on, which makes me suspect a namespace issue:<br>
<br><pre class=""><code><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00069</span><span class="">|</span><span class="">bridge</span><span class="">|</span><span class="">INFO</span><span class="">|</span><span class="">created port tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> on bridge br</span><span class="">-</span><span class="">int</span><span class="">
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00105</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">/sys/</span><span class="">class</span><span class="">/</span><span class="">net</span><span class="">/</span><span class="">tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">/</span><span class="">carrier</span><span class="">:</span><span class=""> open failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such file </span><span class="">or</span><span class=""> directory
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00106</span><span class="">|</span><span class="">netdev</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">failed to </span><span class="">get</span><span class=""> flags </span><span class="">for</span><span class=""> network device tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00107</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">ethtool command ETHTOOL_GSET on network device tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00108</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">INFO</span><span class="">|</span><span class="">ioctl</span><span class="">(</span><span class="">SIOCGIFHWADDR</span><span class="">)</span><span class=""> on tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> device failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00109</span><span class="">|</span><span class="">netdev</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">failed to </span><span class="">get</span><span class=""> flags </span><span class="">for</span><span class=""> network device tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00110</span><span class="">|</span><span class="">netdev</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">failed to retrieve MTU </span><span class="">for</span><span class=""> network device tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00127</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">ioctl</span><span class="">(</span><span class="">SIOCGIFINDEX</span><span class="">)</span><span class=""> on tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> device failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00128</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">:</span><span class=""> linux</span><span class="">-</span><span class="">sys </span><span class="">get</span><span class=""> stats failed </span><span class="">19</span><span class="">
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">47</span><span class="">|</span><span class="">00136</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">INFO</span><span class="">|</span><span class="">ioctl</span><span class="">(</span><span class="">SIOCGIFHWADDR</span><span class="">)</span><span class=""> on tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> device failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">48</span><span class="">|</span><span class="">00148</span><span class="">|</span><span class="">netdev_linux</span><span class="">|</span><span class="">INFO</span><span class="">|</span><span class="">ioctl</span><span class="">(</span><span class="">SIOCGIFHWADDR</span><span class="">)</span><span class=""> on tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class=""> device failed</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device
</span><span class="">Aug</span><span class=""> </span><span class="">14</span><span class=""> </span><span class="">16</span><span class="">:</span><span class="">45</span><span class="">:</span><span class="">59</span><span class="">|</span><span class="">00155</span><span class="">|</span><span class="">netdev</span><span class="">|</span><span class="">WARN</span><span class="">|</span><span class="">failed to </span><span class="">get</span><span class=""> flags </span><span class="">for</span><span class=""> network device tap9bc9680d</span><span class="">-</span><span class="">2a</span><span class="">:</span><span class=""> </span><span class="">No</span><span class=""> such device</span></code></pre>
<br></div><div>BTW I also posted this issue at <a href="https://ask.openstack.org/en/question/4119/how-to-configure-direct-public-network-access-with-external-router-and-internal-dhcp-agent/">https://ask.openstack.org/en/question/4119/how-to-configure-direct-public-network-access-with-external-router-and-internal-dhcp-agent/</a> which has a bit more detailed config info<br>
<br></div><div>Thanks,<br></div><div>-Jon<br><br></div></div></div></div>