Bug 1857674
| Summary: | Unable to use playbook that requires escalation of priviledge with dialog that incorporates a selection of machine credentials even if "none" is the selected option | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> |
| Component: | Embedded Ansible | Assignee: | William Fitzgerald <wfitzger> |
| Status: | CLOSED NOTABUG | QA Contact: | Sudhir Mallamprabhakara <smallamp> |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Priority: | medium | ||
| Version: | 5.11.6 | CC: | dmetzger, fdewaley, nlamuro, obarenbo, tfitzger, wfitzger |
| Target Milestone: | GA | ||
| Target Release: | 5.11.z | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-18 15:52:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | Bug | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Felix Dewaleyne
2020-07-16 10:32:51 UTC
Of note, while the component for this one is set as `Embedded Ansible`, the issue is a dialog issue that happens before the core functionality of EmbeddedAnsible is even invoked and prevents the credential record from being assigned to the playbook instance record. This means that the proper credential information isn't available at playbook runtime causing it to seem like an issue with the `ansible-runner` execution, when it fact it was working as expected and failed do to not being given the proper data. -Nick Further information to create the dialog : - create a new service catalog item of type "Ansible Playbook" using embedded ansible. - Under "Dialog", choose "Create new" - Complete the remaining of the required fields, and save. The customer has reported never using the machine credentials selection dropdown as he instead always sets the credential required for the playbook in the Service Catalog Item. He always hide the machine credentials dropdown in the dialog to prevent endusers from overriding the configured machine credential. the customer isn't keeping the case open, the workaround of removing the field from the dialog is enough for him (and he has a lot of other issues open). Felix, Can we close this? Thanks Billy (In reply to William Fitzgerald from comment #14) > Felix, > > Can we close this? > > Thanks > > Billy they are happy with the workaround, so unless there is a bug to fix... and since we didn't reproduce because of their usage... I think closing and using https://access.redhat.com/solutions/5316621 to cover for this issue should anyone run into it might do it. should we mark this comment and the last two as public? I default to private. Closing ticket |