redhat-developer / redhat-developer/vscode-openshift-tools

"Open Terminal in Container" shell is unusable due to SPDY stream debug log noise

Open
#5,768 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
123
Forks
63
Avg merge
6h 16m
Merged PRs (30d)
74

Description

Description

When using the "Open Terminal in Container" feature from the OpenShift Toolkit extension, the terminal is flooded with spdystream library debug log messages (log.go:245). These messages are written to the same terminal output as the interactive shell, making the terminal completely unusable — every keystroke triggers a burst of log lines that overwrite and interleave with the shell prompt and input.

Steps to Reproduce

  1. Install the OpenShift Toolkit extension for VS Code
  2. Connect to an OpenShift cluster
  3. In the Application Explorer, right-click a container and select "Open Terminal in Container"
  4. Wait for the shell to start
  5. Try typing any command in the shell

Expected Behavior

A clean interactive shell session in the container, with no debug output interfering with the terminal.

Actual Behavior

The terminal is immediately flooded with Go klog INFO-level messages from the spdystream SPDY transport library. Every keystroke triggers additional log lines, making the shell completely unusable. The messages look like this:

I0422 09:35:17.306321  127347 log.go:245] (0xc001124000) (0xc0008d81e0) Create stream
I0422 09:35:17.306360  127347 log.go:245] (0xc001124000) (0xc0008d81e0) Stream added, broadcasting: 1
I0422 09:35:17.329036  127347 log.go:245] (0xc001124000) Reply frame received for 1
I0422 09:35:17.329047  127347 log.go:245] (0xc001124000) (0xc0008d8280) Create stream
I0422 09:35:17.329050  127347 log.go:245] (0xc001124000) (0xc0008d8280) Stream added, broadcasting: 3
I0422 09:35:17.345576  127347 log.go:245] (0xc001124000) Reply frame received for 3
I0422 09:35:17.345587  127347 log.go:245] (0xc001124000) (0xc00118a1e0) Create stream
I0422 09:35:17.345591  127347 log.go:245] (0xc001124000) (0xc00118a1e0) Stream added, broadcasting: 5
I0422 09:35:17.362300  127347 log.go:245] (0xc001124000) Reply frame received for 5
I0422 09:35:17.362330  127347 log.go:245] (0xc001124000) (0xc00117c3c0) Create stream
I0422 09:35:17.362346  127347 log.go:245] (0xc001124000) (0xc00117c3c0) Stream added, broadcasting: 7
I0422 09:35:17.379163  127347 log.go:245] (0xc001124000) Reply frame received for 7
I0422 09:35:17.379309  127347 log.go:245] (0xc00117c3c0) (7) Writing data frame
I0422 09:35:17.383702  127347 log.go:245] (0xc001124000) Data frame received for 5
I0422 09:35:17.383718  127347 log.go:245] (0xc00118a1e0) (5) Data frame handling
I0422 09:35:17.405622  127347 log.go:245] (0xc001124000) Data frame received for 5
I0422 09:35:17.405640  127347 log.go:245] (0xc00118a1e0) (5) Data frame handling
I0422 09:35:17.405652  127347 log.go:245] (0xc00118a1e0) (5) Data frame sent

The stream IDs (1, 3, 5, 7) correspond to the SPDY streams created for stdin, stdout, stderr, and terminal resize during oc exec. These log messages appear on every single interaction (keystroke, prompt redraw, etc.).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Open Terminal in Container entry point and reproduce the issue using the listed OpenShift and oc exec steps. Trace how SPDY stream logs reach the interactive terminal, then verify that a shell session remains usable without the klog INFO messages during typing and prompt redraws.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript, vscode
Domain
cli, developer-experience, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.