Description of problem: Ansible Service does not pick up credentials from Service Dialog instead uses default credentials which were set at the time of Service Catalog Item created. This problem is persistent in both OPS UI and Service UI. Version-Release number of selected component (if applicable): 5.9.0.22 How reproducible: 100% Steps to Reproduce: 1.Enable Embedded Ansible Role 2.Add Ansible Playbooks Repository 3.Add Credentials (let's say machine credentials) 4.Create a service catalog and catalog item for the ansible playbook 5.Choose CFME Default Credentials or Machine credentials at the time of catalog item creation 6.Try to order the service and choose the credentials from the dropdown which were not default for that service catalog item per step 5 Actual results: Service will be ordered with the default credentials set as per step 5 in the reproduction steps and the credentials you selected at the time of ordering the service will be ignored Expected results: Credentials you selected should be used to order the service and override default creds Additional info: Adding regression keyword since this bug appears in 5.9 but this feature worked up until 5.8.3.4
On 5.9.0.21 - It was also same, for OPS UI. And for Service UI, credentials dropdown was shown differently, with credential IDs and not with names and empty entries, and it would fail no matter what you chose. On 5.9.0.20- Feature worked correctly. It would use credentials selected in the dialog correctly to order service.
Drew - Please sync up with Erik on this issue. There are other dialog issues in this same area.
This is resolved by https://github.com/ManageIQ/ui-components/pull/258, which currently has two supporting PRs out to be backported: classic ui: https://github.com/ManageIQ/manageiq-ui-classic/pull/3451 service ui: https://github.com/ManageIQ/manageiq-ui-service/pull/1389
*** Bug 1550179 has been marked as a duplicate of this bug. ***
on 5.10.0.2 I observed that ansible services take correct credentials into account. Problem mentioned in the comment 1 does not persist anymore.