Bug 1479410
Summary: | incorrect value used in stock automation wait_for_completion | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | Automate | Assignee: | William Fitzgerald <wfitzger> |
Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.7.0 | CC: | fdewaley, igortiunov, jhardy, mkanoor, obarenbo, psavage, simaishi, tachoi, tfitzger, wfitzger |
Target Milestone: | GA | Keywords: | Reopened, ZStream |
Target Release: | 5.7.4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.7.4.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1474748 | Environment: | |
Last Closed: | 2017-12-18 20:28:28 UTC | Type: | --- |
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: | 1474748 | ||
Bug Blocks: |
Comment 3
CFME Bot
2017-08-15 21:50:56 UTC
Taeho, This fix is a one line change in 2 methods. 1. Create a writeable custom domain (or use an existing custom domain). 2. Use the explorer and Navigate to ManageIQ/ConfigurationManagement/AnsibleTower/Operations/StateMachines/Job class. 3. Select the wait_for_completion method. 4. Copy the method to your custom domain. 5. Use the explorer and Navigate to ManageIQ/ConfigurationManagement/AnsibleTower/Operations/StateMachines/Job class. 6. Select the wait_for_ip method. 7. Copy the method to your custom domain. 8. Use the explorer and Navigate in your custom domain to /ConfigurationManagement/AnsibleTower/Operations/StateMachines/Job class. 9. Select the wait_for_completion method. 10. Edit the method. 11. Change @handle.root['ae_retry_limit'] = 1.minute to @handle.root['ae_retry_interval'] = 1.minute 12. Save the method. 13. Select the wait_for_ip method. 14. Edit the method. 15. Change @handle.root['ae_retry_limit'] = 1.minute to @handle.root['ae_retry_interval'] = 1.minute 16. Save the method. Please let me know if you have any questions. Billy Taeho, 1. No, The unmodified method will work sometimes. It will still retry 100 times so your playbook could finish. The problem is the method won't wait 60 seconds between retries. Based on how long your playbook runs and how quickly the system retries will determine whether it will work or not. I run very simple playbooks and never encountered this problem. 2. I don't understand your question, could you provide more information on this question ? Thanks Billy Taeho, Can you recreate the Service problem and let me have access to your appliance ? Thanks Billy Taeho, It looks like your custom method is getting an error so that is why the process is not retrying. Thanks Billy Checked the methods in 5.7.4.0 and the fixed root value ae_retry_interval is correctly used and ae_retry_limit is not present. 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-2017:3484 |