Bug 1506115 - [starter-ca-central-1] web console terminal content is not cleared on re-connect
Summary: [starter-ca-central-1] web console terminal content is not cleared on re-connect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-25 07:42 UTC by Jiří Fiala
Modified: 2017-11-28 08:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-08 13:10:14 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Jiří Fiala 2017-10-25 07:42:45 UTC
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 07:43:28 UTC
Created attachment 1343112 [details]
re-connected terminal

Comment 2 Jessica Forrester 2017-10-30 19:02:00 UTC
https://github.com/openshift/origin-web-console/pull/2398

Comment 4 Yadan Pei 2017-11-01 03:18:30 UTC
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 05:50:38 UTC
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 13:10:14 UTC
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.