Blame SOURCES/sos-bz1702806-openstack_instack-ansible-log.patch

ce36b2
From 1b9c2032149488a2372d188a8ed3251e364f41cf Mon Sep 17 00:00:00 2001
ce36b2
From: Emilien Macchi <emilien@redhat.com>
ce36b2
Date: Wed, 24 Apr 2019 20:54:05 -0400
ce36b2
Subject: [PATCH] [openstack_instack] add ansible.log
ce36b2
ce36b2
Collect /var/lib/mistral/config-download-latest/ansible.log which is an
ce36b2
important log to be able to debug issues with Ansible playbooks.
ce36b2
ce36b2
/var/lib/mistral/config-download-latest is a directory that exists
ce36b2
anyway on the undercloud and is the place where the ansible logs is
ce36b2
stored.
ce36b2
ce36b2
Note: we don't want to collect the whole /var/lib/mistral because it
ce36b2
contains sensitive informations like username/passwords/endpoints.
ce36b2
ce36b2
rhbz#1702806
ce36b2
rhbz#1702802
ce36b2
ce36b2
Resolves: #1661
ce36b2
ce36b2
Signed-off-by: Emilien Macchi <emilien@redhat.com>
ce36b2
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
ce36b2
---
ce36b2
 sos/plugins/openstack_instack.py | 3 ++-
ce36b2
 1 file changed, 2 insertions(+), 1 deletion(-)
ce36b2
ce36b2
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py
ce36b2
index e3470f5a..15e6c384 100644
ce36b2
--- a/sos/plugins/openstack_instack.py
ce36b2
+++ b/sos/plugins/openstack_instack.py
ce36b2
@@ -22,7 +22,8 @@ NON_CONTAINERIZED_DEPLOY = [
ce36b2
 CONTAINERIZED_DEPLOY = [
ce36b2
         '/var/log/heat-launcher/',
ce36b2
         '/home/stack/install-undercloud.log',
ce36b2
-        '/home/stack/undercloud-install-*.tar.bzip2'
ce36b2
+        '/home/stack/undercloud-install-*.tar.bzip2',
ce36b2
+        '/var/lib/mistral/config-download-latest/ansible.log'
ce36b2
 ]
ce36b2
 
ce36b2
 
ce36b2
-- 
ce36b2
2.17.2
ce36b2