Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The full traceback is:
- Traceback (most recent call last):
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 165, in run
- res = self._execute()
- ^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 656, in _execute
- result = self._handler.run(task_vars=vars_copy)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 889, in run
- resultant = self._check_templar(data=template_data, extra=_vars)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 787, in _check_templar
- return templar.template(
- ^^^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 771, in template
- result = self.do_template(
- ^^^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 1015, in do_template
- res = myenv.concat(rf)
- ^^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in ansible_concat
- return ''.join([to_text(v) for v in nodes])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in <listcomp>
- return ''.join([to_text(v) for v in nodes])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "<template>", line 339, in root
- File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 295, in wrapper
- ret = func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/opt/ansible-runtime/lib/python3.11/site-packages/jinja2/filters.py", line 367, in do_dictsort
- return sorted(value.items(), key=sort_func, reverse=reverse)
- ^^^^^^^^^^^
- AttributeError: 'int' object has no attribute 'items'
- fatal: [ost01-cinder-volumes-container-25ad06a8]: FAILED! => {
- "msg": "Unexpected failure during module execution: 'int' object has no attribute 'items'",
- "stdout": ""
- }
Advertisement
Add Comment
Please, Sign In to add comment