-
Notifications
You must be signed in to change notification settings - Fork 459
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
crictl logs broken (1.9) #318
Comments
We gladly jump in to backport things if that would help. |
Which fix are you talking about? It seems to be a crio bug to me, which doesn't return LogPath in |
@Random-Liu I skimmed the history and saw a few commits related to logs. I am not sure if it's a crio bug as it works with |
@vrothberg Could you show the output of |
By the way, with master branch, logs won't work with current examples. This is because logPath and logDirectory is not set. Opened #321 to reflect recent changes. |
I took some more time looking into the issue and realized that logs work when using docker, so I begin to doubt my hypothesis that it's a crictl issue. @feiskyer Below are the logs (when using CRI-O). The
|
Closing the issue as it turns out to be a crio issue: cri-o/cri-o#1591 (comment) |
Hi, any updates ? |
this should be fixed, and 1.9 is out of support. are you encountering this in a newer version? |
Hi @haircommander . thanks for the reply |
crictl logs
yields the following error unconditionally:We can reproduce this in each of our deployments and also following the minimal example in the docs. We looked inside the issue and it seems that crictl isn't able to get the container's
logPath
right (it's always left empty). I have tested it with crio 1.9, which is setting the log files accordingly (I can see them in the logs and access them from the host).I've seen some fixes for critools 1.10 indicating that the issue has been fixed. If so, is there any chance we can backport them to 1.9?
Unrelated to the issue but following the backporting question: Is there a policy or process established for critools to decide which commits should be backported? We're trying to roll fast and will update to K8s 1.10 in the coming months, but we usually need a few months of time.
The text was updated successfully, but these errors were encountered: