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