default network config deployment fails with Unknown Property StorageNetworkVlanID

Bug #1823997 reported by Alex Schultz
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Harald Jensås

Bug Description

Trying to deploy the default network config (all on ctlplane) is failing with:

Error during stack creation: ERROR: Property error: : resources.Compute<nested_stack>.resources.0<> : Unknown Property StorageNetworkVlanID

Deployment command:
openstack tripleo container image prepare defaults --output-env-file containers-prepare-parameters.yaml

cat > ~/params.yaml <<EOF
  OS::TripleO::Services::Docker: OS::Heat::None
  OS::TripleO::Services::Snmp: OS::Heat::None
  SELinuxMode: permissive
  PythonInterpreter: /usr/bin/python3
  NovaComputeLibvirtType: qemu
  ControllerCount: 1
  ComputeCount: 1
    glance_backend: 'file'

export THT=/usr/share/openstack-tripleo-heat-templates
openstack overcloud deploy --templates $THT/ \
  --timeout 100 \
  -e $THT/environments/enable-swap.yaml \
  -e $THT/environments/disable-telemetry.yaml \
  -e $THT/environments/docker-ha.yaml \
  -e $THT/environments/podman.yaml \
  -e $THT/environments/services/neutron-ovn-ha.yaml \
  -e containers-prepare-parameters.yaml -e params.yaml

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Might have been introduced via

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

Fix proposed to branch: master

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)

Submitter: Zuul
Branch: master

commit 56a51647c34bd38788415c9923a25893c60b7b81
Author: Harald Jensås <email address hidden>
Date: Tue Apr 9 23:00:37 2019 +0200

    Add {{}}NetworkVlanID to THT/net-config-*

    With the default network_data.yaml and default roles_data.yaml
    all composable networks are included. When deploying plain
    defaults without any network-isolation, i.e ctlplane network
    only the jinja2 rendered templates still include all the nets.

    With change: the vlan
    parameter is passed to NIC configs for all networks enabled
    for the role in roles data if networks data define a vlan id.

    Because of this we need to add the parameter to the nic config
    template unless networks data and roles data are customized.
    (i.e networks that are'nt actually used are removed from the
    roles data and networks data.)

    Closes-Bug: #1823997
    Change-Id: Ic5fe9c8097de814ce3ad7032f42b31859051f70a

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.5.0

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