-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to Replay Interactive k8s Sessions, Web UI due to missing event field #4055
Comments
This |
Best: 1 |
Looks like the issue might originate from here, https://github.com/gravitational/teleport/blob/master/lib/kube/proxy/forwarder.go#L563-L568 |
Also, this event is missing some other fields {
server_id
server_addr
server_hostname
} |
awly
pushed a commit
that referenced
this issue
Jul 15, 2020
Added `interactive` as needed. Added `server_hostname` and `server_addr` referring to the k8s endpoint. Added `session_start` and `session_end` for timestamps. Added `participants` to mimic SSH sessions. Fixes #4055
awly
pushed a commit
that referenced
this issue
Jul 17, 2020
Added `interactive` as needed. Added `server_hostname` and `server_addr` referring to the k8s endpoint. Added `session_start` and `session_end` for timestamps. Added `participants` to mimic SSH sessions. Fixes #4055
awly
pushed a commit
that referenced
this issue
Jul 17, 2020
Added `interactive` as needed. Added `server_hostname` and `server_addr` referring to the k8s endpoint. Added `session_start` and `session_end` for timestamps. Added `participants` to mimic SSH sessions. Fixes #4055
awly
pushed a commit
that referenced
this issue
Jul 23, 2020
Added `interactive` as needed. Added `server_hostname` and `server_addr` referring to the k8s endpoint. Added `session_start` and `session_end` for timestamps. Added `participants` to mimic SSH sessions. Fixes #4055
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
What happened:
When running an interactive k8s session through Teleport w/ k8s support enabled, the session is labeled as non-interactive, and you are unable to replay through the Teleport web UI. If you downgrade the cluster to 4.2.10, the session is playable in the web UI. If you use tsh (4.2.10 and 4.3), the session is playable.
What you expected to happen:
Interactive k8s sessions are recorded and accessible via Teleport web UI.
How to reproduce it (as minimally and precisely as possible):
kubectl run -i --tty --rm debug2 --image=busybox --restart=Never -- sh
.tsh play <session-id>
.Environment
Teleport version (use
teleport version
): 4.3.0 EnterpriseTsh version (use
tsh version
): 4.3.0OS (e.g. from
/etc/os-release
): Ubuntu 18.04.4 LTSWhere are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): GCP + Azure AKS
Browser environment
Relevant Debug Logs If Applicable
tsh --debug
teleport --debug
session.end event:
The text was updated successfully, but these errors were encountered: