Bug 1439938

Summary: Encrypted password from Ansible Playbook service dialog needs to be decrypted
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, gmccullo, jhardy, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible:service
Fixed In Version: 5.8.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1438923 Environment:
Last Closed: 2017-05-31 14:49:40 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: 1438923    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-06 22:41:22 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/fee3b18e8d151ee2bd6dd9dd8eefa54614ac0cf7

commit fee3b18e8d151ee2bd6dd9dd8eefa54614ac0cf7
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Apr 6 10:19:04 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 6 18:37:49 2017 -0400

    Merge pull request #14636 from bzwei/playbook_password_decrypt
    
    Parse password field from dialog and decrypt before job launch
    (cherry picked from commit 9bb8653267137d5cf03c5d36aeea17e8c9236f75)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1439938

 app/models/service_ansible_playbook.rb       | 17 ++++++++-------
 spec/models/service_ansible_playbook_spec.rb | 31 +++++++++++++++++-----------
 2 files changed, 29 insertions(+), 19 deletions(-)

Comment 3 Shveta 2017-04-20 23:05:30 UTC
Decrypted passwords are passed to playbook.
Verified in 5.8.0.11-beta2.20170418170914_a53d2a7

Comment 5 errata-xmlrpc 2017-05-31 14:49:40 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:1367