OpenStack library for all concurrency-related code
Go to file
prashkre 21ae27e66d 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
2018-02-22 06:31:01 +00:00
doc/source switch from oslosphinx to openstackdocstheme 2017-07-11 13:49:58 -04:00
oslo_concurrency Mask passwords only when command execution fails 2018-02-22 06:31:01 +00:00
releasenotes Imported Translations from Zanata 2018-01-27 06:56:55 +00:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:01:16 -04:00
.gitignore Add reno for releasenotes management 2016-05-20 17:56:23 +03:00
.gitreview exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.testr.conf Move out of the oslo namespace package 2014-11-14 17:17:25 -05:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
CONTRIBUTING.rst Update doc links in CONTRIBUTING.rst and README.rst 2018-01-16 01:15:17 -08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
README.rst Update doc links in CONTRIBUTING.rst and README.rst 2018-01-16 01:15:17 -08:00
requirements.txt Updated from global requirements 2017-12-19 01:38:05 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
setup.py Updated from global requirements 2017-03-03 00:02:48 +00:00
test-requirements.txt Updated from global requirements 2018-01-24 01:24:49 +00:00
tox.ini add bandit to pep8 job 2017-12-12 10:49:20 +08:00

Team and repository tags

image

oslo.concurrency

Latest Version

Downloads

The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.