Actions
Bug #52484
closedcephadm: add thread ident to log messages
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
log lines for multiple calls async calls to bin/cephadm are intermingled within the /var/lib/ceph/cephadm.log file
likewise, the context of which command (with args) that generated the log lines is also missing.
2021-08-25 08:21:53,983 DEBUG Running command: /usr/bin/podman version --format {{.Client.Version}} 2021-08-25 08:21:54,052 DEBUG /usr/bin/podman: 3.2.3 2021-08-25 08:21:54,178 DEBUG Running command: sysctl -a 2021-08-25 08:21:54,214 DEBUG Running command: sysctl -a 2021-08-25 08:22:54,644 DEBUG Running command: /usr/bin/podman version --format {{.Client.Version}} 2021-08-25 08:22:54,708 DEBUG /usr/bin/podman: 3.2.3 2021-08-25 08:22:54,831 DEBUG Running command: sysctl -a 2021-08-25 08:22:54,863 DEBUG Running command: sysctl -a 2021-08-25 08:23:55,304 DEBUG Running command: /usr/bin/podman version --format {{.Client.Version}} 2021-08-25 08:23:55,375 DEBUG /usr/bin/podman: 3.2.3 2021-08-25 08:23:55,467 DEBUG Running command: /usr/bin/podman stats --format {{.ID}},{{.MemUsage}} --no-stream 2021-08-25 08:23:55,541 DEBUG /usr/bin/podman: c111790c7b7f,46.96MB / 135.1GB 2021-08-25 08:23:55,541 DEBUG /usr/bin/podman: e368d9286f4a,61.28MB / 135.1GB 2021-08-25 08:23:55,542 DEBUG /usr/bin/podman: e6f89a86ff1f,60.31MB / 135.1GB 2021-08-25 08:23:55,630 DEBUG Running command: systemctl is-enabled ceph-beeb434c-9e41-42c7-b5dd-e2f2263dc540@crash.host3 2021-08-25 08:23:55,647 DEBUG systemctl: enabled 2021-08-25 08:23:55,649 DEBUG Running command: systemctl is-active ceph-beeb434c-9e41-42c7-b5dd-e2f2263dc540@crash.host3 2021-08-25 08:23:55,660 DEBUG systemctl: active 2021-08-25 08:23:55,662 DEBUG Running command: /usr/bin/podman inspect --format {{.Id}},{{.Config.Image}},{{.Image}},{{.Created}},{{index .Config.Labels "io.ceph.version"}} ceph-beeb434c-9e41-42c7-b5dd-e2f2263dc540-crash-host3 2021-08-25 08:23:55,745 DEBUG /usr/bin/podman: c111790c7b7fc1d24350d8c083b83be79b53388b92e3ebc3c8ec0b8eb7c3de39,docker.io/ceph/daemon-base@sha256:8aaf4224877028e18a8247de2d341f38cacb2cd6cb2b744dbde978a7c9d9b694,909bfb98792e0c3ba3c3cdbc016b2aac9e7e4f94f6ad5d62e19751e98b6c13ad,2021-08-19 14:25:29.61914488 -0600 MDT, 2021-08-25 08:23:55,832 DEBUG Running command: /usr/bin/podman image inspect 909bfb98792e0c3ba3c3cdbc016b2aac9e7e4f94f6ad5d62e19751e98b6c13ad --format {{.RepoDigests}} 2021-08-25 08:23:55,917 DEBUG /usr/bin/podman: [docker.io/ceph/daemon-base@sha256:8aaf4224877028e18a8247de2d341f38cacb2cd6cb2b744dbde978a7c9d9b694] 2021-08-25 08:23:55,993 DEBUG Running command: /usr/bin/podman exec c111790c7b7fc1d24350d8c083b83be79b53388b92e3ebc3c8ec0b8eb7c3de39 ceph -v 2021-08-25 08:23:56,661 DEBUG /usr/bin/podman: ceph version 17.0.0-7078-gfcdf7f37 (fcdf7f3791fd331c296d775aa6ea07fb1e5fdd4c) quincy (dev)
Actions