Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack-Anisble and OVS

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?