-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When SSHing into a KubevirtCI, long terminal commands are not wrapped, therefore looking weird #1280
Comments
/label good-first-issue |
The issue you're experiencing with long terminal commands not wrapping correctly when SSHing into a KubeVirtCI node could be related to terminal settings or configurations. Here are a few things you can check or try:
By checking these configurations and settings, you may be able to resolve the issue with command wrapping in your SSH sessions. |
Seems like a PTY issue along with
Resizing the terminal doesn't do anything. |
TBH this may be a general RFE for virtctl console (virtctl ssh seems to be aware according to dosu) Back to the subject, for the kubevirtci ssh script, I don't think we're aware of SIGWINCH or try to do any resizing at all. |
@iholder101 - does this belong more to kubevirt/kubevirtci? I can transfer the issue if you want? |
Yes, feel free to do so if you think that's more appropriate! Thanks! |
FYI @akalenyu (this interested me). The only feasible way I can think of achieving this in the current setup where the serial console is accessed through a virt-handler unix socket connection is to execute Another way (hypothetically speaking) is to change the way by which virt-handler communicates with the device, making it a device on its side instead of a unix socket and then sending ioctl to that device. |
What happened:
When SSHing into a KubevirtCI node, if the command is long enough, it is not warpped by instead being messy overriding the beginning of the command:
This is how it looks like:
What you expected to happen:
The command to be wrapped into a new line in a human-readable way.
How to reproduce it (as minimally and precisely as possible):
As explained above. 100% reproducible.
Environment:
virtctl version
): v1.3 (main)The text was updated successfully, but these errors were encountered: