Bug 1448918
| Summary: | Credential List is Empty when the Ansible Playbook Service Dialog is invoked from a Button versus a Service Order Screen | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | mkanoor | |
| Component: | Automate | Assignee: | mkanoor | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.8.0 | CC: | cpelland, dajohnso, dmisharo, gmccullo, jhardy, mkanoor, obarenbo, simaishi, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ansible:service:ui | |||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1449366 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 14:54:24 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1449366 | |||
|
Description
mkanoor
2017-05-08 16:01:22 UTC
New commit detected on ManageIQ/manageiq-content/master: https://github.com/ManageIQ/manageiq-content/commit/af395c7cea2d63c87059fb2f84120c326ae22001 commit af395c7cea2d63c87059fb2f84120c326ae22001 Author: mkanoor <mkanoor> AuthorDate: Tue May 9 10:00:54 2017 -0400 Commit: mkanoor <mkanoor> CommitDate: Tue May 9 10:00:54 2017 -0400 Support embedded_ansible to fetch credentials from provider https://bugzilla.redhat.com/show_bug.cgi?id=1448918 If we dont find a ansible provider thru the service template and the method gets passed in a parameter embedded_ansible true we use the first Embedded Ansible Provider and collect the credentials connected to it .../Operations/Methods.class/__class__.yaml | 22 +++++++++++++- .../__methods__/available_credentials.rb | 8 ++++- .../__methods__/available_credentials.yaml | 20 +++++++++++++ ...dded_ansible_available_machine_credentials.yaml | 2 ++ ...dded_ansible_available_network_credentials.yaml | 2 ++ .../__methods__/available_credentials_spec.rb | 34 +++++++++++++++++----- 6 files changed, 79 insertions(+), 9 deletions(-) Verified in 5.9.0.2.20171010190026_0413a06. Credentials list is not empty and matches with the list of the service catalog item dialog. |