-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reopen log file support #1450
Reopen log file support #1450
Conversation
/test all |
I will add some synchronization, lack of which may be cause of the failures. Hold on restarting tests before I update the PR. |
server/container_reopen_log.go
Outdated
} | ||
defer controlFile.Close() | ||
|
||
_, err = fmt.Fprintf(controlFile, "%d %d %d\n", 2, 0, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be done in one line, since you are never resetting err field.
looking into this |
critest_fedora failure seems legit somehow:
Looking at integration tests now |
/test integration |
@runcom Yeah, I am adding sync code to fix that critest failure but the others don't look related. |
Signed-off-by: Mrunal Patel <[email protected]>
Updated. |
/test critest |
@runcom The critests pass here now. |
I'll do another round just to check if there are no races anymore. |
/test critest |
okay critests are fine here now. |
/test integration |
crictl images is failing because we are returning empty Image structs:
|
#1415 seems to have broken us. If I revert it then everything is fine. |
Signed-off-by: Mrunal Patel <[email protected]>
This version has an additional test for container log reopen. Signed-off-by: Mrunal Patel <[email protected]>
Added a commit for the list image issue. |
/test all |
/test critest_rhel |
@adelton this should fix the crictl images issue for you. |
LGTM |
Do you mean kubernetes-sigs/cri-tools#265? I confirm that with this change, I no longer see the |
- What I did
Implemented container reopen log.
- How I did it
Added code to call conmon ctl file with the message to reopen log file.
- How to verify it
crictl tests pass
- Description for the changelog