The Parameter (ExternalMtu) was not provided

Bug #1847360 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Harald Jensås

Bug Description

-e /home/centos/tripleo-heat-templates/environments/net-multiple-nics.yaml

[overcloud.Compute.0.NetworkConfig]: CREATE_FAILED resources.NetworkConfig: Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.
[overcloud.Compute.0]: CREATE_FAILED Resource CREATE failed: resources.NetworkConfig: Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.
[overcloud.Compute.0]: CREATE_FAILED resources.NetworkConfig: resources[0].Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.
[overcloud.Compute]: UPDATE_FAILED Resource CREATE failed: resources.NetworkConfig: resources[0].Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.
[overcloud.Compute]: CREATE_FAILED resources.Compute: Resource CREATE failed: resources.NetworkConfig: resources[0].Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.
[overcloud]: CREATE_FAILED Resource CREATE failed: resources.Compute: Resource CREATE failed: resources.NetworkConfig: resources[0].Property error: resources.OsNetConfigImpl.properties.config: The Parameter (ExternalMtu) was not provided.

This happens because of the way external bridge required by OVN and DVR is implemented in: https://opendev.org/openstack/tripleo-heat-templates/commit/ff7cce93ebcdf4fd868329be94d618f9e755049f

{#- We need bridge also for ComputeDVR and Computes with OVN #}
{%- elif network.name in role.networks or 'external_bridge' in role.tags %}
              - type: ovs_bridge
{%- if network.name == "External" %}
                name: bridge_name
{%- else %}
                name: br-{{network.name_lower}}
{%- endif %}
                mtu:
                  get_param: {{network.name}}Mtu
                dns_servers:
                  get_param: DnsServers
                use_dhcp: false

This does not work very well:
1. the {{network.name}}Mtu parameter for the External network is not created.
   Since it is filtered as not used by the role here: https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/network/config/multiple-nics/role.role.j2.yaml#L45
2. The value for {{network.name}}Mtu should be passed from the property of
   the neutron ports network here: https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/puppet/role.role.j2.yaml#L453

description: updated
description: updated
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.opendev.org/687437

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit cf06b61d670b301c57fce70e19aa17ac7561b037
Author: Harald Jensås <email address hidden>
Date: Wed Oct 9 01:03:03 2019 +0200

    Fix multiple-nics network config ExternalMtu

    The external network is used for the external bridge
    in OVN and DVR usecase. Controlled by external_bridge
    tag in the role.

    For this to work we also need to include the ExternalMtu
    parameter when external_bridge tag is present.

    Closes-Bug: #1847360
    Change-Id: I93d5bfb540d298765ebc35d7596b214271f07dca

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 11.3.0

This issue was fixed in the openstack/tripleo-heat-templates 11.3.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.