Blame SOURCES/sos-bz1767361-ovirt-hosted-cockpit-logs.patch

4087f6
From 8203bdeb77ac0d3f32f1a88304b9a34de66ae7b6 Mon Sep 17 00:00:00 2001
4087f6
From: Gobinda Das <godas@redhat.com>
4087f6
Date: Sat, 10 Aug 2019 13:36:36 +0530
4087f6
Subject: [PATCH] [ovirt_hosted_engine] Add gluster deployment and cleanup log
4087f6
4087f6
Resolves: #1748
4087f6
4087f6
Signed-off-by: Gobinda Das <godas@redhat.com>
4087f6
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
4087f6
---
4087f6
 sos/plugins/ovirt_hosted_engine.py | 6 ++++++
4087f6
 1 file changed, 6 insertions(+)
4087f6
4087f6
diff --git a/sos/plugins/ovirt_hosted_engine.py b/sos/plugins/ovirt_hosted_engine.py
4087f6
index 3d1bfe36c..fefc02947 100644
4087f6
--- a/sos/plugins/ovirt_hosted_engine.py
4087f6
+++ b/sos/plugins/ovirt_hosted_engine.py
4087f6
@@ -48,6 +48,12 @@ def setup(self):
4087f6
             '/var/log/ovirt-hosted-engine-ha/agent.log',
4087f6
             '/var/log/ovirt-hosted-engine-ha/broker.log',
4087f6
         ])
4087f6
+
4087f6
+        # Add gluster deployment and cleanup log
4087f6
+        self.add_copy_spec([
4087f6
+            '/var/log/cockpit/ovirt-dashboard'
4087f6
+        ])
4087f6
+
4087f6
         # Add older ovirt-hosted-engine-ha log files only if requested
4087f6
         if self.get_option('all_logs'):
4087f6
             self.add_copy_spec(self.HA_LOG_GLOB)