Found a fix for this:

    rm /etc/sysconfig/network-scripts/ifcfg-br-tun
    (restart neutron networking services and nova-compute)

Apparently that file shound't exist. The flapping may have been due to openvswitch and the underlying system fighting for control of the interface.

On 07/18/2014 10:39 AM, uberj wrote:
Hello,

I'm attempting to get rdo working on Centos6.5 with external networking. I am following the steps outlined on http://openstack.redhat.com/Neutron_with_existing_external_network

To install openstack, I'm running the following commands:

    sudo yum -y update
    sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
    sudo yum install -y openstack-packstack
    packstack --allinone --provision-all-in-one-ovs-bridge=n --os-client-install=y --os-heat-install=y

After it completes I do 'tail -f /var/log/neutron/*.log' and then 'service neutron-openvswitch-agent restart'. In the neutron log I see the following errors:

2014-07-18 16:06:03.255 28794 ERROR neutron.agent.linux.ovs_lib [req-2fc4abd3-483a-4476-b14d-78c09b04368c None] Unable to execute ['ovs-ofctl', 'del-flows', 'br-tun']. Exception:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'del-flows', 'br-tun']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: br-tun is not a bridge or a socket\n'
2014-07-18 16:06:03.325 28794 ERROR neutron.agent.linux.ovs_lib [req-2fc4abd3-483a-4476-b14d-78c09b04368c None] Unable to execute ['ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,in_port=1,actions=resubmit(,1)']. Exception:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,in_port=1,actions=resubmit(,1)']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: br-tun is not a bridge or a socket\n'
2014-07-18 16:06:03.380 28794 ERROR neutron.agent.linux.ovs_lib [req-2fc4abd3-483a-4476-b14d-78c09b04368c None] Unable to execute ['ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=0,actions=drop']. Exception:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=0,actions=drop']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: br-tun is not a bridge or a socket\n'

When I go to look for br-tun I do 'ovs-vsctl show' and I'll *sometimes* see:
...
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
...
Now, this is kind of weird, but if I do "watch -n 0.5 ovs-vsctl show" I don't always see br-tun! In fact the br-tun seems to jump around a lot (sometimes its there, sometimes its listed above br-ex, sometimes below.)

More info:
[root@localhost ~]# ovsdb-server --version
ovsdb-server (Open vSwitch) 1.11.0
Compiled Jul 30 2013 18:14:53
[root@localhost ~]# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 1.11.0
Compiled Jul 30 2013 18:14:54
OpenFlow versions 0x1:0x1

Any help would be appreciated.
-- 
(uberj) Jacques Uber
Mozilla IT

-- 
(uberj) Jacques Uber
Mozilla IT