Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1506115 - [starter-ca-central-1] web console terminal content is not cleared on re-connect
[starter-ca-central-1] web console terminal content is not cleared on re-connect
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.7.0
x86_64 Linux
medium Severity medium
: ---
: 3.7.0
Assigned To: Jessica Forrester
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-25 03:42 EDT by Jiří Fiala
Modified: 2017-11-28 03:28 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-08 08:10:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
disconnected terminal (48.41 KB, image/png)
2017-10-25 03:42 EDT, Jiří Fiala
no flags Details
re-connected terminal (45.80 KB, image/png)
2017-10-25 03:43 EDT, Jiří Fiala
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Jiří Fiala 2017-10-25 03:42:45 EDT
Created attachment 1343111 [details]
disconnected terminal

Description of problem:
The terminal content in the web console is not cleared properly, when user re-connects the session using the "refresh" gray button in the upper right corner of the terminal. Once re-connected, user is typing "over" the old content from the previous session.

Version-Release number of selected component (if applicable):
This was induced on the starter-ca-central OSO cluster w/ Mozilla Firefox 56.0
OpenShift Master:
    v3.7.0-0.143.7 (online version 3.6.0.32.1)
Kubernetes Master:
    v1.7.0+80709908fd 

How reproducible:
Consistently reproducible

Steps to Reproduce:
1. Navigate to the Terminal tab of a running pod
2. Run a few commands
3. Disconnect the terminal by pressing Ctrl+D or using "exit"
4. Reconnect the terminal without navigating away, by clicking the grey "refresh" button in the upper right corner of the disconnected terminal.

Actual results:
The terminal is re-connected, the cursor and prompt is rendered on the first line (effectively deleting only the first line of the old content), over the old content from the previous session.

Expected results:
The old content is to be cleared and the prompt is to be rendered in a blank terminal.

Additional info:
See attached screenshots
Comment 1 Jiří Fiala 2017-10-25 03:43 EDT
Created attachment 1343112 [details]
re-connected terminal
Comment 2 Jessica Forrester 2017-10-30 15:02:00 EDT
https://github.com/openshift/origin-web-console/pull/2398
Comment 4 Yadan Pei 2017-10-31 23:18:30 EDT
Will verify the bug when cluster upgraded, currently starter-ca-central-1 is still v3.7.0-0.143.7 (online version 3.6.0.32.1)
Comment 5 Yadan Pei 2017-11-03 01:50:38 EDT
Checked against OCP clusters on v3.7.0-0.190.0 with Firefox 56 & Chrome 60

The issue was not reproduced, move to VERIFIED
Comment 6 Jessica Forrester 2017-11-08 08:10:14 EST
Bug should be fixed in online after the next upgrade.

Note You need to log in before you can comment on or make changes to this bug.