Skip to content
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

Randomly no log file being created in /var/log/containers. #6172

Closed
brycechesternewman opened this issue Oct 28, 2021 · 2 comments
Closed

Randomly no log file being created in /var/log/containers. #6172

brycechesternewman opened this issue Oct 28, 2021 · 2 comments
Labels
kind/external Issue in external component being tracked by containerd kind/question

Comments

@brycechesternewman
Copy link

Description

I will start with a questions which may direct this issue elsewhere. Is containerd responsible for creating a log file in /var/log/containers/?

Steps to reproduce the issue

  1. Using EKS Kube 1.20 create a POD.
  2. I can see the pod is running and working successfully since we call other services from within the POD. Sometimes the log file is created in /var/log/containers/ and sometimes not.

Describe the results you received and expected

Log file is always created in /var/log/containers/ when container starts.

What version of containerd are you using?

containerd github.com/containerd/containerd 1.4.1 c623d1b

Any other relevant information

runc version 1.0.0-rc93
commit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
spec: 1.0.2-dev
go: go1.15.8
libseccomp: 2.4.1

Linux ip- 5.4.117-58.216.amzn2.x86_64 #1 SMP Tue May 11 20:50:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Show configuration if it is related to CRI plugin.

No response

@fuweid
Copy link
Member

fuweid commented Nov 1, 2021

IIUC, the answer is no. It might be created by service like kubernetes.

REF: kubernetes/kubernetes#53022.

@fuweid fuweid added the kind/external Issue in external component being tracked by containerd label Nov 14, 2021
@fuweid
Copy link
Member

fuweid commented Nov 14, 2021

Since it is external issue, I am going to close it. Thanks for reporting this.

@fuweid fuweid closed this as completed Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/external Issue in external component being tracked by containerd kind/question
Projects
None yet
Development

No branches or pull requests

2 participants