TemplateSyntaxError: unexpected char u'\\' at 7556 when using hostvars with config-download

Bug #1744950 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Steven Hardy

Bug Description

Trying to use ansible's hostvars in a playbook/task/template can result in:

TemplateSyntaxError: unexpected char u'\\' at 7556

I believe this is due to the use of double quotes on deploy-steps.j2 and the fact that we have multiple layers of escaping happening (Heat, jinja2 in config-download, then ansible, then jinja2 again, etc).

Better to just use single quotes.

Changed in tripleo:
status: New → In Progress
importance: Undecided → High
assignee: nobody → James Slagle (james-slagle)
milestone: none → queens-3
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/536849

Changed in tripleo:
milestone: queens-3 → queens-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by James Slagle (<email address hidden>) on branch: master
Review: https://review.openstack.org/536849
Reason: in favor of shardy's patch

Revision history for this message
Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
status: In Progress → Fix Released
assignee: James Slagle (james-slagle) → Steven Hardy (shardy)
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.