Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1636695

Summary: Fix list concatenation of routes in bond-with-vlan network config tempalte
Product: Red Hat OpenStack Reporter: Harald Jensås <hjensas>
Component: openstack-tripleo-heat-templatesAssignee: Harald Jensås <hjensas>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: bfournie, mburns, sasha
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:53:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Jensås 2018-10-06 21:05:08 UTC
Description of problem:
bond-with-vlans - concatenate routes is nested in a list - invalid configuration

Because the list of routes is nested inside a list we get the following which is invalid for os-net-config schema.

{'routes': [[{'destination': '172.20.2.0/24', 'nexthop': '172.20.2.62'}]]}

Comment 4 Alexander Chuzhoy 2018-10-27 00:05:48 UTC
Verified:
Environment: openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost.noarch


Started a deployment of OC with:

    OS::TripleO::Controller::Net::SoftwareConfig: /usr/share/openstack-tripleo-heat-templates/network/config/bond-with-vlans/controller.yaml

The deployment proceeded and didn't fail on validation.

Comment 6 errata-xmlrpc 2019-01-11 11:53:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045