Bug 1553484

Summary: [Embedded Ansible] Ansible Service does not pick up credentials from Service Dialog instead uses default credentials
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Drew Bomhof <dbomhof>
Status: CLOSED ERRATA QA Contact: Kedar Kulkarni <kkulkarn>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, dajohnso, eclarizi, ekin.meroglu, gmccullo, hkataria, lavenel, mkanoor, mpovolny, obarenbo, pakotvan, simaishi, sshveta, tfitzger
Target Milestone: GAKeywords: Regression, ZStream
Target Release: 5.9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed
Fixed In Version: 5.9.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1548562 Environment:
Last Closed: 2018-04-11 17:46:34 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: 1548562    
Bug Blocks:    

Comment 3 Shveta 2018-03-16 17:34:37 UTC
Fixed for OPS UI in 5.9.1.0.20180314203929_67fd99d.
OPS UI used credentials provided at the time of ordering .
but not for SUI .
SUI does not override the credentials provided at the time of ordering.

Can be checked at appliance : https://10.8.198.209/
Order service ansible playbook from SUI .
Always "machine credential" will be displayed even when you provide "CFME default credential" at the time of ordering

Comment 4 eclarizi 2018-03-16 17:49:27 UTC
This appears to be an SUI display issue only and unrelated to the original problem of the correct values not actually being passed when ordering the service.

If you look in the ops UI at the request, you can see that the correct value (8 for "machine credential" and 7 for "CFME Default Credential") is what is being passed.

I think we should open a separate BZ for the SUI display issue, what do you think Shveta?

Comment 5 Shveta 2018-03-16 17:53:38 UTC
Checked OPS UI for corresponding service in SUI , OPS UI shows correct credentials . Display only issue in SUI .
Opening a new bug to track that .

Comment 6 Kedar Kulkarni 2018-03-19 06:08:33 UTC
Double checked. The Credentials selected in order dialog is correctly applied while execution via both SUI and OPS UI. Display issue as per Comment 5 is present and needs to be rectified.

Comment 9 errata-xmlrpc 2018-04-11 17:46:34 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/RHBA-2018:0556