-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Warning - Skipped session recording #13640
Comments
I'm able to consistently reproduce this by terminating the Teleport Node while an SSH session is in progress, then re-starting the Teleport Node. Edit: Interestingly, if you end the session normally but terminate the session before it manages to complete the upload, the upload will succeed on restart. |
@gabrielcorado This might be caused by your changes in #12916 |
This is caused because now we create an empty file when the session starts to "reserve" disk space. If the node is terminated before the complete upload is performed, this empty file is left, and when the node is started, it will fail while uploading this empty part file. The only improvement I can see here is to update the UploadCompleter to ignore those empty part files without producing a warning message. If you have any improvements in mind, let me know. |
We shouldn't be leaving behind empty files. This can lead to inode exhaustion. |
Just a note: this happens for desktop access recordings too, so make sure we validate those when we're putting together a fix. (@ibeckermayer or I can help test) |
I see this warning printed in Teleport logs after closing SSH session:
Files and the content:
Bug details:
The text was updated successfully, but these errors were encountered: