Bug 1348232
Summary: | Extra Vars not passed to Ansible Tower when using custom state machines in service catalog | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | lkerner | |
Component: | Automate | Assignee: | mkanoor | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Kotvan <pakotvan> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 5.6.0 | CC: | cpelland, jhardy, kmorey, lkerner, mkanoor, nstephan, obarenbo, simaishi, sshveta, tfitzger | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | tower | |||
Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1352012 (view as bug list) | Environment: | ||
Last Closed: | 2017-01-11 20:02:02 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1352012 |
Description
lkerner
2016-06-20 14:06:15 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/cdd9ab23185e42c2876769729027f3a409070499 commit cdd9ab23185e42c2876769729027f3a409070499 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Jun 20 15:35:18 2016 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Jun 20 15:35:18 2016 -0400 Use Ansbile extra vars defined in options hash https://bugzilla.redhat.com/show_bug.cgi?id=1348232 Users create service dialog to collect ansible extra vars these get stored in the options hash by CatalogItemInitialization. The Automate method wasn't looking at the options hash to get the ansible extra vars. .../Job.class/__methods__/launch_ansible_job.rb | 17 ++++++++-- .../method_validation/launch_ansible_job_spec.rb | 37 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 3 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b486f599834e576b4dbc5e8b2a010beb09303c12 commit b486f599834e576b4dbc5e8b2a010beb09303c12 Author: Madhu Kanoor <mkanoor> AuthorDate: Thu Jun 23 17:46:54 2016 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Thu Jun 23 17:46:54 2016 -0400 Ansible extra variables missing when called from button https://bugzilla.redhat.com/show_bug.cgi?id=1348232 PR #9306 broke the passing in of variables from button. .../StateMachines/Job.class/__methods__/launch_ansible_job.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) Fixed in PR https://github.com/ManageIQ/manageiq/pull/9426 Please provide more steps to recreate this issue .b I think you want to follow the steps outlined in: Launch an Ansible Job Template from a button in ManageIQ http://talk.manageiq.org/t/launching-ansible-tower-job-templates-from-manageiq/1394 Assigning to Pavol for Ansible . Hi Pavol, Do you still need info from me. Thanks, Madhu |