oslo.concurrency/oslo_concurrency
prashkre 0c4718fcb7 Mask passwords only when command execution fails
At many places, processutils.ssh_execute() is being invoked to run
a command over ssh and output returned is parsed to get appropriate
information. In this flow, unsanitized output is being expected
where processutils.ssh_execute() was invoked but found that
output like volume details(containing "password" string in its name)
is being masked away with strutils.mask_password(stdout) even though
no error occured during command execution.

This is regression issue from patch[0]. In this fix, stdout and stderr
in processutils.ssh_execute() will be masked only when
ProcessExecutionError exception is thrown i.e. command execution failed
due to some reasons.

[0] https://github.com/openstack/oslo.concurrency/commit/
ae9e05bfc3

Change-Id: I2ce344330905eef437ef3f89a2a01169a30df8ab
Closes-Bug: #1482382
(cherry picked from commit 21ae27e66d)
2018-02-23 11:40:40 +00:00
..
fixture Use versionadded and versionchanged in doc 2015-11-05 13:31:40 +01:00
locale Imported Translations from Zanata 2017-07-12 07:34:06 +00:00
tests Mask passwords only when command execution fails 2018-02-23 11:40:40 +00:00
__init__.py Move out of the oslo namespace package 2014-11-14 17:17:25 -05:00
_i18n.py Remove log translations 2017-07-11 02:40:05 +00:00
lockutils.py Add debug log to indicate when external lock is taken 2017-07-26 17:54:27 +03:00
opts.py Bump to hacking 0.10 2015-01-12 21:11:16 +00:00
prlimit.py processutils: add support for missing process limits 2016-04-19 14:35:24 +01:00
processutils.py Mask passwords only when command execution fails 2018-02-23 11:40:40 +00:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00
watchdog.py Use versionadded and versionchanged in doc 2015-11-05 13:31:40 +01:00