Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer gets stuck on task select default ruby #233

Open
joausaga opened this issue Dec 5, 2023 · 6 comments
Open

Installer gets stuck on task select default ruby #233

joausaga opened this issue Dec 5, 2023 · 6 comments

Comments

@joausaga
Copy link

joausaga commented Dec 5, 2023

I have followed the installer documentation to install Consul on Ubuntu 18.04.6 LTS (GNU/Linux 5.7.0-050700-generic x86_64), but it gets stuck in the step:

TASK [galaxy/rvm.ruby : Select default ruby]

I cannot find any log where I can understand what's going on.

Thanks for the support,

@joausaga joausaga changed the title Installation stuck on task select default ruby Installation stucks on task select default ruby Dec 5, 2023
@joausaga joausaga changed the title Installation stucks on task select default ruby Installer gets stuck on task select default ruby Dec 5, 2023
@javierm
Copy link
Member

javierm commented Dec 5, 2023

Hi, @joausaga 😄.

That's strange 🤔. Could you run ansible-playbook using the -vvv flag, and paste the last part of the output (starting with the "Detect rubies" task)?

@joausaga
Copy link
Author

joausaga commented Dec 5, 2023

Hi @javierm,

Yes, here you have

TASK [galaxy/rvm.ruby : Detect rubies] ***********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:3
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843 `" && echo ansible-tmp-1701786564.660747-62064-53558141543843="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786564.660747-62064-53558141543843=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31031\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31031 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "ruby-3.0.6", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "list", "strings"], "start": "2023-12-05 15:29:25.458283", "end": "2023-12-05 15:29:25.726263", "delta": "0:00:00.267980", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm list strings", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false 
  cmd:
  - ~/.rvm/bin/rvm
  - list
  - strings
  delta: '0:00:00.267980'
  end: '2023-12-05 15:29:25.726263'
  invocation:
    module_args:
      _raw_params: ~/.rvm/bin/rvm list strings
      _uses_shell: false
      argv: null
      chdir: null
      creates: null
      executable: null
      expand_argument_vars: true
      removes: null
      stdin: null
      stdin_add_newline: true
      strip_empty_ends: true
  msg: ''
  rc: 0
  start: '2023-12-05 15:29:25.458283'
  stderr: ''
  stderr_lines: <omitted>
  stdout: ruby-3.0.6
  stdout_lines: <omitted>

TASK [galaxy/rvm.ruby : Install rubies] **********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:8
skipping: [site.edu.es] => changed=false 
  skipped_reason: No items in the list

TASK [galaxy/rvm.ruby : Detect default ruby version] *********************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:12
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769 `" && echo ansible-tmp-1701786565.970314-62073-76938792383769="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786565.970314-62073-76938792383769=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02 TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31037\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31037 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "alias", "list", "default"], "start": "2023-12-05 15:29:26.865988", "end": "2023-12-05 15:29:27.161318", "delta": "0:00:00.295330", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm alias list default", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false 
  cmd:
  - ~/.rvm/bin/rvm
  - alias
  - list
  - default
  delta: '0:00:00.295330'
  end: '2023-12-05 15:29:27.161318'
  invocation:
    module_args:
      _raw_params: ~/.rvm/bin/rvm alias list default
      _uses_shell: false
      argv: null
      chdir: null
      creates: null
      executable: null
      expand_argument_vars: true
      removes: null
      stdin: null
      stdin_add_newline: true
      strip_empty_ends: true
  msg: ''
  rc: 0
  start: '2023-12-05 15:29:26.865988'
  stderr: ''
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

TASK [galaxy/rvm.ruby : Select default ruby] *****************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:17
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972 `" && echo ansible-tmp-1701786567.390423-62081-175550099539972="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786567.390423-62081-175550099539972=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7 TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31051\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31051 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 61625\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py && sleep 0'"'"''

Thanks,

@javierm
Copy link
Member

javierm commented Dec 5, 2023

@joausaga Thanks, we'll have a look.

By the way, does the same thing happen using Ubuntu 20.04? Note that Ubuntu 18.04 is no longer supported because it's past its long-term support time.

@joausaga
Copy link
Author

joausaga commented Dec 5, 2023

Hi @javierm,

Thanks for your prompt reply.

I haven't tried on Ubuntu 20.04. I can try to update the OS and see what happens.

Thanks,

@joausaga
Copy link
Author

Hi @javierm,

I tried the installer on Ubuntu 20.04, and it gets stuck on the task Install rubies. Below, I'm pasting the output.

TASK [galaxy/rvm.ruby : Detect rubies] *********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:3
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105 `" && echo ansible-tmp-1702300767.5765069-12604-65214736175105="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1702300767.5765069-12604-65214736175105=/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31033\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31033 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "list", "strings"], "start": "2023-12-11 14:19:28.428151", "end": "2023-12-11 14:19:28.687167", "delta": "0:00:00.259016", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm list strings", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false 
  cmd:
  - ~/.rvm/bin/rvm
  - list
  - strings
  delta: '0:00:00.259016'
  end: '2023-12-11 14:19:28.687167'
  invocation:
    module_args:
      _raw_params: ~/.rvm/bin/rvm list strings
      _uses_shell: false
      argv: null
      chdir: null
      creates: null
      executable: null
      expand_argument_vars: true
      removes: null
      stdin: null
      stdin_add_newline: true
      strip_empty_ends: true
  msg: ''
  rc: 0
  start: '2023-12-11 14:19:28.428151'
  stderr: ''
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

TASK [galaxy/rvm.ruby : Install rubies] ********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:8
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635 `" && echo ansible-tmp-1702300768.915509-12612-129507838049635="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1702300768.915509-12612-129507838049635=/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31040\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31040 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\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 = 12376\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: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py && sleep 0'"'"''

Thanks,

@javierm
Copy link
Member

javierm commented Mar 1, 2024

Hi, @joausaga 😄.

Sorry for the late reply 🙏.

I'm afraid I'm not that great at debugging SSH sessions, and I can't even find the key error in the log you've posted 🤔.

Could you confirm whether manually installing ruby on the server works? If it doesn't, it might be an issue with the server's SSH/network configuration 🤔.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants