Ask Your Question
0

OpenStack-Anisble and OVS

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

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
8ed9f438-fc5e-4b4b-bd4f-a4cc63d16cab
    Manager "ptcp:6640:127.0.0.1"
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
        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"

neutron_ml2_conf_ini_overrides:
  securitygroup:
    firewall_driver: openvswitch
neutron_openvswitch_agent_ini_overrides:
  securitygroup:
    firewall_driver: openvswitch

neutron_provider_networks:
  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
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 55 times

Last updated: Aug 09