|
|
91217e |
From 92ddbb87500ccaa0cc61211c6d380c64477901b5 Mon Sep 17 00:00:00 2001
|
|
|
91217e |
From: Barbora Vassova <bvassova@redhat.com>
|
|
|
91217e |
Date: Tue, 27 Jul 2021 14:35:21 +0200
|
|
|
91217e |
Subject: [PATCH] [MigrationResults] collect info about conversions and
|
|
|
91217e |
upgrades
|
|
|
91217e |
|
|
|
91217e |
A new tiny plugin independent on leapp and convert2rhel is proposed.
|
|
|
91217e |
|
|
|
91217e |
It should collect /etc/migration-results with info about RHEL
|
|
|
91217e |
conversions and upgrades, whenever the file is present.
|
|
|
91217e |
|
|
|
91217e |
Resolves: #2631
|
|
|
91217e |
Related: #2627
|
|
|
91217e |
Relevant to: rhbz#1959598
|
|
|
91217e |
|
|
|
91217e |
Signed-off-by: Barbora Vassova <bvassova@redhat.com>
|
|
|
91217e |
---
|
|
|
91217e |
sos/plugins/migration_results.py | 21 +++++++++++++++++++++
|
|
|
91217e |
1 file changed, 21 insertions(+)
|
|
|
91217e |
create mode 100644 sos/plugins/migration_results.py
|
|
|
91217e |
|
|
|
91217e |
diff --git a/sos/plugins/migration_results.py b/sos/plugins/migration_results.py
|
|
|
91217e |
new file mode 100644
|
|
|
91217e |
index 0000000..cc7db2f
|
|
|
91217e |
--- /dev/null
|
|
|
91217e |
+++ b/sos/plugins/migration_results.py
|
|
|
91217e |
@@ -0,0 +1,21 @@
|
|
|
91217e |
+# This file is part of the sos project: https://github.com/sosreport/sos
|
|
|
91217e |
+#
|
|
|
91217e |
+# This copyrighted material is made available to anyone wishing to use,
|
|
|
91217e |
+# modify, copy, or redistribute it subject to the terms and conditions of
|
|
|
91217e |
+# version 2 of the GNU General Public License.
|
|
|
91217e |
+#
|
|
|
91217e |
+# See the LICENSE file in the source distribution for further information.
|
|
|
91217e |
+
|
|
|
91217e |
+from sos.plugins import Plugin, RedHatPlugin
|
|
|
91217e |
+
|
|
|
91217e |
+
|
|
|
91217e |
+class MigrationResults(Plugin, RedHatPlugin):
|
|
|
91217e |
+
|
|
|
91217e |
+ """Information about conversions and upgrades"""
|
|
|
91217e |
+
|
|
|
91217e |
+ plugin_name = 'migration_results'
|
|
|
91217e |
+ profiles = ('system',)
|
|
|
91217e |
+
|
|
|
91217e |
+ files = ('/etc/migration-results',)
|
|
|
91217e |
+
|
|
|
91217e |
+# vim: et ts=4 sw=4
|
|
|
91217e |
--
|
|
|
91217e |
1.8.3.1
|
|
|
91217e |
|