aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2019-04-24 20:54:05 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-04-30 17:26:10 +0100
commit1b9c2032149488a2372d188a8ed3251e364f41cf (patch)
tree62704a570bb1481c6f97ba81bbc20831a337e061
parent4cb21e2c16b55e7506a3cefd9148ba4bf49dbce1 (diff)
downloadsos-1b9c2032149488a2372d188a8ed3251e364f41cf.tar.gz
[openstack_instack] add ansible.log
Collect /var/lib/mistral/config-download-latest/ansible.log which is an important log to be able to debug issues with Ansible playbooks. /var/lib/mistral/config-download-latest is a directory that exists anyway on the undercloud and is the place where the ansible logs is stored. Note: we don't want to collect the whole /var/lib/mistral because it contains sensitive informations like username/passwords/endpoints. rhbz#1702806 rhbz#1702802 Resolves: #1661 Signed-off-by: Emilien Macchi <emilien@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openstack_instack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py
index e3470f5a..15e6c384 100644
--- a/sos/plugins/openstack_instack.py
+++ b/sos/plugins/openstack_instack.py
@@ -22,7 +22,8 @@ NON_CONTAINERIZED_DEPLOY = [
CONTAINERIZED_DEPLOY = [
'/var/log/heat-launcher/',
'/home/stack/install-undercloud.log',
- '/home/stack/undercloud-install-*.tar.bzip2'
+ '/home/stack/undercloud-install-*.tar.bzip2',
+ '/var/lib/mistral/config-download-latest/ansible.log'
]