default network config deployment fails with Unknown Property StorageNetworkVlanID

Bug #1823997 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
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<http://192.168.24.1:8080/v1/AUTH_f0297cac4cff4a73ac2d6118652b6f85/overcloud/puppet/compute-role.yaml>.resources.NetworkConfig.properties: : Unknown Property StorageNetworkVlanID
None

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

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

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 https://review.openstack.org/#/c/645159/

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/651381

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.openstack.org/651381
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=56a51647c34bd38788415c9923a25893c60b7b81
Submitter: Zuul
Branch: master

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

    Add {{network.name}}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: https://review.openstack.org/645159 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.