Sandro Bonazzola has uploaded a new change for review.

Change subject: sos: hosts: collect hosted-engine data
......................................................................

sos: hosts: collect hosted-engine data

If sos >= 3.2 is found on the host enable also the
ovirt-hosted-engine plugin which is available since
sos-3.2_alpha.
sos 3.2 is available on Fedora and EL 7.1 and will be
available in EL 6.7.

Change-Id: I8e456262f2242d6aa73449e57c81246eaf824ab3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1208113
Signed-off-by: Sandro Bonazzola <[email protected]>
(cherry picked from commit 4592c6c18354270cb80d0d3c682b49d27dffa96f)
---
M src/__main__.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector 
refs/changes/93/39493/1

diff --git a/src/__main__.py b/src/__main__.py
index 4e1c8e7..6c220b0 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -693,7 +693,7 @@
 VERSION=`/bin/rpm -q --qf '[%%{{VERSION}}]' sos | /bin/sed 's/\.//'`;
 if [ "$VERSION" -ge "32" ]; then
     /usr/sbin/sosreport {option} --batch --all-logs \
-        -o logs,%(reports)s,%(reports3)s
+        -o logs,%(reports)s,%(reports3)s,ovirt_hosted_engine
 elif [ "$VERSION" -ge "30" ]; then
     /usr/sbin/sosreport {option} --batch -k logs.all_logs=True \
         -o logs,%(reports)s,%(reports3)s


-- 
To view, visit https://gerrit.ovirt.org/39493
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e456262f2242d6aa73449e57c81246eaf824ab3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: ovirt-log-collector-3.5
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to