Blame SOURCES/sos-bz1236101-ovirt-engine-config-domain-list.patch

c81b6a
From ae98e1e119d2abfe771cfa6c286e2e4e177d86d7 Mon Sep 17 00:00:00 2001
c81b6a
From: Jake Hunsaker <jhunsake@redhat.com>
c81b6a
Date: Tue, 16 Dec 2014 11:26:50 -0500
c81b6a
Subject: [PATCH] [ovirt] Collect engine tunables and domain information.
c81b6a
c81b6a
Currently sos does not capture engine-config values or domain information.
c81b6a
We should capture both of these as the tunables can help in troubleshooting.
c81b6a
c81b6a
Similarly the domain information can help track AD/IPA issues.
c81b6a
c81b6a
These can currently be dug out from the DB dump, however having them in a plaintext
c81b6a
file makes checking these much faster and easier, and a DB is not always available.
c81b6a
c81b6a
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
c81b6a
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
c81b6a
---
c81b6a
 sos/plugins/ovirt.py | 3 +++
c81b6a
 1 file changed, 3 insertions(+)
c81b6a
c81b6a
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py
c81b6a
index b097d93..9436ac6 100644
c81b6a
--- a/sos/plugins/ovirt.py
c81b6a
+++ b/sos/plugins/ovirt.py
c81b6a
@@ -83,6 +83,9 @@ class Ovirt(Plugin, RedHatPlugin):
c81b6a
 
c81b6a
         self.add_forbidden_path('/etc/ovirt-engine/.pgpass')
c81b6a
         self.add_forbidden_path('/etc/rhevm/.pgpass')
c81b6a
+        # Copy all engine tunables and domain information
c81b6a
+        self.add_cmd_output("engine-config --all")
c81b6a
+        self.add_cmd_output("engine-manage-domains list")
c81b6a
         # Copy engine config files.
c81b6a
         self.add_copy_spec([
c81b6a
             "/etc/ovirt-engine",
c81b6a
-- 
c81b6a
1.8.3.1
c81b6a