Bug 1458434

Summary: Use $log.log_hashes to filter out sensitive data in Ansible Playbook service.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvisioningAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: akarol, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1458381 Environment:
Last Closed: 2017-08-02 17:25:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1458381    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-02 22:51:31 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/d795d2047afee4d73e4733a6569a1b3f49d95e55

commit d795d2047afee4d73e4733a6569a1b3f49d95e55
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Apr 27 14:26:44 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 2 18:41:37 2017 -0400

    Merge pull request #14878 from lfu/ansible_log_hashes
    
    Use $log.log_hashes to filter out sensitive data.
    (cherry picked from commit 6973bdac2e159bbe836e86d851bdd430ca7a2979)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458434

 app/models/service_ansible_playbook.rb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comment 3 CFME Bot 2017-06-06 16:38:29 UTC
New commit detected on ManageIQ/manageiq-gems-pending/fine:
https://github.com/ManageIQ/manageiq-gems-pending/commit/8f6cd84d1290af555639ac279d408d9ca605b524

commit 8f6cd84d1290af555639ac279d408d9ca605b524
Author:     Jason Frey <fryguy9>
AuthorDate: Tue May 9 11:08:13 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jun 6 12:34:38 2017 -0400

    Merge pull request #135 from lfu/log_hashes
    
    Let VMDBLogger.log_hashes filter out the sensitive value.
    (cherry picked from commit 799ba5629dc9159a35e61f4d7730af704f874b03)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458434

 lib/gems/pending/util/vmdb-logger.rb |  8 ++++++--
 spec/util/vmdb-logger_spec.rb        | 38 ++++++++++++++++++++++++++++++++----
 2 files changed, 40 insertions(+), 6 deletions(-)

Comment 4 luke couzens 2017-06-28 13:17:29 UTC
Verified in 5.8.1.0

Comment 6 errata-xmlrpc 2017-08-02 17:25:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758