Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [os_cinder : Generate cinder config] *****************************************************************
- task path: /etc/ansible/roles/os_cinder/tasks/cinder_post_install.yml:26
- container_name: "osts01-cinder-volumes-container-96b2399d"
- physical_host: "osts01"
- Container confirmed
- <osts01> ESTABLISH SSH CONNECTION FOR USER: root
- <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
- <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
- )
- <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
- <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
- fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
- <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
- <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
- 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
- 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
- u - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'echo ~ && sleep 0'"'"'"'"'"'"'"'"''"'"''
- <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
- 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
- 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
- _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
- d: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
- <osts01> ESTABLISH SSH CONNECTION FOR USER: None
- <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
- <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
- )
- <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
- <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
- fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
- <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
- <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
- 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
- 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
- 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
- mp-1717700141.766084-3263336-238888382898457="` echo /root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457 `" ) && sleep 0'"'"'"'"'"'"'"'"''"'"''
- <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\
- 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
- 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
- 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
- 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')
- <osts01> ESTABLISH SSH CONNECTION FOR USER: None
- <osts01> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=300)
- <osts01> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <osts01> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <osts01> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no
- )
- <osts01> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
- <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
- fyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
- <osts01> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/2c67d15996")
- <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
- 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
- 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
- u - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1717700141.766084-3263336-238888382898457/ > /dev/null 2>&1 && sleep 0'"'"'"'"'"'"'"'"''"'"''
- <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/
- *.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
- 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
- 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
- en pipe\r\ndebug2: Received exit status from master 0\r\n')
- 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: 'AnsibleUnicode' object has no attribute 'items'
- fatal: [osts01-cinder-volumes-container-96b2399d]: FAILED! => {
- "msg": "Unexpected failure during module execution: 'AnsibleUnicode' object has no attribute 'items'",
- "stdout": ""
- }
- looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/vars/../defaults/source_install.yml"
- looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/../defaults/source_install.yml"
- Read vars_file '../defaults/{{ install_method }}_install.yml'
- looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/vars/../defaults/source_install.yml"
- looking for "../defaults/source_install.yml" at "/opt/openstack-ansible/playbooks/common-playbooks/../defaults/source_install.yml"
- Read vars_file '../defaults/{{ install_method }}_install.yml'
Advertisement
Add Comment
Please, Sign In to add comment