Guest User

Untitled

a guest
Jun 5th, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. The full traceback is:
  2. Traceback (most recent call last):
  3. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 165, in run
  4. res = self._execute()
  5. ^^^^^^^^^^^^^^^
  6. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 656, in _execute
  7. result = self._handler.run(task_vars=vars_copy)
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 889, in run
  10. resultant = self._check_templar(data=template_data, extra=_vars)
  11. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  12. File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 787, in _check_templar
  13. return templar.template(
  14. ^^^^^^^^^^^^^^^^^
  15. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 771, in template
  16. result = self.do_template(
  17. ^^^^^^^^^^^^^^^^^
  18. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 1015, in do_template
  19. res = myenv.concat(rf)
  20. ^^^^^^^^^^^^^^^^
  21. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in ansible_concat
  22. return ''.join([to_text(v) for v in nodes])
  23. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in <listcomp>
  25. return ''.join([to_text(v) for v in nodes])
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. File "<template>", line 339, in root
  28. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 295, in wrapper
  29. ret = func(*args, **kwargs)
  30. ^^^^^^^^^^^^^^^^^^^^^
  31. File "/opt/ansible-runtime/lib/python3.11/site-packages/jinja2/filters.py", line 367, in do_dictsort
  32. return sorted(value.items(), key=sort_func, reverse=reverse)
  33. ^^^^^^^^^^^
  34. AttributeError: 'int' object has no attribute 'items'
  35. fatal: [ost01-cinder-volumes-container-25ad06a8]: FAILED! => {
  36. "msg": "Unexpected failure during module execution: 'int' object has no attribute 'items'",
  37. "stdout": ""
  38. }
  39.  
Advertisement
Add Comment
Please, Sign In to add comment