[Openstack-operators] [Neutron] where are my dhcp packets getting lost?

Jonathan Proulx jon at jonproulx.com
Wed Aug 14 21:26:37 UTC 2013


On Wed, Aug 14, 2013 at 3:56 PM, Lorin Hochstein
<lorin at nimbisservices.com>wrote:

> Jon:
>
> 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?
>
> Also, the bond0.2113 looked a little strange to me on this line:
>
> physical_interface_mappings=trunk:bond0,default:bond0.2113
>
> 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.
>
>
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.

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:

Aug 14 16:45:47|00069|bridge|INFO|created port tap9bc9680d-2a on
bridge br-intAug 14
16:45:47|00105|netdev_linux|WARN|/sys/class/net/tap9bc9680d-2a/carrier:
open failed: No such file or directoryAug 14
16:45:47|00106|netdev|WARN|failed to get flags for network device
tap9bc9680d-2a: No such deviceAug 14
16:45:47|00107|netdev_linux|WARN|ethtool command ETHTOOL_GSET on
network device tap9bc9680d-2a failed: No such deviceAug 14
16:45:47|00108|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on
tap9bc9680d-2a device failed: No such deviceAug 14
16:45:47|00109|netdev|WARN|failed to get flags for network device
tap9bc9680d-2a: No such deviceAug 14 16:45:47|00110|netdev|WARN|failed
to retrieve MTU for network device tap9bc9680d-2a: No such deviceAug
14 16:45:47|00127|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on
tap9bc9680d-2a device failed: No such deviceAug 14
16:45:47|00128|netdev_linux|WARN|tap9bc9680d-2a: linux-sys get stats
failed 19Aug 14 16:45:47|00136|netdev_linux|INFO|ioctl(SIOCGIFHWADDR)
on tap9bc9680d-2a device failed: No such deviceAug 14
16:45:48|00148|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on
tap9bc9680d-2a device failed: No such deviceAug 14
16:45:59|00155|netdev|WARN|failed to get flags for network device
tap9bc9680d-2a: No such device


BTW I also posted this issue at
https://ask.openstack.org/en/question/4119/how-to-configure-direct-public-network-access-with-external-router-and-internal-dhcp-agent/which
has a bit more detailed config info

Thanks,
-Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130814/f00bd756/attachment.html>


More information about the OpenStack-operators mailing list