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

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