blob: 80f38cb5516c449fe694d257d2f0d82940b8b0cc [file] [log] [blame]
From 1eddeb3da0c0c9b7f5957147869a6452b63bacb0 Mon Sep 17 00:00:00 2001
From: Samuel Karp <samuelkarp@google.com>
Date: Tue, 24 Sep 2024 15:16:47 -0700
Subject: [PATCH] [containerd] record deprecation warnings
Starting with containerd 1.6.27 and 1.7.12, warnings are issued for the
use of deprecated features. The new `ctr deprecations list` command can
be used to retrieve warnings.
Closes: https://github.com/sosreport/sos/issues/3786
Signed-off-by: Samuel Karp <samuelkarp@google.com>
---
sos/report/plugins/containerd.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/sos/report/plugins/containerd.py b/sos/report/plugins/containerd.py
index ecba988721..a8122ed683 100644
--- a/sos/report/plugins/containerd.py
+++ b/sos/report/plugins/containerd.py
@@ -23,6 +23,7 @@ def setup(self):
])
self.add_cmd_output('containerd config dump')
+ self.add_cmd_output('ctr deprecations list')
# collect the containerd logs.
self.add_journal(units='containerd')