diff --git a/containerd.spec b/containerd.spec index 726a85bcb5db9032bc3cb3a7d64568e18bcfba8d..22e7efbd5e8dfbf44a0907024af7756b6f5ab812 100644 --- a/containerd.spec +++ b/containerd.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Version: 1.6.22 Name: containerd -Release: 17 +Release: 18 Summary: An industry-standard container runtime License: ASL 2.0 URL: https://containerd.io @@ -68,6 +68,12 @@ install -D -p -m 0644 %{S:7} %{buildroot}%{_sysconfdir}/containerd/config.toml %exclude %{_bindir}/containerd-stress %changelog +* Mon Jun 30 2025 dongyuzhen - 1.6.22-18 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:do not report error log when skip otlp plugin + * Thu Jun 19 2025 dongyuzhen - 1.6.22-17 - Type:bugfix - ID:NA diff --git a/git-commit b/git-commit index 6d4eb36a42d4c4cff0b9f0ffeca33236479b5e4e..b48f282f4273bbe302cf95d8ff31313b4cf8bae7 100644 --- a/git-commit +++ b/git-commit @@ -1 +1 @@ -8943cbda2c835ae830ac8cdbb200fd5a87935825 +4fb725c5e82aec723cc3ab94125b87f120fd0023 diff --git a/patch/0041-containerd-do-not-report-error-log-when-skip-otlp-pl.patch b/patch/0041-containerd-do-not-report-error-log-when-skip-otlp-pl.patch new file mode 100644 index 0000000000000000000000000000000000000000..5b165ab413d1f2b38938fcb7a1598bea86e30f30 --- /dev/null +++ b/patch/0041-containerd-do-not-report-error-log-when-skip-otlp-pl.patch @@ -0,0 +1,25 @@ +From 655fff1e4966163870728f12f2a5f81e017544e2 Mon Sep 17 00:00:00 2001 +From: zhongjiawei +Date: Thu, 12 Jun 2025 14:42:14 +0800 +Subject: [PATCH] containerd:do not report error log when skip otlp plugin + +--- + tracing/plugin/otlp.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tracing/plugin/otlp.go b/tracing/plugin/otlp.go +index 95bf5509..8f921bef 100644 +--- a/tracing/plugin/otlp.go ++++ b/tracing/plugin/otlp.go +@@ -155,7 +155,7 @@ func newTracer(ic *plugin.InitContext) (io.Closer, error) { + for id, pctx := range ls { + p, err := pctx.Instance() + if err != nil { +- log.G(ctx).WithError(err).Errorf("failed to initialize a tracing processor %q", id) ++ log.G(ctx).WithError(err).Warnf("failed to initialize a tracing processor %q", id) + continue + } + proc := p.(sdktrace.SpanProcessor) +-- +2.33.0 + diff --git a/series.conf b/series.conf index 4a76f494b40687c3246c543a1deb31e350585de1..b3f86a6b025bb13ee5a30102c6b38ae77a3eb00d 100644 --- a/series.conf +++ b/series.conf @@ -37,3 +37,4 @@ patch/0037-fix-build-error-for-loong64.patch patch/0038-containerd-fix-CVE-2024-40635.patch patch/0039-containerd-Prevent-panic-in-Docker-pusher.patch patch/0040-containerd-client-fix-returned-error-in-the-defer-function.patch +patch/0041-containerd-do-not-report-error-log-when-skip-otlp-pl.patch