Description of problem: This is an issue related to dynamic dialog menus. If the menu item is set to refresh after updating another field this connection problem occurs (shown below). If refresh is set to manual I do not see this issue. This was not a problem in the 4.0 version ================= [----] E, [2016-07-07T16:59:29.988334 #3089:14c9ae0] ERROR -- : <AutomationEngine> Method STDERR: /opt/rh/rh-ruby22/root/usr/share/ruby/drb/drb.rb:744:in `rescue in block in open': druby://127.0.0.1:33938 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 33938> (DRb::DRbConnError) ==================== Noticed that this seems to be a similar issue to: https://github.com/ManageIQ/manageiq/issues/8626 Upping priority on this ticket. Database connection errors are preventing provisioning Version-Release number of selected component (if applicable): 5.6
https://github.com/ManageIQ/manageiq/pull/9860
https://github.com/ManageIQ/manageiq/pull/9903
Created attachment 1181756 [details] Proposed Patch The gzipped tar archive has a single file lib/miq_automation_engine/engine/miq_ae_engine.rb On a Test appliance please make a backup of the existing file lib/miq_automation_engine/engine/miq_ae_engine.rb and replace it with the enclosed file.
The problem was happening because of multiple requests coming into the Automate Engine. Now we have a mutex that would serialize the requests so that only one request can run at the time.
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/cbb5661645090d377341d72567697b6ee1d1784a commit cbb5661645090d377341d72567697b6ee1d1784a Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Jul 18 17:44:44 2016 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Jul 19 12:46:08 2016 -0400 Use a mutex to prevent concurrent deliver calls https://bugzilla.redhat.com/show_bug.cgi?id=1354054 lib/miq_automation_engine/engine/miq_ae_engine.rb | 5 +++++ 1 file changed, 5 insertions(+)
Hi Jared, Did the customer get a chance to test out the patch? Thanks, Madhu
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/a1656fce7e861a92a671390648535533d753f6a6 commit a1656fce7e861a92a671390648535533d753f6a6 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Jul 25 12:06:51 2016 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Jul 25 12:06:51 2016 -0400 Allow symbols to load from DRb threads https://bugzilla.redhat.com/show_bug.cgi?id=1354054 use ActiveSupport::Dependencies.interlock.permit_concurrent_loads to allow for Automate Methods/Drb to load symbols lib/miq_automation_engine/engine/miq_ae_engine.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Fixed. verified in 5.7.0.0.20160906172503_12f65cb
Hi Team One of customer applied this patch in their testbed But after that, customer is not able to login CFME any more. Problem Description ############################# Customer version: 5.6.0.13-20160624114606_13a9153 CFME login is stuck on spinning wheel status when user try to login Action Taken ############################# Once we rolled-back to original miq_ae_engine.rb file, the login was successful within a min We have tested with userid 756691 with both scenarios We did restart evmserver around 2016-10-28T13:37:26 system time to rollback to original rb file(I will attach log file separately) This might be related or not When patched ruby file is in use, I observed below error from ssl_error.log [Fri Oct 28 13:29:57.240835 2016] [proxy_http:error] [pid 3537] (70007)The timeout specified has expired: [client 10.67.119.246:60057] AH01102: error reading status line from remote server 0.0.0.0:3001, referer: https://lrlcfa50/ [Fri Oct 28 13:29:57.240901 2016] [proxy:error] [pid 3537] [client 10.67.119.246:60057] AH00898: Error reading from remote server returned by /dashboard/authenticate, referer: https://lrlcfa50/ [Fri Oct 28 13:34:37.675795 2016] [proxy_http:error] [pid 3537] (70007)The timeout specified has expired: [client 10.67.119.246:60287] AH01102: error reading status line from remote server 0.0.0.0:3001 [Fri Oct 28 13:34:37.675862 2016] [proxy:error] [pid 3537] [client 10.67.119.246:60287] AH00898: Error reading from remote server returned by / [Fri Oct 28 13:35:21.341204 2016] [proxy_http:error] [pid 3562] (70007)The timeout specified has expired: [client 10.67.119.246:60317] AH01102: error reading status line from remote server 0.0.0.0:3001, referer: https://lrlcfa50/ [Fri Oct 28 13:35:21.341298 2016] [proxy:error] [pid 3562] [client 10.67.119.246:60317] AH00898: Error reading from remote server returned by /dashboard/authenticate, referer: https://lrlcfa50/ Once we rolled-back to original ruby one, I don't see this msg any more.