default NeutronNetworkType is still set to vxlan,vlan but we don't support that with ovn by default

Bug #1816847 reported by Alex Schultz on 2019-02-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Brent Eagles

Bug Description

A very basic (unmodified deploy) of network isolation with:
openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/enable-swap.yaml -e /usr/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e /usr/openstack-tripleo-heat-templates/environments/network-environment.yaml

Fails with:
Error during stack creation: ERROR: InvalidSchemaError: : resources.ControllerServiceChain<https://192.168.24.2:13808/v1/AUTH_91855a7f2fdd43b1a477a0888421ebed/overcloud/common/services.yaml>.resources.ServiceChain<nested_stack>.resources.95<https://192.168.24.2:13808/v1/AUTH_91855a7f2fdd43b1a477a0888421ebed/overcloud/docker/services/neutron-plugin-ml2.yaml>.resources.NeutronBase<https://192.168.24.2:13808/v1/AUTH_91855a7f2fdd43b1a477a0888421ebed/overcloud/puppet/services/neutron-plugin-ml2-ovn.yaml>: : Parameter 'NeutronNetworkType' is invalid: Invalid default vxlan,vlan ("[u'vxlan', u'vlan']" is not an allowed value [geneve, vlan])

This is likely because the default NeutronNetworkType in network-environment.j2.yaml is 'vxlan,vlan' but we've switched to ovn by default which does not support vxlan.

Fix proposed to branch: master
Review: https://review.openstack.org/638253

Changed in tripleo:
assignee: nobody → Brent Eagles (beagles)
status: Triaged → In Progress
Bogdan Dobrelya (bogdando) wrote :

how come CI didn't catch that upon the switching?

Alex Schultz (alex-schultz) wrote :

Because we fixed all the scenario files in THT. This was a basic config with no customization (for which we have no coverage)

Reviewed: https://review.openstack.org/638253
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ce0b8929103aa4983e89ccc607c212062b0eee3a
Submitter: Zuul
Branch: master

commit ce0b8929103aa4983e89ccc607c212062b0eee3a
Author: Brent Eagles <email address hidden>
Date: Wed Feb 20 16:50:11 2019 -0330

    Change vxlan to geneve for network environment files

    The network environment files were still using vxlan as a network type
    which is not compatible with OVN deployments.

    Closes-Bug: #1816847
    Change-Id: Ie6b9e3863abc9d2e2f11440d3cc30a78aaeccad0

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates 10.4.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers