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

Bug #1816847 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

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

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

Revision history for this message
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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.4.0

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.