Node provision fails with the error expected token 'end of print statement', got '_mtu'
Issue
- Red Hat OpenStack Platform 17.1
Environment
- Running
openstack overcloud node provision
command fails in rendering process ofnetwork_config
.
FATAL | Render network_config from template | controller-0 | error={"changed": false, "msg": "AnsibleError: template error while templating string: expected token 'end of print statement', got '_mtu'.
- In the
overcloud-baremetal-deploy.yaml
file used foropenstack overcloud node provision
, a NIC template is used innetwork_config
, and the {{ XXXX }} is used within the Jinja2 template.
mtu: {{ external-1_mtu }}
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.