diff options
-rw-r--r-- | sos/plugins/openstack_instack.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py index 15e6c384..6a42df54 100644 --- a/sos/plugins/openstack_instack.py +++ b/sos/plugins/openstack_instack.py @@ -23,7 +23,8 @@ CONTAINERIZED_DEPLOY = [ '/var/log/heat-launcher/', '/home/stack/install-undercloud.log', '/home/stack/undercloud-install-*.tar.bzip2', - '/var/lib/mistral/config-download-latest/ansible.log' + '/var/lib/mistral/config-download-latest/ansible.log', + '/home/stack/.tripleo/history', ] @@ -127,6 +128,9 @@ class OpenStackInstack(Plugin): json_regexp = r'((?m)"(%s)": )(".*?")' % "|".join(protected_json_keys) self.do_file_sub("/home/stack/instackenv.json", json_regexp, r"\1*********") + self.do_file_sub('/home/stack/.tripleo/history', + r'(password=)\w+', + r'\1*********') class RedHatRDOManager(OpenStackInstack, RedHatPlugin): |