Ask Your Question

OpenStack-Anisble and OVS

asked 2018-08-08 16:37:21 -0500

felix001 gravatar image

Ive completed an installation of OpenStack Ansible Queens with OVS. However when I create a server Im getting the following error,

# neutron logs
2018-08-08 22:31:34.791 24691 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-09ecf72e-237e-49c2-aa7b-275197e57a57 - - - - -] Bridge br-vlan for physical network vlan does not exist. Agent terminated!

From looking at OVS it this doesnt look right, i.e there is not br-vxlan etc.

root@osad-compute-01s1:~# ovs-vsctl show
    Manager "ptcp:6640:"
    Bridge br-int
        Controller "tcp:"
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.9.0"

The following settings were configure in the user_var file. Shown below:

# /etc/openstack_deploy/user_variables.yml openstack_host_specific_kernel_modules: - name: "openvswitch" pattern: "CONFIG_OPENVSWITCH" group: "network_hosts"

neutron_plugin_type: ml2.ovs
neutron_ml2_drivers_type: "vxlan,vlan,local"

    firewall_driver: openvswitch
    firewall_driver: openvswitch

  network_flat_networks: "*"
  network_types: "vxlan,vlan"
  network_vlan_ranges: "vlan:2:4090"
  network_mappings: "vlan:br-vlan,vxlan:br-vxlan"
  network_vxlan_ranges: "100001:999999"

neutron_vxlan_enabled: true

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-08-09 06:14:33 -0500

alp317 gravatar image

You are mapping the provider vlan to bridge br-vlan (network_mappings: "vlan:br-vlan,vxlan:br-vxlan"). That means there should be an OVS bridge called "br-vlan" on the compute and controller nodes, that's responsible for traffic into and out of the nodes for OpenStack networks using "vlan" provider.

Note: There is a difference in VLAN type network and network provider. You are using vlan as the network provider name also, which can lead to confusion.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-08-08 16:37:21 -0500

Seen: 156 times

Last updated: Aug 09 '18