Bug 1698837

Summary: workflow template with inventory refresh job throws MiqOrchestrationStackNotExistError while success in ansible tower
Product: Red Hat CloudForms Management Engine Reporter: Gellert Kis <gekis>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.1CC: dmetzger, jfrey, jhardy, jprause, kborole, lufu, mshriver, nachandr, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1722599 (view as bug list) Environment:
Last Closed: 2019-12-13 14:54:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1722599    

Comment 5 Alexander Zagaynov 2019-06-14 15:45:01 UTC
PR: https://github.com/ansible/ansible_tower_client_ruby/pull/130

Comment 6 Lucy Fu 2019-06-17 13:48:02 UTC
Steps to Reproduce:
1. Create a workflow job with one inventory sync on an Ansible Tower.
2. Add the Ansible Tower as a provider into CFME.
3. Create an Ansible Tower service based on that workflow job.
4. Order the service

Comment 9 CFME Bot 2019-06-20 17:12:05 UTC
New commit detected on ansible/ansible_tower_client_ruby/master:

https://github.com/ManageIQ/ansible_tower_client/commit/b398b0da8b3666a6066ef2087cdc0724a2a903f9
commit b398b0da8b3666a6066ef2087cdc0724a2a903f9
Author:     Lucy Fu <lufu>
AuthorDate: Wed Jun 19 12:56:45 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Wed Jun 19 12:56:45 2019 -0400

    Add logic to filter out workflow job node that is for inventory sync or project sync.

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

 lib/ansible_tower_client/base_models/workflow_job_node.rb | 9 +-
 spec/workflow_job_node_spec.rb | 9 +-
 2 files changed, 16 insertions(+), 2 deletions(-)

Comment 14 Tina Fitzgerald 2019-07-05 12:49:26 UTC
Hi Nandini,

The above referenced blocking BZ is an issue only with Tower 3.4.

Can you test with Tower 3.3 or 3.5?

Let me know if you have any questions.

Thanks,
Tina

Comment 15 Nandini Chandra 2019-07-22 21:16:25 UTC
Verified in 5.11.0.15