Comment 8 for bug 1482382

Revision history for this message
prashkre (prashkre) wrote :

Same issue is seen in my environment i.e. volume details are masked by stdout = strutils.mask_password(stdout) at [0] when "password" string exists in its name. In cinder, oslo_concurrency/processutils.ssh_execute() at [1] is being invoked at many places to run a command over ssh session and parse the returned output from it to get required information but due to above masking behavior before output is parsed(outside of processutils.ssh_execute()) causing an issue.

[0] https://github.com/openstack/oslo.concurrency/blob/master/oslo_concurrency/processutils.py#L540
[1] https://github.com/openstack/oslo.concurrency/blob/master/oslo_concurrency/processutils.py#L504