Description of problem: Embedded Ansible needs a retry interval. When you set interval in a playbook, it is setting ae_retry_limit and should be setting ae_retry_interval. We also need a default ae_retry_interval of 60 seconds if not interval is not set. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Commit: https://github.com/syncrou/manageiq-automate/commit/58cc594c6721f7bc19d8dcebc0a524424fd51895
Commit: https://github.com/syncrou/manageiq-automate/commit/f47fc79223affd5eac7e9dd36ca08ce9dbe269ee Set default interval to 60 if an empty string is passed in.
Drew, I tested this on a 5.9.4.5 appliance and it works. Billy
New commit detected on ManageIQ/manageiq-content/hammer: https://github.com/ManageIQ/manageiq-content/commit/48b25f88709d8f155471e084eb72f483bff3cbd5 commit 48b25f88709d8f155471e084eb72f483bff3cbd5 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) https://bugzilla.redhat.com/show_bug.cgi?id=1626152 content/ansible/roles/manageiq-core.manageiq-automate/library/manageiq_automate.py | 13 +- 1 file changed, 12 insertions(+), 1 deletion(-)
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 atleast 60 seconds and found that Playbook didn't failed. Verified Version: 5.10.0.29.20181211195209_fd990a9