Bug 1646629

Summary: Embedded Ansible needs a retry interval. We are currently setting limit and not interval.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Drew Bomhof <dbomhof>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.5CC: bmidwood, dbomhof, dmetzger, mfeifer, mkanoor, obarenbo, simaishi, smallamp, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1626152 Environment:
Last Closed: 2018-12-13 15:15:44 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: 1626152    
Bug Blocks:    

Comment 3 CFME Bot 2018-11-05 19:25:10 UTC
New commit detected on ManageIQ/manageiq-content/gaprindashvili:

https://github.com/ManageIQ/manageiq-content/commit/271bfd9d5cf0d312c50b7afb134b113b90d84eca
commit 271bfd9d5cf0d312c50b7afb134b113b90d84eca
Author:     Greg McCullough <gmccullo>
AuthorDate: Fri Oct 26 12:13:53 2018 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Fri Oct 26 12:13:53 2018 -0400

    Merge pull request #454 from syncrou/add_manageiq_automate_changes

    Add manageiq automate changes

    (cherry picked from commit 6c377d9279cbf8f3b52a9f773dfe25dd69ee9140)

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

 content/ansible/roles/manageiq-core.manageiq-automate/library/manageiq_automate.py | 13 +-
 1 file changed, 12 insertions(+), 1 deletion(-)

Comment 4 Satyajit Bulage 2018-11-26 16:26:58 UTC
With help of William following steps used to verify it.

1. Enable Embedded Ansible
2. Add repo - Suggest https://github.com/billfitzgerald0120/ansible_playbooks
3. Import Ansible_StateMachine_Set_Retry
4. Enable domain
5. Verify the Playbook method (set_retry_4_times) or use your own playbook
6. Add a dummy dialog
7. Add a catalog
8. Add a new Catalog item (Generic Type)
9. Order service
10. Check automation.log to make sure the playbook retry is waiting at least 60 seconds before trying again

Service retried by waiting around 60 seconds and found that Playbook didn't failed.

Verified Version: 5.9.6.2.20181119175512_3a18916

Comment 6 errata-xmlrpc 2018-12-13 15:15:44 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/RHSA-2018:3816