bond-with-vlans - concatenate routes is nested in a list - invalid configuration

Bug #1793838 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

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'}]]}

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

Changed in tripleo:
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/604493
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6deb54c5a1d7810ef8365480bec00362d3d82ec9
Submitter: Zuul
Branch: master

commit 6deb54c5a1d7810ef8365480bec00362d3d82ec9
Author: Harald Jensås <email address hidden>
Date: Sat Sep 22 01:15:16 2018 +0200

    Fix list concatenation of routes in bond-with-vlan

    We are passing a list of routes to concatenate. This list
    was nested in another list, causing an invalid configuration.

    Closes-Bug: #1793838
    Change-Id: I7a8bc5d2171905237fe36d5ccad853f838c9bffc

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/609481

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/609481
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=bee73a876b57dfc9060479f3697d7409f8352eb2
Submitter: Zuul
Branch: stable/rocky

commit bee73a876b57dfc9060479f3697d7409f8352eb2
Author: Harald Jensås <email address hidden>
Date: Sat Sep 22 01:15:16 2018 +0200

    Fix list concatenation of routes in bond-with-vlan

    We are passing a list of routes to concatenate. This list
    was nested in another list, causing an invalid configuration.

    Closes-Bug: #1793838
    Change-Id: I7a8bc5d2171905237fe36d5ccad853f838c9bffc
    (cherry picked from commit 6deb54c5a1d7810ef8365480bec00362d3d82ec9)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.1.0

This issue was fixed in the openstack/tripleo-heat-templates 10.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.1.0

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