1. upload_file does not work at all

upload_file does not work at all

Home Forums FABRIC General Questions and Discussion upload_file does not work at all

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #8054
    Yuanjun Dai
    Participant

      HI,

      I am trying to upload file to instances via upload_file API in different sites. However, it does not work at all.t

      This problem only happen after the recent update. The API does not shows errors. It just hang forever.

      Best Regards

      Yuanjun Dai

      #8055
      Komal Thareja
      Participant

        Hi Yuanjun,

        Could you please try using upload_directory API and let us know if that works?

        Also, are you able to SSH to the VMs? Could you please check if you see any errors in /tmp/fablib/fablib.log ?

        If so, please share the log file.

        Thanks,

        Komal

        #8056
        Yuanjun Dai
        Participant

          Hi,

          There is not log.

          root@switch:/home/ubuntu# cat /tmp/fablib/fablib.log
          cat: /tmp/fablib/fablib.log: No such file or directory
          root@switch:/home/ubuntu# cd /tmp/
          root@switch:/tmp# ls
          fabric_execute_script.sh systemd-private-e06c8ce0156844f5bee668f56e7cba26-ModemManager.service-aWJZ2f systemd-private-e06c8ce0156844f5bee668f56e7cba26-systemd-resolved.service-Nr80fj
          snap-private-tmp systemd-private-e06c8ce0156844f5bee668f56e7cba26-systemd-logind.service-vt6fTf systemd-private-e06c8ce0156844f5bee668f56e7cba26-systemd-timesyncd.service-egmfMi
          root@switch:/tmp# vim fabric_execute_script.sh
          root@switch:/tmp#

           

          #8057
          Komal Thareja
          Participant

            /tmp/fablib/fablib.log log file exists on JH container. Could you please check and share that?

            Thanks,

            Komal

            #8058
            Yuanjun Dai
            Participant

              Hi,

              I am not using JH to create the topology. I completely relay on the API.

              I do not know where to find the log file via the JH.

              #8061
              Komal Thareja
              Participant

                Could you run fablib.show_config() to display the log file in use?

                Additionally, you can specify the log file location in the fabric_rc file, which may assist in debugging. Upload failures often occur if the bastion keys have expired, so please verify that your bastion keys are still valid.

                Thanks,

                Komal

                #8064
                Yuanjun Dai
                Participant

                  HI,

                  Here is my frabic_rc. How should I modified it ?

                  export FABRIC_ORCHESTRATOR_HOST=orchestrator.fabric-testbed.net
                  export FABRIC_CREDMGR_HOST=cm.fabric-testbed.net
                  export FABRIC_CORE_API_HOST=uis.fabric-testbed.net
                  export FABRIC_AM_HOST=artifacts.fabric-testbed.net
                  export FABRIC_TOKEN_LOCATION=/home/johnnydai/.tokens.json
                  export FABRIC_PROJECT_ID=34a45f8f-be0e-4efc-a91c-38358ce4ca29
                  export FABRIC_BASTION_HOST=bastion-renc-1.fabric-testbed.net
                  export FABRIC_BASTION_USERNAME=yuanjun_dai_0033333176
                  export FABRIC_BASTION_KEY_LOCATION=/home/johnnydai/work/fabric_config/fabric_bastion_key
                  export FABRIC_SLICE_PUBLIC_KEY_FILE=/home/johnnydai/.ssh/id_rsa.pub
                  export FABRIC_SLICE_PRIVATE_KEY_FILE=/home/johnnydai/.ssh/id_rsa
                  export FABRIC_AVOID=
                  export FABRIC_SSH_COMMAND_LINE=ssh -i {{ _self_.private_ssh_key_file }} -F /home/johnnydai/work/fabric_config/ssh_config {{ _self_.username }}@{{ _self_.management_ip }}
                  export FABRIC_LOG_LEVEL=INFO
                  export FABRIC_LOG_FILE=/tmp/fablib/fablib.log
                  export FABRIC_BASTION_SSH_CONFIG_FILE=/home/johnnydai/work/fabric_config/ssh_config

                  #8065
                  Komal Thareja
                  Participant

                    Could you please check for any error messages in /tmp/fablib/fablib.log file when upload_file() is invoked? If possible, share this file?

                    This file should exist on the system from where the fablib is being invoked.

                    Thanks,

                    Komal

                    #8066
                    Yuanjun Dai
                    Participant

                      Hi,

                      Sure.

                      Please check the attachment.

                      #8067
                      Yuanjun Dai
                      Participant

                        HI,

                        I will update the file later.

                        Thank you.

                        #8068
                        Yuanjun Dai
                        Participant

                          Hi,

                          I try one more time. Here is the log file.

                          #8069
                          Yuanjun Dai
                          Participant

                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2327, in _check_banner
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf = self.packetizer.readline(timeout)
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 381, in readline
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf += self._read_timeout(timeout)
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 616, in _read_timeout
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – x = self.__socket.recv(128)
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ConnectionResetError: [Errno 104] Connection reset by peer
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – During handling of the above exception, another exception occurred:
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2143, in run
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – self._check_banner()
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2331, in _check_banner
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise SSHException(
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – paramiko.ssh_exception.SSHException: Error reading SSH protocol banner[Errno 104] Connection reset by peer
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/node.py:1644} WARNING – Exception in node.execute() command: sudo hostnamectl set-hostname ‘switch’ (attempt #0 of 3): Error reading SSH protocol banner[Errno 104] Connection reset by peer
                            [11:59:13] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:13] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:14] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:15] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:19] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:19] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:23] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1909} ERROR – Exception (client): Error reading SSH protocol banner
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2327, in _check_banner
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf = self.packetizer.readline(timeout)
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 381, in readline
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf += self._read_timeout(timeout)
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 618, in _read_timeout
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise EOFError()
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – EOFError
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – During handling of the above exception, another exception occurred:
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2143, in run
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – self._check_banner()
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2331, in _check_banner
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise SSHException(
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:25] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/node.py:1644} WARNING – Exception in node.execute() command: sudo ip link set dev enp9s0 up (attempt #0 of 3): Error reading SSH protocol banner
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1909} ERROR – Exception (client): Error reading SSH protocol banner
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2327, in _check_banner
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf = self.packetizer.readline(timeout)
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 381, in readline
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf += self._read_timeout(timeout)
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 618, in _read_timeout
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise EOFError()
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – EOFError
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – During handling of the above exception, another exception occurred:
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2143, in run
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – self._check_banner()
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2331, in _check_banner
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise SSHException(
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [11:59:36] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/node.py:1644} WARNING – Exception in node.execute() command: sudo ip link set dev enp9s0 up (attempt #1 of 3): Error reading SSH protocol banner
                            [11:59:50] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:54] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [11:59:58] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:02] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:06] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:11] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:15] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:19] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:23] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1909} ERROR – Exception (client): Error reading SSH protocol banner
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2327, in _check_banner
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf = self.packetizer.readline(timeout)
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 381, in readline
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf += self._read_timeout(timeout)
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 618, in _read_timeout
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise EOFError()
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – EOFError
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – During handling of the above exception, another exception occurred:
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2143, in run
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – self._check_banner()
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2331, in _check_banner
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise SSHException(
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:26] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/node.py:1644} WARNING – Exception in node.execute() command: sudo ip link set dev enp15s0 up (attempt #0 of 3): Error reading SSH protocol banner
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1909} ERROR – Exception (client): Error reading SSH protocol banner
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2327, in _check_banner
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf = self.packetizer.readline(timeout)
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 381, in readline
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – buf += self._read_timeout(timeout)
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/packet.py”, line 618, in _read_timeout
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise EOFError()
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – EOFError
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – During handling of the above exception, another exception occurred:
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – Traceback (most recent call last):
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2143, in run
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – self._check_banner()
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – File “/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py”, line 2331, in _check_banner
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – raise SSHException(
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR – paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/paramiko/transport.py:1907} ERROR –
                            [12:00:37] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/node.py:1644} WARNING – Exception in node.execute() command: sudo ip link set dev enp15s0 up (attempt #1 of 3): Error reading SSH protocol banner
                            [12:00:49] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:53] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:00:57] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensions/fablib/network_service.py:1048} WARNING – Failed to get L2 subnet: ‘subnet’
                            [12:01:01] {/home/johnnydai/miniconda3/lib/python3.11/site-packages/fabrictestbed_extensio

                            #8070
                            Yuanjun Dai
                            Participant

                              How can I  upload the whole file ?

                              It seems that I can not upload the log file to this site.

                              #8085
                              Komal Thareja
                              Participant

                                User has confirmed in another post that this issue has been resolved.

                                SSH Connection Error: ChannelException(2, ‘Connect failed’)

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • You must be logged in to reply to this topic.