Revision history [back]

Add as update 1 to question

/etc/neutron/plugins/ml2/ml2_conf.ini
/etc/neutron/plugins/ml2/openvswitch_agent.ini (it's analog for Kilo , I forgot name , but like ovs-.....ini)

Say your external network is 10.10.10.252/26.
Under /etc/sysconfig/network-scropts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

Add as update 1 to question

/etc/neutron/plugins/ml2/ml2_conf.ini
/etc/neutron/plugins/ml2/openvswitch_agent.ini (it's analog for Kilo , I forgot name , but like ovs-.....ini)
/etc/neutron/plugins/ml2/ovs_neutron_plugin.ini

Say your external network is 10.10.10.252/26.
Under /etc/sysconfig/network-scropts /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

Add as update 1 to question

    /etc/neutro/l3_agent.ini
    /etc/neutron/plugins/ml2/ml2_conf.ini
 /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini

Say your external network is 10.10.10.252/26.<br>

Say your external network is 10.10.10.252/26.
Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

Add as update 1 to question

 # cat  /etc/neutron/l3_agent.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutro/l3_agent.ini
/etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^# |grep -v ^$
 # cat    /etc/neutron/plugins/ml2/ml2_conf.ini
    /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini
/etc/neutron/plugins/ml2/ovs_neutron_plugin.ini | grep -v ^# |grep -v ^$

Say your external network is 10.10.10.252/26.<br>

Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

UPDATE 04/12/21016
Please, run

neutron agent-list
You are missing Neutron OVS agent configuration file

END UPDATE

Add as update 1 to question

 # cat  /etc/neutron/l3_agent.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini | grep -v ^# |grep -v ^$

Say your external network is 10.10.10.252/26.<br>

Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

UPDATE 04/12/21016
Please, run

 neutron agent-list
    ovs-vsctl show
    You are missing Neutron OVS agent configuration file

END UPDATE

Add as update 1 to question

 # cat  /etc/neutron/l3_agent.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini | grep -v ^# |grep -v ^$

Say your external network is 10.10.10.252/26.<br>

Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

UPDATE 04/12/2101604/12/21016 13:06 MSK
Please, run

    neutron agent-list
    ovs-vsctl show
    You are Your `ovs-vsctl show` is missing Neutron OVS agent configuration file
qg-xxxxx interface , outgoing interface of qrouter namespace.
It might be a core issue.
Run :-
ip netns
Select qrouter-<router-id> namespace
# ip netns exec qrouter-<router-id> ifconfig
Please post  otput of last command

END UPDATE

Add as update 1 to question

 # cat  /etc/neutron/l3_agent.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini | grep -v ^# |grep -v ^$

Say your external network is 10.10.10.252/26.<br>

Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node

UPDATE 04/12/21016 13:06 MSK
Please, run

Your `ovs-vsctl show` is missing qg-xxxxx interface , outgoing interface of qrouter namespace.
It might be a core issue.
Run :-
ip netns
Select qrouter-<router-id> namespace
# ip netns exec qrouter-<router-id> ifconfig
Please post  otput of last command

See https://www.rdoproject.org/networking/networking-in-too-much-detail/#network-host-router-mn
END UPDATE

Add as update 1 to question

 # cat  /etc/neutron/l3_agent.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^# |grep -v ^$
 # cat  /etc/neutron/plugins/ml2/ovs_neutron_plugin.ini | grep -v ^# |grep -v ^$

Say your external network is 10.10.10.252/26.<br>

Under /etc/sysconfig/network-scripts create

#cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="10.10.10.197" <==  any IP  belongs to external net ( just different from gateway )
NETMASK="255.255.255.192"
DNS1="8.8.8.8"
BROADCAST="10.10.10.255"
GATEWAY="10.10.10.194"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

Next

# cat ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then run script

   #!/bin/bash -x
    chkconfig network on
    systemctl stop NetworkManager
    systemctl disable NetworkManager
    service network restart

Reboot node