Bug 1636695 - Fix list concatenation of routes in bond-with-vlan network config tempalte
Summary: Fix list concatenation of routes in bond-with-vlan network config tempalte
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Harald Jensås
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-06 21:05 UTC by Harald Jensås
Modified: 2019-01-11 11:53 UTC (History)
3 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:53:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1793838 0 None None None 2018-10-06 21:06:37 UTC
OpenStack gerrit 604493 0 None None None 2018-10-06 21:05:08 UTC
OpenStack gerrit 609481 0 None None None 2018-10-15 20:32:40 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:53:48 UTC

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


Note You need to log in before you can comment on or make changes to this bug.