Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5632

Pod terminal should not automatically reconnect after exit

XMLWordPrintable

    • False
    • False
    • 0
    • Undefined
    • Not Supported
    • ODC Sprint 201
    • Medium

      Description of problem:

      In 4.7 the terminal shows a warning and a button to reconnect to the Pod again when the terminal session was closed with an exit command.

      With the current version the terminal automatically reconnects to the Pod again. The output of previous commands is lost with this automatically reconnect.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Switch to developer perspective and add a Deployment to start a Pod
      2. Select your deployment in topology and select the running Pod
      3. On the Pod details page switch to the "Terminal" tab
      4. Run a command like find . and then run exit

      Actual results:

      1. After the user runs exit the terminal automatically reconnects.

      Expected results:

      1. The terminal should not automatically reconnect. The terminal should show a warning that the connection was closed and allow the user to manually reconnect.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      1. Latest 4.8 console master (tested with 4c443747272cd262ebc0e8d35491a0363af3c02c)

      Additional info:

      This problem appears after we update xterm library from 3.12 to 4.10 (ODC-5547, PR 8260).

        1. auto-reconnect.mp4
          174 kB
          Christoph Jerolimov

              mdsaud Mohammed Saud (Inactive)
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: