Comment 7 for bug 1516765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/liberty)

Reviewed: https://review.openstack.org/247825
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cf197ec2d682fb4da777df2291ca7ef101f73b77
Submitter: Jenkins
Branch: stable/liberty

commit cf197ec2d682fb4da777df2291ca7ef101f73b77
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 16 13:11:09 2015 -0800

    xen: mask passwords in volume connection_data dict

    The connection_data dict can have credentials in it, so we need to scrub
    those before putting the stringified dict into the StorageError message
    and raising that up and when logging the dict.

    Note that strutils.mask_password converts the dict to a string using
    six.text_type so we don't have to do that conversion first.

    SecurityImpact

    Change-Id: Ic5f4d4c26794550a92481bf2b725ef5eafa581b2
    Closes-Bug: #1516765
    (cherry picked from commit 8b289237ed6d53738c22878decf0c429301cf3d0)