Bug 1439392
| Summary: | Ansible Event monitor error's out when it does not reside on same CF appliance with Embedded Ansible/Provider Int/Op | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
| Component: | Appliance | Assignee: | Nick Carboni <ncarboni> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | luke couzens <lcouzens> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.8.0 | CC: | abellott, cpelland, jhardy, jocarter, ncarboni, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.9.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ansible_embed:black | |||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1442172 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:55:00 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1442172 | |||
|
Description
Josh Carter
2017-04-05 21:53:39 UTC
Josh, does the event monitor eventually start up? I'm thinking that the overhead of starting the embedded ansible the first after the role had been migrated would cause the event monitor to attempt to start long before ansible does. Going to take a look at this. It feels like this should work, but if the event monitor has some kind of cache it is looking at for the provider connection we I could see this kind of behavior resulting. This is because we update the URL for the provider when we start up the role on a new appliance. I'll see if I can track this down. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/48f3479800fa10d53a978126a51f2e19c174c8c7 commit 48f3479800fa10d53a978126a51f2e19c174c8c7 Author: Nick Carboni <ncarboni> AuthorDate: Tue Apr 11 16:49:27 2017 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Tue Apr 11 16:49:27 2017 -0400 Reload the ems object in the event catcher if we fail to start When the embedded ansible role changes servers the endpoint url changes. This causes the event catcher to get http errors on the old url. Reloading the object will pick up the new url and allow the event monitor thread to start. https://bugzilla.redhat.com/show_bug.cgi?id=1439392 .../embedded_ansible/automation_manager/event_catcher/runner.rb | 9 +++++++++ 1 file changed, 9 insertions(+) Verified in 5.9.0.5 |