Advertisement
Guest User

Untitled

a guest
Dec 26th, 2020
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.13 KB | None | 0 0
  1. TASK [pre : Disable selinux]00:26
  2.  
  3. task path: /opt/tower/var/tower/playbooks/NOC/noc_roles/pre/tasks/os/CentOS/main.yml:14
  4. Read vars_file 'vars/main.yml'
  5. Read vars_file 'vars/{{ ansible_distribution }}.yml'
  6. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/__init__.py
  7. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/basic.py
  8. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/utils.py
  9. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/compat.py
  10. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/ansible_collector.py
  11. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/namespace.py
  12. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/default_collectors.py
  13. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/collector.py
  14. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/timeout.py
  15. Read vars_file 'vars/main.yml'
  16. Read vars_file 'vars/{{ ansible_distribution }}.yml'
  17. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/__init__.py
  18. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/base.py
  19. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/base.py
  20. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/linux.py
  21. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/sunos.py
  22. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/env.py
  23. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/cmdline.py
  24. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/service_mgr.py
  25. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/pkg_mgr.py
  26. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/__init__.py
  27. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/openbsd.py
  28. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/platform.py
  29. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/netbsd.py
  30. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/netbsd.py
  31. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/distribution.py
  32. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/apparmor.py
  33. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/user.py
  34. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/hurd.py
  35. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/iscsi.py
  36. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/hurd.py
  37. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/dragonfly.py
  38. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/base.py
  39. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/dragonfly.py
  40. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/ssh_pub_keys.py
  41. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/selinux.py
  42. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/darwin.py
  43. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/darwin.py
  44. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/aix.py
  45. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/aix.py
  46. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/nvme.py
  47. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/freebsd.py
  48. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/freebsd.py
  49. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/hpux.py
  50. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/__init__.py
  51. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/hpux.py
  52. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/date_time.py
  53. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/linux.py
  54. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/lsb.py
  55. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/sunos.py
  56. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/linux.py
  57. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/python.py
  58. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/sunos.py
  59. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/chroot.py
  60. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/netbsd.py
  61. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/fips.py
  62. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/caps.py
  63. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/dns.py
  64. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/dragonfly.py
  65. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/__init__.py
  66. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/__init__.py
  67. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/facter.py
  68. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/other/ohai.py
  69. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/system/local.py
  70. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/openbsd.py
  71. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/fc_wwn.py
  72. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/openbsd.py
  73. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/freebsd.py
  74. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/hpux.py
  75. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/six/__init__.py
  76. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/_text.py
  77. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/virtual/sysctl.py
  78. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/network/generic_bsd.py
  79. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/facts/sysctl.py
  80. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/__init__.py
  81. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/sys_info.py
  82. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/distro/__init__.py
  83. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_utils.py
  84. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/distro/_distro.py
  85. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/process.py
  86. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/file.py
  87. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/__init__.py
  88. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/formatters.py
  89. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_json_compat.py
  90. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/__init__.py
  91. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/pycompat24.py
  92. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/selectors.py
  93. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/validation.py
  94. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/parsing/convert_bool.py
  95. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/text/converters.py
  96. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/parameters.py
  97. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/parsing/__init__.py
  98. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/_collections_compat.py
  99. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/compat/_selectors2.py
  100. Using module_utils file /opt/tower/lib/python3.8/site-packages/ansible/module_utils/common/collections.py
  101. Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
  102. Pipelining is enabled.
  103. <10.3.3.16> ESTABLISH SSH CONNECTION FOR USER: ansible
  104. Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
  105. Pipelining is enabled.
  106. <10.3.3.16> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
  107. <10.3.3.16> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  108. <10.3.3.16> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  109. <10.3.3.17> ESTABLISH SSH CONNECTION FOR USER: ansible
  110. <10.3.3.16> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
  111. <10.3.3.16> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
  112. <10.3.3.16> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
  113. <10.3.3.16> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
  114. <10.3.3.16> SSH: PlayContext set ssh_common_args: ()
  115. <10.3.3.16> SSH: PlayContext set ssh_extra_args: ()
  116. Using module file /opt/tower/lib/python3.8/site-packages/ansible/modules/system/selinux.py
  117. <10.3.3.17> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
  118. Pipelining is enabled.
  119. <10.3.3.17> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  120. <10.3.3.17> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  121. <10.3.3.16> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
  122. <10.3.3.17> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
  123. <10.3.3.17> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
  124. <10.3.3.17> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
  125. <10.3.3.16> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansible"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.3.3.16 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jwqkeivjwaftazxuknbwpivrifxsrqrg ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  126. <10.3.3.17> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
  127. <10.3.3.15> ESTABLISH SSH CONNECTION FOR USER: ansible
  128. <10.3.3.17> SSH: PlayContext set ssh_common_args: ()
  129. <10.3.3.17> SSH: PlayContext set ssh_extra_args: ()
  130. <10.3.3.15> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
  131. <10.3.3.17> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
  132. <10.3.3.15> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  133. <10.3.3.15> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  134. <10.3.3.15> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa")
  135. <10.3.3.17> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansible"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.3.3.17 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ybltkszlqxslnftkcluaofvzelcjgzzv ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  136. <10.3.3.15> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
  137. <10.3.3.15> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ansible")
  138. <10.3.3.15> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
  139. <10.3.3.15> SSH: PlayContext set ssh_common_args: ()
  140. <10.3.3.15> SSH: PlayContext set ssh_extra_args: ()
  141. <10.3.3.15> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r)
  142. <10.3.3.15> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/opt/tower/var/tower/data/deploy_keys/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansible"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%r-%h-%r 10.3.3.15 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-homiqsbmefiippjvkqhfoamjjoyuwmbp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  143. Escalation succeeded
  144. Escalation succeeded
  145. Escalation succeeded
  146. <10.3.3.15> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-Web\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_ggKoRz/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.15 is address\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 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2802\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
  147. <10.3.3.15> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
  148. debug1: Reading configuration data /etc/ssh/ssh_config
  149. debug2: resolve_canonicalize: hostname 10.3.3.15 is address
  150. debug1: auto-mux: Trying existing master
  151. debug2: fd 3 setting O_NONBLOCK
  152. debug2: mux_client_hello_exchange: master version 4
  153. debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  154. debug3: mux_client_request_session: entering
  155. debug3: mux_client_request_alive: entering
  156. debug3: mux_client_request_alive: done pid = 2802
  157. debug3: mux_client_request_session: session request sent
  158. debug3: mux_client_read_packet: read header failed: Broken pipe
  159. debug2: Received exit status from master 1
  160. The full traceback is:
  161. Traceback (most recent call last):
  162. File "/tmp/ansible_selinux_payload_ggKoRz/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
  163. ImportError: No module named selinux
  164. fatal: [NOC-Web]: FAILED! => {
  165. "changed": false,
  166. "invocation": {
  167. "module_args": {
  168. "configfile": "/etc/selinux/config",
  169. "policy": "targeted",
  170. "state": "disabled"
  171. }
  172. }
  173. }
  174.  
  175. MSG:
  176.  
  177. Failed to import the required Python library (libselinux-python) on NOC-Web's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
  178. <10.3.3.17> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-Mongo-Postgres\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_53JCXM/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.17 is address\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 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2812\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
  179. <10.3.3.17> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
  180. debug1: Reading configuration data /etc/ssh/ssh_config
  181. debug2: resolve_canonicalize: hostname 10.3.3.17 is address
  182. debug1: auto-mux: Trying existing master
  183. debug2: fd 3 setting O_NONBLOCK
  184. debug2: mux_client_hello_exchange: master version 4
  185. debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  186. debug3: mux_client_request_session: entering
  187. debug3: mux_client_request_alive: entering
  188. debug3: mux_client_request_alive: done pid = 2812
  189. debug3: mux_client_request_session: session request sent
  190. debug3: mux_client_read_packet: read header failed: Broken pipe
  191. debug2: Received exit status from master 1
  192. <10.3.3.16> (1, b'\n{"msg": "Failed to import the required Python library (libselinux-python) on NOC-ClickHouse\'s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter", "failed": true, "exception": "Traceback (most recent call last):\\n File \\"/tmp/ansible_selinux_payload_KJWykU/ansible_selinux_payload.zip/ansible/modules/system/selinux.py\\", line 95, in <module>\\nImportError: No module named selinux\\n", "invocation": {"module_args": {"policy": "targeted", "configfile": "/etc/selinux/config", "state": "disabled"}}}\n', b'OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug2: resolve_canonicalize: hostname 10.3.3.16 is address\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 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2807\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
  193. <10.3.3.16> Failed to connect to the host via ssh: OpenSSH_8.1p1, OpenSSL 1.1.1g 21 Apr 2020
  194. debug1: Reading configuration data /etc/ssh/ssh_config
  195. debug2: resolve_canonicalize: hostname 10.3.3.16 is address
  196. debug1: auto-mux: Trying existing master
  197. debug2: fd 3 setting O_NONBLOCK
  198. debug2: mux_client_hello_exchange: master version 4
  199. debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  200. debug3: mux_client_request_session: entering
  201. debug3: mux_client_request_alive: entering
  202. debug3: mux_client_request_alive: done pid = 2807
  203. debug3: mux_client_request_session: session request sent
  204. debug3: mux_client_read_packet: read header failed: Broken pipe
  205. debug2: Received exit status from master 1
  206. The full traceback is:
  207. Traceback (most recent call last):
  208. File "/tmp/ansible_selinux_payload_53JCXM/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
  209. ImportError: No module named selinux
  210. fatal: [NOC-Mongo-Postgres]: FAILED! => {
  211. "changed": false,
  212. "invocation": {
  213. "module_args": {
  214. "configfile": "/etc/selinux/config",
  215. "policy": "targeted",
  216. "state": "disabled"
  217. }
  218. }
  219. }
  220.  
  221. MSG:
  222.  
  223. Failed to import the required Python library (libselinux-python) on NOC-Mongo-Postgres's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
  224. The full traceback is:
  225. Traceback (most recent call last):
  226. File "/tmp/ansible_selinux_payload_KJWykU/ansible_selinux_payload.zip/ansible/modules/system/selinux.py", line 95, in <module>
  227. ImportError: No module named selinux
  228. fatal: [NOC-ClickHouse]: FAILED! => {
  229. "changed": false,
  230. "invocation": {
  231. "module_args": {
  232. "configfile": "/etc/selinux/config",
  233. "policy": "targeted",
  234. "state": "disabled"
  235. }
  236. }
  237. }
  238.  
  239. MSG:
  240.  
  241. Failed to import the required Python library (libselinux-python) on NOC-ClickHouse's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
  242.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement