Passthrough-enable for nova.conf mustache template is not correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Andrea Rosa |
Bug Description
This change https:/
The template as-is has two problems:
- the comment are not rendered at all. If there is comment in the passthrough configuration the resulting nova-conf file instead of reporting the comment it reports "repeats for each section "
- as all variables are HTML-escaped by default in a mustache template we want to use the triple braces to rendere unscaped HTML
here an example that shows what I described above:
JSON
{
"nova": {
"config": [
{"section": "DEFAULT",
"values": [
{
}
]
}
]
}
}
Output
repeats for each section
[DEFAULT]
snapshots_
Changed in tripleo: | |
assignee: | nobody → Andrea Rosa (andrea-rosa-m) |
tags: | added: low-hanging-fruit |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/96711
Review: https:/