Cannot create OVS patch port via tripleo heat templates due to sed command in run-os-net-config.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Nate Johnston |
Bug Description
An OVS patch port can specified in tripleo nic templates e.g
- type: ovs_bridge
- type: ovs_patch_port
- type: ovs_patch_port
which is rendered in json for os-net-config as this
{
"type": "ovs_patch_port",
"peer": "patch-tenant-ex",
"name": "patch-ex-tenant",
"
},
{
"type": "ovs_patch_port",
"peer": "patch-tenant",
"name": "patch-tenant-ex",
"
}
however the tripleo script run-os-netconfig.sh script replaces 'bridge_name' with br-ex|br-storage using a sed command. this needs updating as follows to ensure it only selects bridge_name as a value, not as a key, in the json script.
$ diff /usr/share/
132c132
< sed -i "s/bridge_
---
> sed -i "s/: \"bridge_name/: \"${bridge_
Changed in tripleo: | |
assignee: | nobody → Nate Johnston (nate-johnston) |
Changed in tripleo: | |
importance: | Undecided → High |
milestone: | none → ussuri-1 |
Fix proposed to branch: master /review. opendev. org/696898
Review: https:/