Master fs035 and fs064 failing on overcloud deploy on task "Render keystone-db-sync container definitions" with error - can only concatenate list (not "AnsibleUnicode") to list. Unexpected templating type error occurred on (image: "{{ tripleo_keystone_image }}"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Description:
Master fs035 and fs064 failing on overcloud deploy on task "Render keystone-db-sync container definitions" with error - can only concatenate list (not "AnsibleUnicode") to list. Unexpected templating type error occurred on (image: "{{ tripleo_
Log snippet:
~~~
2022-05-17 23:14:00 | 2022-05-17 23:14:00.860513 | fa163e1e-
net: host
user: root
privileged: false
detach: false
volumes:
{% set keystone_volumes = [] %}
{%- set keystone_volumes =
{%- if tripleo_
{%- set keystone_volumes =
{%- endif -%}
{{ keystone_volumes }}
environment: {{ tripleo_
command: ['/usr/
): can only concatenate list (not "AnsibleUnicode") to list. Unexpected templating type error occurred on (image: "{{ tripleo_
net: host
user: root
privileged: false
detach: false
volumes:
{% set keystone_volumes = [] %}
{%- set keystone_volumes =
{%- if tripleo_
{%- set keystone_volumes =
{%- endif -%}
{{ keystone_volumes }}
environment: {{ tripleo_
command: ['/usr/
): can only concatenate list (not "AnsibleUnicode") to list"}
2022-05-17 23:14:00 | 2022-05-17 23:14:00.862974 | fa163e1e-
~~~~
Logs url:
[1] https:/
[2] https:/
Reason:
we apparently try to concat a string (tripleo_ keystone_ internal_ tls_ca_ file[1] ) with a list (keystone_volumes) - which is not possible, according to the error message.
The question now is:
- is that one potentially a list, so we'd have to change the default value, or is it always a string, so we'll need to change 3 templates[2] to properly append it to the list?
[1] https:/ /opendev. org/openstack/ tripleo- ansible/ src/branch/ master/ tripleo_ ansible/ roles/tripleo_ keystone/ defaults/ main.yml# L33
[2] https:/ /opendev. org/openstack/ tripleo- ansible/ src/branch/ master/ tripleo_ ansible/ roles/tripleo_ keystone/ templates