aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2014-12-16 11:26:50 -0500
committerAdam Stokes <adam.stokes@ubuntu.com>2015-05-15 11:59:06 -0400
commitae98e1e119d2abfe771cfa6c286e2e4e177d86d7 (patch)
tree129cf8553c6ca0e86385e9f37c8a44416c9ed4b5
parent0d2dd0d9ccc3242dd2dd4513924c8f308000242e (diff)
downloadsos-ae98e1e119d2abfe771cfa6c286e2e4e177d86d7.tar.gz
[ovirt] Collect engine tunables and domain information.
Currently sos does not capture engine-config values or domain information. We should capture both of these as the tunables can help in troubleshooting. Similarly the domain information can help track AD/IPA issues. These can currently be dug out from the DB dump, however having them in a plaintext file makes checking these much faster and easier, and a DB is not always available. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/ovirt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py
index b097d930..9436ac6e 100644
--- a/sos/plugins/ovirt.py
+++ b/sos/plugins/ovirt.py
@@ -83,6 +83,9 @@ class Ovirt(Plugin, RedHatPlugin):
self.add_forbidden_path('/etc/ovirt-engine/.pgpass')
self.add_forbidden_path('/etc/rhevm/.pgpass')
+ # Copy all engine tunables and domain information
+ self.add_cmd_output("engine-config --all")
+ self.add_cmd_output("engine-manage-domains list")
# Copy engine config files.
self.add_copy_spec([
"/etc/ovirt-engine",