[Openstack] neutron-openvswitch-agent is resetting my MAC address

Lars Kellogg-Stedman lars at redhat.com
Wed May 21 18:01:13 UTC 2014


I'm running into some odd issues trying to set up an all-in-one
icehouse/neutron system.  I'm trying to add my single ethernet
interface, "eth0", to the OVS bridge "br-ex" while preserving the MAC
address visible on the network.

My target system is itself an OpenStack instance, which means that
once br-ex is configured it really need to have the MAC address that
was previously exposed by eth0, because otherwise traffic will be
blocked by the MAC filtering rules attached to the instance's tap
device:

    -A neutron-openvswi-s55439d7d-a -s 10.0.0.8/32 -m mac
      --mac-source FA:16:3E:EF:91:EC -j RETURN
    -A neutron-openvswi-s55439d7d-a -j DROP

I have set MACADDR in br-ex, which works just fine until I restart
neutron-openvswitch-agent (or, you know, reboot the instance), at
which point the MAC address on br-ex changes any everything stops
working.

I've been poking through the code for a bit and I can't find either
the source or an explanation for this behavior. It would be great if a
wiser set of eyes could shed some light on this.

-- 
Lars Kellogg-Stedman <lars at redhat.com> | larsks @ irc
Cloud Engineering / OpenStack          | "   "  @ twitter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140521/e2e20173/attachment.sig>


More information about the Openstack mailing list