| Summary: | Cannot Reconfigure VM logs show that the "Broker Worker is not available" | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
| Component: | Providers | Assignee: | Adam Grare <agrare> | |
| Status: | CLOSED NOTABUG | QA Contact: | Dave Johnson <dajohnso> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 5.6.0 | CC: | agrare, carnott, cpelland, jfrey, jhardy, jocarter, obarenbo | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.7.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1374014 (view as bug list) | Environment: | ||
| Last Closed: | 2016-09-27 13:01: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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1374014 | |||
|
Description
Josh Carter
2016-09-04 02:25:51 UTC
The problem looks to be that the worker never reaches the "Started" state It looks like the worker starts: [----] I, [2016-09-03T18:21:44.892846 #21068:11fb994] INFO -- : MIQ(MiqVimBrokerWorker#start) Worker started: ID [1000000000293], PID [21779], GUID [cbfaf632-7224-11e6-8fe2-0050568c6f5a] But later we see: [----] W, [2016-09-03T18:31:46.203494 #21068:11fb994] WARN -- : MIQ(MiqServer#wait_for_started_workers) After waiting 600 seconds, no longer waiting for the following workers to start:[----] W, [2016-09-03T18:31:46.203665 #21068:11fb994] WARN -- : Worker type: MiqVimBrokerWorker, pid: 21779, guid: cbfaf632-7224-11e6-8fe2-0050568c6f5a, status: starting If the worker's state isn't Started then it will not be returned from MiqWorker#find_current, which means connect will return "Broker Worker is not available" and it will not heartbeat causing it to be killed later. There was speculation that a "Bad Gateway" error caused the broker to lock-up somehow, however the first time the broker process hit this was well after the "Broker Worker is not available" error: Broker Worker not available error: [----] E, [2016-09-03T18:37:37.453312 #21619:11fb994] ERROR -- : Q-task_id([vm_reconfigure_task_1000000000003]) MIQ(ManageIQ::Providers::Vmware::InfraManager#connect) Broker Worker is not available First occurrence of "Bad Gateway" for process 21779 [----] E, [2016-09-03T18:40:36.455081 #21779:13961b4] ERROR -- : <VIM> Response <#<Handsoap::Response:0x0000000314e800 @http_body="<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.6.3</center>\r\n</body>\r\n</html>\r\n", @soap_namespace="http://schemas.xmlsoap.org/soap/envelope/", @document=nil, @fault=nil>> has no XML document |