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

conflicting log-opts and logrotate config? #14

Open
mwennrich opened this issue Jun 1, 2021 · 1 comment · May be fixed by #15
Open

conflicting log-opts and logrotate config? #14

mwennrich opened this issue Jun 1, 2021 · 1 comment · May be fixed by #15
Assignees

Comments

@mwennrich
Copy link

see gardener/gardener-extension-os-suse-chost#8
gardener/gardener-extension-os-suse-chost#6

@mwennrich mwennrich self-assigned this Jun 1, 2021
@mreiger
Copy link

mreiger commented Jun 1, 2021

The os-metal-extension PR #15 deletes the log rotation settings from docker's daemon.json file, but the reload of the docker daemon apparently does not happen?

(Maybe it does after all; the timestamps seem to indicate that:

root@shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz:~# systemctl status docker
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-06-01 20:57:58 CEST; 8min ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 21302 (dockerd)
      Tasks: 40
     Memory: 61.3M
     CGroup: /system.slice/docker.service
             └─21302 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.334608785+02:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.334758478+02:00" level=info msg="Loading containers: start."
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.335984518+02:00" level=error msg="failed to load container mount" container=4f2c335d68823a9eedb739c4a19b9cec2a36c031c2c04a4d74d5213f0470df6c error="mount does not exist"
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.545150730+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.634689303+02:00" level=info msg="Loading containers: done."
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.657436245+02:00" level=info msg="Docker daemon" commit=8728dd2 graphdriver(s)=overlay2 version=20.10.6
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.657493597+02:00" level=info msg="Daemon has completed initialization"
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz systemd[1]: Started Docker Application Container Engine.
Jun 01 20:57:58 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:58.681011762+02:00" level=info msg="API listen on /run/docker.sock"
Jun 01 20:57:59 shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz dockerd[21302]: time="2021-06-01T20:57:59.480427762+02:00" level=info msg="ignoring event" container=8fb9df018bfa4040777bbe237308023f816f6e5773f4353595bcb476dcfe28b8 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
root@shoot--p6qzcn--mrei-dev-group-0-7cdcc-v2wkz:~# ls -l /etc/docker/
total 8
-rw-r--r-- 1 root root  89 Jun  1 20:57 daemon.json
-rw------- 1 root root 244 Jun  1 20:51 key.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants