Bug 1763859

Summary: [RFE] launch_ansible_job fails to launch Ansible Tower workflow jobs
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.0CC: cbolz, dmetzger, gmccullo, lavenel, mkanoor, nachandr, obarenbo, pmcgowan, rspagnol, simaishi, tfitzger
Target Milestone: GAKeywords: FutureFeature, RFE, ZStream
Target Release: 5.10.12Flags: simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.12.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1658172 Environment:
Last Closed: 2019-11-06 08:58:35 UTC Type: ---
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: 1658172    
Bug Blocks:    

Comment 2 CFME Bot 2019-10-21 20:01:48 UTC
New commit detected on ManageIQ/manageiq-automation_engine/hammer:

https://github.com/ManageIQ/manageiq-automation_engine/commit/0bc32634a8521ed82373e48f940c75f2ad33b98b
commit 0bc32634a8521ed82373e48f940c75f2ad33b98b
Author:     tina <tina.fitzgerald2>
AuthorDate: Thu Apr 18 13:35:13 2019 -0400
Commit:     tina <tina.fitzgerald2>
CommitDate: Thu Apr 18 13:35:13 2019 -0400

    Merge pull request #283 from lfu/launch_ansible_job_with_template_1658172

    Add helper method #create_job for Ansible Tower Job/Workflow template.

    (cherry picked from commit b5c33c5e5b3cca034a73a5c74c4cfa7860309027)

    https://bugzilla.redhat.com/show_bug.cgi?id=1763859

 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-configuration_script.rb | 4 +
 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-configuration_workflow.rb | 4 +
 spec/service_models/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-configuration_script_spec.rb | 8 +
 spec/service_models/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-configuration_workflow_spec.rb | 8 +
 4 files changed, 24 insertions(+)

Comment 3 CFME Bot 2019-10-21 20:16:04 UTC
New commit detected on ManageIQ/manageiq-content/hammer:

https://github.com/ManageIQ/manageiq-content/commit/18a858bc8bfaa887a0d5d0e8664c23ff1efed2ed
commit 18a858bc8bfaa887a0d5d0e8664c23ff1efed2ed
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Apr 24 10:15:48 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Apr 24 10:15:48 2019 -0400

    Merge pull request #490 from lfu/launch_ansible_job_with_template_1658172

    Changes to launch_ansible_job to support  Ansible Tower workflow template.

    (cherry picked from commit 0aa5837c9aac3ce1881f42ce6044ac83da057bb6)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1763859

 content/automate/ManageIQ/AutomationManagement/AnsibleTower/Operations/StateMachines/Job.class/__methods__/launch_ansible_job.rb | 5 +-
 content/automate/ManageIQ/AutomationManagement/AnsibleTower/Operations/StateMachines/Job.class/__methods__/wait_for_completion.rb | 2 +-
 spec/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Operations/StateMachines/Job.class/__methods__/launch_ansible_job_spec.rb | 80 +-
 3 files changed, 66 insertions(+), 21 deletions(-)

Comment 4 Nandini Chandra 2019-10-30 16:38:40 UTC
Verified in 5.10.12.1

Comment 6 errata-xmlrpc 2019-11-06 08:58:35 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-2019:3268