Guest User

Untitled

a guest
Jun 6th, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.35 KB | None | 0 0
  1. TASK [os_cinder : Generate cinder config] *****************************************************************
  2. task path: /etc/ansible/roles/os_cinder/tasks/cinder_post_install.yml:26
  3. container_name: "osts01-cinder-volumes-container-96b2399d"
  4. physical_host: "osts01"
  5. Container confirmed
  6. <osts01> ESTABLISH SSH CONNECTION FOR USER: root
  7. <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
  8. <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  9. <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  10. <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
  11. )
  12. <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
  13. <osts01> SSH: Set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)(-o)(ServerAliveInterval=64)(-o)(ServerAliveCountMax=1024)(-o)(Compression=no)(-o)(TCPKeepAlive=yes)(-o)(Veri
  14. fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
  15. <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
  16. <osts01> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=300 -o StrictHostKeyChecking=no -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,h
  17. ostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPK
  18. eepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o 'ControlPath="/root/.ansible/cp/2c67d15996"' osts01 'lxc-attach --clear-env --name osts01-cinder-volumes-container-96b2399d -- s
  19. u - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'echo ~ && sleep 0'"'"'"'"'"'"'"'"''"'"''
  20. <osts01> (0, b'/root\n', b'OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_co
  21. nfig.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchan
  22. ge: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client
  23. _request_alive: done pid = 3259788\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header faile
  24. d: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  25. <osts01> ESTABLISH SSH CONNECTION FOR USER: None
  26. <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
  27. <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  28. <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  29. <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
  30. )
  31. <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
  32. <osts01> SSH: Set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)(-o)(ServerAliveInterval=64)(-o)(ServerAliveCountMax=1024)(-o)(Compression=no)(-o)(TCPKeepAlive=yes)(-o)(Veri
  33. fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
  34. <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
  35. <osts01> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=300 -o StrictHostKeyChecking=no -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,h
  36. ostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPK
  37. eepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o 'ControlPath="/root/.ansible/cp/2c67d15996"' osts01 'lxc-attach --clear-env --name osts01-cinder-volumes-container-96b2399d -- s
  38. u - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457 `" && echo ansible-t
  39. mp-1717700141.766084-3263336-238888382898457="` echo /root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457 `" ) && sleep 0'"'"'"'"'"'"'"'"''"'"''
  40. <osts01> (0, b'ansible-tmp-1717700141.766084-3263336-238888382898457=/root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457\n', b'OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023\
  41. r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying option
  42. s for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 r
  43. emote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 3259788\r\ndebug3: mux_client_request_session: session requ
  44. est sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  45. <osts01> ESTABLISH SSH CONNECTION FOR USER: None
  46. <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
  47. <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  48. <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  49. <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
  50. )
  51. <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
  52. <osts01> SSH: Set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)(-o)(ServerAliveInterval=64)(-o)(ServerAliveCountMax=1024)(-o)(Compression=no)(-o)(TCPKeepAlive=yes)(-o)(Veri
  53. fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
  54. <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
  55. <osts01> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=300 -o StrictHostKeyChecking=no -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,h
  56. ostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPK
  57. eepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o 'ControlPath="/root/.ansible/cp/2c67d15996"' osts01 'lxc-attach --clear-env --name osts01-cinder-volumes-container-96b2399d -- s
  58. u - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457/ > /dev/null 2>&1 && sleep 0'"'"'"'"'"'"'"'"''"'"''
  59. <osts01> (0, b'', b'OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/
  60. *.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: mas
  61. ter version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_reques
  62. t_alive: done pid = 3259788\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Brok
  63. en pipe\r\ndebug2: Received exit status from master 0\r\n')
  64.  
  65. The full traceback is:
  66. Traceback (most recent call last):
  67. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 165, in run
  68. res = self._execute()
  69. ^^^^^^^^^^^^^^^
  70. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/executor/task_executor.py", line 656, in _execute
  71. result = self._handler.run(task_vars=vars_copy)
  72. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  73. File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 889, in run
  74. resultant = self._check_templar(data=template_data, extra=_vars)
  75. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  76. File "/etc/ansible/ansible_collections/openstack/config_template/plugins/action/config_template.py", line 787, in _check_templar
  77. return templar.template(
  78. ^^^^^^^^^^^^^^^^^
  79. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 771, in template
  80. result = self.do_template(
  81. ^^^^^^^^^^^^^^^^^
  82. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 1015, in do_template
  83. res = myenv.concat(rf)
  84. ^^^^^^^^^^^^^^^^
  85. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in ansible_concat
  86. return ''.join([to_text(v) for v in nodes])
  87. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  88. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/native_helpers.py", line 83, in <listcomp>
  89. return ''.join([to_text(v) for v in nodes])
  90. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  91. File "<template>", line 339, in root
  92. File "/opt/ansible-runtime/lib/python3.11/site-packages/ansible/template/__init__.py", line 295, in wrapper
  93. ret = func(*args, **kwargs)
  94. ^^^^^^^^^^^^^^^^^^^^^
  95. File "/opt/ansible-runtime/lib/python3.11/site-packages/jinja2/filters.py", line 367, in do_dictsort
  96. return sorted(value.items(), key=sort_func, reverse=reverse)
  97. ^^^^^^^^^^^
  98. AttributeError: 'AnsibleUnicode' object has no attribute 'items'
  99. fatal: [osts01-cinder-volumes-container-96b2399d]: FAILED! => {
  100. "msg": "Unexpected failure during module execution: 'AnsibleUnicode' object has no attribute 'items'",
  101. "stdout": ""
  102. }
  103. looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/vars/../defaults/source_install.yml"
  104. looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/../defaults/source_install.yml"
  105. Read vars_file '../defaults/{{ install_method }}_install.yml'
  106. looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/vars/../defaults/source_install.yml"
  107. looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/../defaults/source_install.yml"
  108. Read vars_file '../defaults/{{ install_method }}_install.yml'
Advertisement
Add Comment
Please, Sign In to add comment