Blame SOURCES/sos-bz1470573-tripleo-add-ui-logs.patch

6775e6
From de9864a01cdd6ef9f27305990a34e9ca5b7baa5b Mon Sep 17 00:00:00 2001
6775e6
From: Honza Pokorny <me@honza.ca>
6775e6
Date: Thu, 6 Jul 2017 14:40:03 -0300
6775e6
Subject: [PATCH] [tripleo] Add ui logs (#1052)
6775e6
6775e6
We're using the "openstack" command to stream the ui log file to stdout.
6775e6
6775e6
Signed-off-by: Honza Pokorny <honza@redhat.com>
6775e6
Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
6775e6
---
6775e6
 sos/plugins/openstack_instack.py | 3 +++
6775e6
 1 file changed, 3 insertions(+)
6775e6
6775e6
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py
6775e6
index f990476..a2c1617 100644
6775e6
--- a/sos/plugins/openstack_instack.py
6775e6
+++ b/sos/plugins/openstack_instack.py
6775e6
@@ -83,6 +83,9 @@ class OpenStackInstack(Plugin):
6775e6
                             deployment + ".log",
6775e6
                             timeout=600)
6775e6
 
6775e6
+            self.add_cmd_output("openstack object save "
6775e6
+                                "tripleo-ui-logs tripleo-ui.logs --file -")
6775e6
+
6775e6
     def postproc(self):
6775e6
         protected_keys = [
6775e6
             "UNDERCLOUD_TUSKAR_PASSWORD", "UNDERCLOUD_ADMIN_PASSWORD",
6775e6
-- 
6775e6
2.7.5
6775e6