ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.34k stars 897 forks source link

Fatal error in production.log and MiQ unavailable for few seconds #10333

Closed hhovsepy closed 5 years ago

hhovsepy commented 8 years ago

FATAL error in MiQ production.log and service was restarted.

Steps I did before were:

@abonas

[----] I, [2016-08-09T04:14:12.928358 #3091:12041e8]  INFO -- : Started POST "/dashboard/window_sizes?width=1920&height=879" for 127.0.0.1 at 2016-08-09 04:14:12 -0400
[----] I, [2016-08-09T04:14:12.930450 #3091:12041e8]  INFO -- : Processing by DashboardController#window_sizes as JS
[----] I, [2016-08-09T04:14:12.930532 #3091:12041e8]  INFO -- :   Parameters: {"width"=>"1920", "height"=>"879"}
[----] I, [2016-08-09T04:14:12.934440 #3091:12041e8]  INFO -- : Completed 200 OK in 4ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:24.932371 #3091:11fe0a4]  INFO -- : Started POST "/middleware_server/add_deployment" for 127.0.0.1 at 2016-08-09 04:14:24 -0400
[----] I, [2016-08-09T04:14:24.934380 #3091:11fe0a4]  INFO -- : Processing by MiddlewareServerController#add_deployment as HTML
[----] I, [2016-08-09T04:14:24.934519 #3091:11fe0a4]  INFO -- :   Parameters: {"file"=>#<ActionDispatch::Http::UploadedFile:0x0000000181cd50 @tempfile=#<Tempfile:/tmp/RackMultipart20160809-3091-zij85m.war>, @original_filename="cfme_test_war_middleware.war", @content_type="application/x-webarchive", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"cfme_test_war_middleware.war\"\r\nContent-Type: application/x-webarchive\r\n">, "id"=>"15", "enabled"=>"true", "runtimeName"=>"tttt_cfme_test_war_middleware.war"}
[----] I, [2016-08-09T04:14:25.607135 #3091:11fe0a4]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.2ms)
[----] I, [2016-08-09T04:14:25.611876 #3091:11fe0a4]  INFO -- : Completed 200 OK in 677ms (Views: 1.6ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:36.786977 #3091:1200d90]  INFO -- : Started GET "/ems_middleware/show_list?page=1&refresh=y" for 127.0.0.1 at 2016-08-09 04:14:36 -0400
[----] I, [2016-08-09T04:14:36.789198 #3091:1200d90]  INFO -- : Processing by EmsMiddlewareController#show_list as HTML
[----] I, [2016-08-09T04:14:36.789277 #3091:1200d90]  INFO -- :   Parameters: {"page"=>"1", "refresh"=>"y"}
[----] I, [2016-08-09T04:14:36.834856 #3091:1200d90]  INFO -- :   Rendering ems_middleware/show_list.html.haml within layouts/application
[----] I, [2016-08-09T04:14:36.835465 #3091:1200d90]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.835748 #3091:1200d90]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:36.841425 #3091:1200d90]  INFO -- :   Rendered layouts/gtl/_grid.html.haml (5.4ms)
[----] I, [2016-08-09T04:14:36.841541 #3091:1200d90]  INFO -- :   Rendered layouts/_gtl.html.haml (6.4ms)
[----] I, [2016-08-09T04:14:36.841800 #3091:1200d90]  INFO -- :   Rendered ems_middleware/show_list.html.haml within layouts/application (6.7ms)
[----] I, [2016-08-09T04:14:36.842115 #3091:1200d90]  INFO -- :   Rendered layouts/_doctype.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.843056 #3091:1200d90]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:36.844805 #3091:1200d90]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.1ms)
[----] I, [2016-08-09T04:14:36.852437 #3091:1200d90]  INFO -- :   Rendered layouts/_user_options.html.haml (3.4ms)
[----] I, [2016-08-09T04:14:36.852797 #3091:1200d90]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.853066 #3091:1200d90]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.853165 #3091:1200d90]  INFO -- :   Rendered layouts/_header.html.haml (8.0ms)
[----] I, [2016-08-09T04:14:36.870251 #3091:1200d90]  INFO -- :   Rendered layouts/_vertical_navbar.html.haml (16.7ms)
[----] I, [2016-08-09T04:14:36.879487 #3091:1200d90]  INFO -- :   Rendered layouts/_breadcrumbs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.879756 #3091:1200d90]  INFO -- :   Rendered layouts/_tabs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.880048 #3091:1200d90]  INFO -- :   Rendered layouts/_searchbar.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.882363 #3091:1200d90]  INFO -- :   Rendered layouts/_pagingcontrols.html.haml (1.3ms)
[----] I, [2016-08-09T04:14:36.882873 #3091:1200d90]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.882974 #3091:1200d90]  INFO -- :   Rendered layouts/listnav/_show_list.html.haml (0.3ms)
[----] I, [2016-08-09T04:14:36.883077 #3091:1200d90]  INFO -- :   Rendered layouts/_listnav.html.haml (0.5ms)
[----] I, [2016-08-09T04:14:36.883225 #3091:1200d90]  INFO -- :   Rendered layouts/_content.html.haml (29.9ms)
[----] I, [2016-08-09T04:14:36.883574 #3091:1200d90]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:36.883715 #3091:1200d90]  INFO -- :   Rendered layouts/_footer.html.haml (0.3ms)
[----] I, [2016-08-09T04:14:36.889251 #3091:1200d90]  INFO -- : Completed 200 OK in 100ms (Views: 49.9ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:38.922300 #3091:1200b9c]  INFO -- : Started GET "/ems_middleware/show/2" for 127.0.0.1 at 2016-08-09 04:14:38 -0400
[----] I, [2016-08-09T04:14:38.924086 #3091:1200b9c]  INFO -- : Processing by EmsMiddlewareController#show as HTML
[----] I, [2016-08-09T04:14:38.924168 #3091:1200b9c]  INFO -- :   Parameters: {"id"=>"2"}
[----] I, [2016-08-09T04:14:38.954219 #3091:1200b9c]  INFO -- :   Rendering shared/views/ems_common/show.html.haml within layouts/application
[----] I, [2016-08-09T04:14:38.954735 #3091:1200b9c]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:38.957945 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual.html.haml (3.0ms)
[----] I, [2016-08-09T04:14:38.958917 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual_multivalue.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:38.959011 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual.html.haml (0.9ms)
[----] I, [2016-08-09T04:14:38.968566 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual.html.haml (9.4ms)
[----] I, [2016-08-09T04:14:38.969181 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:38.969545 #3091:1200b9c]  INFO -- :   Rendered shared/summary/_textual_tags.html.haml (0.2ms)
[----] I, [2016-08-09T04:14:38.969666 #3091:1200b9c]  INFO -- :   Rendered ems_middleware/_main.html.haml (15.1ms)
[----] I, [2016-08-09T04:14:38.969799 #3091:1200b9c]  INFO -- :   Rendered shared/views/ems_common/show.html.haml within layouts/application (15.4ms)
[----] I, [2016-08-09T04:14:38.970066 #3091:1200b9c]  INFO -- :   Rendered layouts/_doctype.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:38.970925 #3091:1200b9c]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:38.972794 #3091:1200b9c]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.3ms)
[----] I, [2016-08-09T04:14:38.980213 #3091:1200b9c]  INFO -- :   Rendered layouts/_user_options.html.haml (3.3ms)
[----] I, [2016-08-09T04:14:38.980435 #3091:1200b9c]  INFO -- :   Rendered layouts/_spinner.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:38.980656 #3091:1200b9c]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:38.980752 #3091:1200b9c]  INFO -- :   Rendered layouts/_header.html.haml (7.7ms)
[----] I, [2016-08-09T04:14:38.996528 #3091:1200b9c]  INFO -- :   Rendered layouts/_vertical_navbar.html.haml (15.4ms)
[----] I, [2016-08-09T04:14:39.004662 #3091:1200b9c]  INFO -- :   Rendered layouts/_breadcrumbs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:39.004910 #3091:1200b9c]  INFO -- :   Rendered layouts/_tabs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:39.005111 #3091:1200b9c]  INFO -- :   Rendered layouts/_searchbar.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:39.005355 #3091:1200b9c]  INFO -- :   Rendered layouts/_pagingcontrols.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:39.012441 #3091:1200b9c]  INFO -- :   Rendered layouts/listnav/_ems_middleware.html.haml (6.8ms)
[----] I, [2016-08-09T04:14:39.012549 #3091:1200b9c]  INFO -- :   Rendered layouts/_listnav.html.haml (7.0ms)
[----] I, [2016-08-09T04:14:39.012717 #3091:1200b9c]  INFO -- :   Rendered layouts/_content.html.haml (31.8ms)
[----] I, [2016-08-09T04:14:39.013081 #3091:1200b9c]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:39.013218 #3091:1200b9c]  INFO -- :   Rendered layouts/_footer.html.haml (0.3ms)
[----] I, [2016-08-09T04:14:39.017193 #3091:1200b9c]  INFO -- : Completed 200 OK in 93ms (Views: 60.1ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:39.310710 #3091:11fe720]  INFO -- : Started POST "/dashboard/window_sizes?width=1920&height=879" for 127.0.0.1 at 2016-08-09 04:14:39 -0400
[----] I, [2016-08-09T04:14:39.312858 #3091:11fe720]  INFO -- : Processing by DashboardController#window_sizes as JS
[----] I, [2016-08-09T04:14:39.312951 #3091:11fe720]  INFO -- :   Parameters: {"width"=>"1920", "height"=>"879"}
[----] I, [2016-08-09T04:14:39.317484 #3091:11fe720]  INFO -- : Completed 200 OK in 4ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:41.662229 #3091:12041e8]  INFO -- : Started POST "/ems_middleware/button/2?pressed=ems_middleware_refresh" for 127.0.0.1 at 2016-08-09 04:14:41 -0400
[----] I, [2016-08-09T04:14:41.664332 #3091:12041e8]  INFO -- : Processing by EmsMiddlewareController#button as JS
[----] I, [2016-08-09T04:14:41.664409 #3091:12041e8]  INFO -- :   Parameters: {"pressed"=>"ems_middleware_refresh", "id"=>"2"}
[----] I, [2016-08-09T04:14:41.693326 #3091:11fe0a4]  INFO -- : Started POST "/dashboard/window_sizes?width=1920&height=879" for 127.0.0.1 at 2016-08-09 04:14:41 -0400
[----] I, [2016-08-09T04:14:41.695199 #3091:11fe0a4]  INFO -- : Processing by DashboardController#window_sizes as JS
[----] I, [2016-08-09T04:14:41.695277 #3091:11fe0a4]  INFO -- :   Parameters: {"width"=>"1920", "height"=>"879"}
[----] I, [2016-08-09T04:14:41.698280 #3091:11fe0a4]  INFO -- : Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:41.820219 #3091:12041e8]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.2ms)
[----] I, [2016-08-09T04:14:41.824308 #3091:12041e8]  INFO -- : Completed 200 OK in 160ms (Views: 1.5ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:43.467244 #3091:1200d90]  INFO -- : Started GET "/middleware_server/show/15?display=middleware_deployments" for 127.0.0.1 at 2016-08-09 04:14:43 -0400
[----] I, [2016-08-09T04:14:43.469453 #3091:1200d90]  INFO -- : Processing by MiddlewareServerController#show as HTML
[----] I, [2016-08-09T04:14:43.469551 #3091:1200d90]  INFO -- :   Parameters: {"display"=>"middleware_deployments", "id"=>"15"}
[----] I, [2016-08-09T04:14:43.518006 #3091:1200d90]  INFO -- :   Rendering middleware_server/show.html.haml within layouts/application
[----] I, [2016-08-09T04:14:43.518592 #3091:1200d90]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.518897 #3091:1200d90]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.521197 #3091:1200d90]  INFO -- :   Rendered layouts/_list_grid.html.haml (1.5ms)
[----] I, [2016-08-09T04:14:43.521332 #3091:1200d90]  INFO -- :   Rendered layouts/gtl/_list.html.haml (2.2ms)
[----] I, [2016-08-09T04:14:43.521477 #3091:1200d90]  INFO -- :   Rendered layouts/_gtl.html.haml (3.1ms)
[----] I, [2016-08-09T04:14:43.522173 #3091:1200d90]  INFO -- :   Rendered middleware_server/_deploy.html.haml (0.4ms)
[----] I, [2016-08-09T04:14:43.522324 #3091:1200d90]  INFO -- :   Rendered middleware_server/show.html.haml within layouts/application (4.2ms)
[----] I, [2016-08-09T04:14:43.522792 #3091:1200d90]  INFO -- :   Rendered layouts/_doctype.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.525224 #3091:1200d90]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.527037 #3091:1200d90]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.2ms)
[----] I, [2016-08-09T04:14:43.537213 #3091:1200d90]  INFO -- :   Rendered layouts/_user_options.html.haml (5.4ms)
[----] I, [2016-08-09T04:14:43.537562 #3091:1200d90]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.537831 #3091:1200d90]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.537938 #3091:1200d90]  INFO -- :   Rendered layouts/_header.html.haml (10.6ms)
[----] I, [2016-08-09T04:14:43.556562 #3091:1200d90]  INFO -- :   Rendered layouts/_vertical_navbar.html.haml (18.3ms)
[----] I, [2016-08-09T04:14:43.562204 #3091:1200d90]  INFO -- :   Rendered layouts/_breadcrumbs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.562467 #3091:1200d90]  INFO -- :   Rendered layouts/_tabs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.562690 #3091:1200d90]  INFO -- :   Rendered layouts/_searchbar.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:43.564011 #3091:1200d90]  INFO -- :   Rendered layouts/_pagingcontrols.html.haml (0.9ms)
[----] I, [2016-08-09T04:14:43.575949 #3091:1200d90]  INFO -- :   Rendered layouts/listnav/_middleware_server.html.haml (11.6ms)
[----] I, [2016-08-09T04:14:43.576071 #3091:1200d90]  INFO -- :   Rendered layouts/_listnav.html.haml (11.9ms)
[----] I, [2016-08-09T04:14:43.576217 #3091:1200d90]  INFO -- :   Rendered layouts/_content.html.haml (38.1ms)
[----] I, [2016-08-09T04:14:43.576620 #3091:1200d90]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:43.576745 #3091:1200d90]  INFO -- :   Rendered layouts/_footer.html.haml (0.3ms)
[----] I, [2016-08-09T04:14:43.581932 #3091:1200d90]  INFO -- : Completed 200 OK in 112ms (Views: 59.9ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:45.744781 #3091:1200b9c]  INFO -- : Started POST "/dashboard/window_sizes?width=1920&height=879" for 127.0.0.1 at 2016-08-09 04:14:45 -0400
[----] I, [2016-08-09T04:14:45.747026 #3091:1200b9c]  INFO -- : Processing by DashboardController#window_sizes as JS
[----] I, [2016-08-09T04:14:45.747125 #3091:1200b9c]  INFO -- :   Parameters: {"width"=>"1920", "height"=>"879"}
[----] I, [2016-08-09T04:14:45.751151 #3091:1200b9c]  INFO -- : Completed 200 OK in 4ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:46.485305 #3091:11fe720]  INFO -- : Started GET "/middleware_server/show/15?display=middleware_deployments" for 127.0.0.1 at 2016-08-09 04:14:46 -0400
[----] I, [2016-08-09T04:14:46.487491 #3091:11fe720]  INFO -- : Processing by MiddlewareServerController#show as HTML
[----] I, [2016-08-09T04:14:46.487589 #3091:11fe720]  INFO -- :   Parameters: {"display"=>"middleware_deployments", "id"=>"15"}
[----] I, [2016-08-09T04:14:46.536736 #3091:11fe720]  INFO -- :   Rendering middleware_server/show.html.haml within layouts/application
[----] I, [2016-08-09T04:14:46.537354 #3091:11fe720]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.537615 #3091:11fe720]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.539553 #3091:11fe720]  INFO -- :   Rendered layouts/_list_grid.html.haml (1.2ms)
[----] I, [2016-08-09T04:14:46.539676 #3091:11fe720]  INFO -- :   Rendered layouts/gtl/_list.html.haml (1.9ms)
[----] I, [2016-08-09T04:14:46.539791 #3091:11fe720]  INFO -- :   Rendered layouts/_gtl.html.haml (2.7ms)
[----] I, [2016-08-09T04:14:46.540272 #3091:11fe720]  INFO -- :   Rendered middleware_server/_deploy.html.haml (0.3ms)
[----] I, [2016-08-09T04:14:46.540398 #3091:11fe720]  INFO -- :   Rendered middleware_server/show.html.haml within layouts/application (3.5ms)
[----] I, [2016-08-09T04:14:46.540660 #3091:11fe720]  INFO -- :   Rendered layouts/_doctype.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.542368 #3091:11fe720]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:46.544287 #3091:11fe720]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.3ms)
[----] I, [2016-08-09T04:14:46.554374 #3091:11fe720]  INFO -- :   Rendered layouts/_user_options.html.haml (4.8ms)
[----] I, [2016-08-09T04:14:46.554864 #3091:11fe720]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.555185 #3091:11fe720]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.555328 #3091:11fe720]  INFO -- :   Rendered layouts/_header.html.haml (10.7ms)
[----] I, [2016-08-09T04:14:46.573238 #3091:11fe720]  INFO -- :   Rendered layouts/_vertical_navbar.html.haml (17.2ms)
[----] I, [2016-08-09T04:14:46.579155 #3091:11fe720]  INFO -- :   Rendered layouts/_breadcrumbs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.579483 #3091:11fe720]  INFO -- :   Rendered layouts/_tabs.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.579706 #3091:11fe720]  INFO -- :   Rendered layouts/_searchbar.html.haml (0.0ms)
[----] I, [2016-08-09T04:14:46.580891 #3091:11fe720]  INFO -- :   Rendered layouts/_pagingcontrols.html.haml (0.9ms)
[----] I, [2016-08-09T04:14:46.593997 #3091:11fe720]  INFO -- :   Rendered layouts/listnav/_middleware_server.html.haml (12.7ms)
[----] I, [2016-08-09T04:14:46.594240 #3091:11fe720]  INFO -- :   Rendered layouts/_listnav.html.haml (13.1ms)
[----] I, [2016-08-09T04:14:46.594437 #3091:11fe720]  INFO -- :   Rendered layouts/_content.html.haml (38.8ms)
[----] I, [2016-08-09T04:14:46.595130 #3091:11fe720]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2016-08-09T04:14:46.595333 #3091:11fe720]  INFO -- :   Rendered layouts/_footer.html.haml (0.5ms)
[----] I, [2016-08-09T04:14:46.602963 #3091:11fe720]  INFO -- : Completed 200 OK in 115ms (Views: 59.8ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:14:46.944664 #3091:11fe0a4]  INFO -- : Started GET "/assets/application-44b7c3d63613c846a4c7fb8fd9e9987cb32592d15060e665947301e59d9e8cac.js" for 127.0.0.1 at 2016-08-09 04:14:46 -0400
[----] I, [2016-08-09T04:14:47.159372 #3091:12041e8]  INFO -- : Started GET "/assets/application-fbbf0d9eb5815fc6c493ad4eecbacc511b0ed10635c26c3c4ff89a2744d02354.css" for 127.0.0.1 at 2016-08-09 04:14:47 -0400
[----] I, [2016-08-09T04:15:08.798491 #3091:1200d90]  INFO -- : Started POST "/ems_middleware/button/2?pressed=ems_middleware_refresh" for 127.0.0.1 at 2016-08-09 04:15:08 -0400
[----] I, [2016-08-09T04:15:08.801302 #3091:1200d90]  INFO -- : Processing by EmsMiddlewareController#button as JS
[----] I, [2016-08-09T04:15:08.801391 #3091:1200d90]  INFO -- :   Parameters: {"pressed"=>"ems_middleware_refresh", "id"=>"2"}
[----] I, [2016-08-09T04:15:13.203740 #3091:1200b9c]  INFO -- : Started GET "/middleware_server/show/15?display=middleware_deployments" for 127.0.0.1 at 2016-08-09 04:15:13 -0400
[----] I, [2016-08-09T04:15:13.206912 #3091:1200b9c]  INFO -- : Processing by MiddlewareServerController#show as HTML
[----] I, [2016-08-09T04:15:13.207048 #3091:1200b9c]  INFO -- :   Parameters: {"display"=>"middleware_deployments", "id"=>"15"}
[----] I, [2016-08-09T04:15:13.434531 #3091:1200b9c]  INFO -- :   Rendering middleware_server/show.html.haml within layouts/application
[----] I, [2016-08-09T04:15:13.436116 #3091:1200b9c]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.7ms)
[----] I, [2016-08-09T04:15:13.436532 #3091:1200b9c]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.440798 #3091:1200b9c]  INFO -- :   Rendered layouts/_list_grid.html.haml (2.8ms)
[----] I, [2016-08-09T04:15:13.441003 #3091:1200b9c]  INFO -- :   Rendered layouts/gtl/_list.html.haml (4.2ms)
[----] I, [2016-08-09T04:15:13.441137 #3091:1200b9c]  INFO -- :   Rendered layouts/_gtl.html.haml (6.0ms)
[----] I, [2016-08-09T04:15:13.442041 #3091:1200b9c]  INFO -- :   Rendered middleware_server/_deploy.html.haml (0.6ms)
[----] I, [2016-08-09T04:15:13.442217 #3091:1200b9c]  INFO -- :   Rendered middleware_server/show.html.haml within layouts/application (7.4ms)
[----] I, [2016-08-09T04:15:13.443018 #3091:1200b9c]  INFO -- :   Rendered layouts/_doctype.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.446845 #3091:1200b9c]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.448911 #3091:1200b9c]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.4ms)
[----] I, [2016-08-09T04:15:13.459086 #3091:1200b9c]  INFO -- :   Rendered layouts/_user_options.html.haml (4.7ms)
[----] I, [2016-08-09T04:15:13.459457 #3091:1200b9c]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.459709 #3091:1200b9c]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.459861 #3091:1200b9c]  INFO -- :   Rendered layouts/_header.html.haml (10.6ms)
[----] I, [2016-08-09T04:15:13.478265 #3091:1200b9c]  INFO -- :   Rendered layouts/_vertical_navbar.html.haml (18.0ms)
[----] I, [2016-08-09T04:15:13.484136 #3091:1200b9c]  INFO -- :   Rendered layouts/_breadcrumbs.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.484477 #3091:1200b9c]  INFO -- :   Rendered layouts/_tabs.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.484705 #3091:1200b9c]  INFO -- :   Rendered layouts/_searchbar.html.haml (0.0ms)
[----] I, [2016-08-09T04:15:13.486075 #3091:1200b9c]  INFO -- :   Rendered layouts/_pagingcontrols.html.haml (1.0ms)
[----] I, [2016-08-09T04:15:13.500669 #3091:1200b9c]  INFO -- :   Rendered layouts/listnav/_middleware_server.html.haml (14.1ms)
[----] I, [2016-08-09T04:15:13.500872 #3091:1200b9c]  INFO -- :   Rendered layouts/_listnav.html.haml (14.6ms)
[----] I, [2016-08-09T04:15:13.501018 #3091:1200b9c]  INFO -- :   Rendered layouts/_content.html.haml (41.0ms)
[----] I, [2016-08-09T04:15:13.501498 #3091:1200b9c]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2016-08-09T04:15:13.501636 #3091:1200b9c]  INFO -- :   Rendered layouts/_footer.html.haml (0.3ms)
[----] I, [2016-08-09T04:15:13.507226 #3091:1200b9c]  INFO -- : Completed 200 OK in 300ms (Views: 68.9ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:15:13.850675 #3091:11fe720]  INFO -- : Started GET "/assets/application-fbbf0d9eb5815fc6c493ad4eecbacc511b0ed10635c26c3c4ff89a2744d02354.css" for 127.0.0.1 at 2016-08-09 04:15:13 -0400
[----] I, [2016-08-09T04:15:14.086826 #3091:12041e8]  INFO -- : Started GET "/assets/application-44b7c3d63613c846a4c7fb8fd9e9987cb32592d15060e665947301e59d9e8cac.js" for 127.0.0.1 at 2016-08-09 04:15:14 -0400
[----] I, [2016-08-09T04:15:16.565908 #3091:1200d90]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.2ms)
[----] I, [2016-08-09T04:15:16.571707 #3091:1200d90]  INFO -- : Completed 200 OK in 7770ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[----] F, [2016-08-09T04:15:22.523952 #3091:11fe0a4] FATAL -- :   
[----] F, [2016-08-09T04:15:22.524060 #3091:11fe0a4] FATAL -- : ActionController::RoutingError (No route matches [GET] "/assets/application-44b7c3d63613c846a4c7fb8fd9e9987cb32592d15060e665947301e59d9e8cac.js"):
[----] F, [2016-08-09T04:15:22.524108 #3091:11fe0a4] FATAL -- :   
[----] F, [2016-08-09T04:15:22.524149 #3091:11fe0a4] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:53:in`call'
[----] F, [2016-08-09T04:15:22.524188 #3091:11fe0a4] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-08-09T04:15:22.524224 #3091:11fe0a4] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:36:in`call_app'
[----] F, [2016-08-09T04:15:22.524258 #3091:11fe0a4] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-08-09T04:15:22.524299 #3091:11fe0a4] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in`call'
[----] F, [2016-08-09T04:15:22.524352 #3091:11fe0a4] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-08-09T04:15:22.524390 #3091:11fe0a4] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in`call'
[----] F, [2016-08-09T04:15:22.524425 #3091:11fe0a4] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-08-09T04:15:22.524460 #3091:11fe0a4] FATAL -- : activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in`call'
[----] F, [2016-08-09T04:15:22.524497 #3091:11fe0a4] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-08-09T04:15:22.524531 #3091:11fe0a4] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in`call'
[----] F, [2016-08-09T04:15:22.524567 #3091:11fe0a4] FATAL -- : railties (5.0.0) lib/rails/engine.rb:522:in `call'
[----] F, [2016-08-09T04:15:22.524613 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in`call'
[----] F, [2016-08-09T04:15:22.524650 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-08-09T04:15:22.524688 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in`process_client'
[----] F, [2016-08-09T04:15:22.524722 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-08-09T04:15:22.524758 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in`call'
[----] F, [2016-08-09T04:15:22.524837 #3091:11fe0a4] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] I, [2016-08-09T04:15:39.976209 #3106:1203554]  INFO -- : Started GET "/api" for 127.0.0.1 at 2016-08-09 04:15:39 -0400
[----] I, [2016-08-09T04:15:39.979612 #3106:1203554]  INFO -- : Processing by ApiController#show_entrypoint as JSON
[----] I, [2016-08-09T04:15:39.983330 #3106:1203554]  INFO -- : Filter chain halted as :require_api_user_or_token rendered or redirected
[----] I, [2016-08-09T04:15:39.983575 #3106:1203554]  INFO -- : Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms)
[----] F, [2016-08-09T04:15:48.432674 #3091:12041e8] FATAL -- :   
[----] F, [2016-08-09T04:15:48.432785 #3091:12041e8] FATAL -- : ActionController::RoutingError (No route matches [GET] "/assets/application-44b7c3d63613c846a4c7fb8fd9e9987cb32592d15060e665947301e59d9e8cac.js"):
[----] F, [2016-08-09T04:15:48.432836 #3091:12041e8] FATAL -- :   
[----] F, [2016-08-09T04:15:48.432878 #3091:12041e8] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:53:in`call'
[----] F, [2016-08-09T04:15:48.432933 #3091:12041e8] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-08-09T04:15:48.432986 #3091:12041e8] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:36:in`call_app'
[----] F, [2016-08-09T04:15:48.433029 #3091:12041e8] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-08-09T04:15:48.433069 #3091:12041e8] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in`call'
[----] F, [2016-08-09T04:15:48.433128 #3091:12041e8] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-08-09T04:15:48.433183 #3091:12041e8] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in`call'
[----] F, [2016-08-09T04:15:48.433226 #3091:12041e8] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-08-09T04:15:48.433273 #3091:12041e8] FATAL -- : activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in`call'
[----] F, [2016-08-09T04:15:48.433326 #3091:12041e8] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-08-09T04:15:48.433372 #3091:12041e8] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in`call'
[----] F, [2016-08-09T04:15:48.433419 #3091:12041e8] FATAL -- : railties (5.0.0) lib/rails/engine.rb:522:in `call'
[----] F, [2016-08-09T04:15:48.433460 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in`call'
[----] F, [2016-08-09T04:15:48.433507 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-08-09T04:15:48.433555 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in`process_client'
[----] F, [2016-08-09T04:15:48.433606 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-08-09T04:15:48.433651 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in`call'
[----] F, [2016-08-09T04:15:48.433689 #3091:12041e8] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'

[----] I, [2016-08-09T04:17:03.609595 #27361:18db174]  INFO -- : Started GET "/" for 127.0.0.1 at 2016-08-09 04:17:03 -0400
[----] I, [2016-08-09T04:17:04.863352 #27361:18db174]  INFO -- : Processing by DashboardController#login as _/_
[----] I, [2016-08-09T04:17:04.870159 #27361:18db174]  INFO -- : Fork detected, re-connecting child process...
[----] I, [2016-08-09T04:17:04.900519 #27361:18db174]  INFO -- :   Rendering dashboard/login.html.haml within layouts/login
[----] I, [2016-08-09T04:17:04.931117 #27361:18db174]  INFO -- :   Rendered layouts/_spinner.html.haml (3.6ms)
[----] I, [2016-08-09T04:17:04.941661 #27361:18db174]  INFO -- :   Rendered layouts/_flash_msg.html.haml (7.4ms)
[----] I, [2016-08-09T04:17:04.953964 #27361:18db174]  INFO -- :   Rendered dashboard/_login_more.html.haml (3.9ms)
[----] I, [2016-08-09T04:17:05.001034 #27361:18db174]  INFO -- :   Rendered dashboard/login.html.haml within layouts/login (100.3ms)
[----] I, [2016-08-09T04:17:05.011078 #27361:18db174]  INFO -- :   Rendered layouts/_doctype.html.haml (1.3ms)
[----] I, [2016-08-09T04:17:05.017080 #27361:18db174]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.3ms)
[----] I, [2016-08-09T04:17:05.019312 #27361:18db174]  INFO -- : Completed 200 OK in 156ms (Views: 129.0ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:08.732998 #27361:18dbee4]  INFO -- : Started GET "/" for 127.0.0.1 at 2016-08-09 04:17:08 -0400
[----] I, [2016-08-09T04:17:08.735131 #27361:18dbee4]  INFO -- : Processing by DashboardController#login as _/_
[----] I, [2016-08-09T04:17:08.746127 #27361:18dbee4]  INFO -- :   Rendering dashboard/login.html.haml within layouts/login
[----] I, [2016-08-09T04:17:08.747347 #27361:18dbee4]  INFO -- :   Rendered layouts/_spinner.html.haml (0.5ms)
[----] I, [2016-08-09T04:17:08.747678 #27361:18dbee4]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:17:08.748217 #27361:18dbee4]  INFO -- :   Rendered dashboard/_login_more.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:08.751097 #27361:18dbee4]  INFO -- :   Rendered dashboard/login.html.haml within layouts/login (4.8ms)
[----] I, [2016-08-09T04:17:08.751352 #27361:18dbee4]  INFO -- :   Rendered layouts/_doctype.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:08.752589 #27361:18dbee4]  INFO -- :   Rendered layouts/_i18n_js.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:08.754023 #27361:18dbee4]  INFO -- : Completed 200 OK in 19ms (Views: 8.0ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:10.550211 #27361:18ddc58]  INFO -- : Started GET "/ems_middleware/show/2" for 127.0.0.1 at 2016-08-09 04:17:10 -0400
[----] I, [2016-08-09T04:17:10.571709 #27361:18ddc58]  INFO -- : Processing by EmsMiddlewareController#show as HTML
[----] I, [2016-08-09T04:17:10.571876 #27361:18ddc58]  INFO -- :   Parameters: {"id"=>"2"}
[----] I, [2016-08-09T04:17:10.589828 #27361:18ddc58]  INFO -- : Redirected to https://10.16.5.96/dashboard/login?timeout=false
[----] I, [2016-08-09T04:17:10.590085 #27361:18ddc58]  INFO -- : Filter chain halted as :check_privileges rendered or redirected
[----] I, [2016-08-09T04:17:10.590348 #27361:18ddc58]  INFO -- : Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:10.777639 #27361:18ddc58]  INFO -- : Started GET "/dashboard/login?timeout=false" for 127.0.0.1 at 2016-08-09 04:17:10 -0400
[----] I, [2016-08-09T04:17:10.780045 #27361:18ddc58]  INFO -- : Processing by DashboardController#login as HTML
[----] I, [2016-08-09T04:17:10.780122 #27361:18ddc58]  INFO -- :   Parameters: {"timeout"=>"false"}
[----] I, [2016-08-09T04:17:10.790509 #27361:18ddc58]  INFO -- :   Rendering dashboard/login.html.haml within layouts/login
[----] I, [2016-08-09T04:17:10.813613 #27361:18ddc58]  INFO -- :   Rendered layouts/_spinner.html.haml (3.2ms)
[----] I, [2016-08-09T04:17:10.821615 #27361:18ddc58]  INFO -- :   Rendered layouts/_flash_msg.html.haml (7.3ms)
[----] I, [2016-08-09T04:17:10.826356 #27361:18ddc58]  INFO -- :   Rendered dashboard/_login_more.html.haml (3.8ms)
[----] I, [2016-08-09T04:17:10.829862 #27361:18ddc58]  INFO -- :   Rendered dashboard/login.html.haml within layouts/login (39.2ms)
[----] I, [2016-08-09T04:17:10.831672 #27361:18ddc58]  INFO -- :   Rendered layouts/_doctype.html.haml (1.1ms)
[----] I, [2016-08-09T04:17:10.834856 #27361:18ddc58]  INFO -- :   Rendered layouts/_i18n_js.html.haml (1.4ms)
[----] I, [2016-08-09T04:17:10.836580 #27361:18ddc58]  INFO -- : Completed 200 OK in 56ms (Views: 46.4ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:12.454496 #27361:18db8e0]  INFO -- : Started GET "/" for 127.0.0.1 at 2016-08-09 04:17:12 -0400
[----] I, [2016-08-09T04:17:12.456400 #27361:18db8e0]  INFO -- : Processing by DashboardController#login as _/_
[----] I, [2016-08-09T04:17:12.466558 #27361:18db8e0]  INFO -- :   Rendering dashboard/login.html.haml within layouts/login
[----] I, [2016-08-09T04:17:12.467662 #27361:18db8e0]  INFO -- :   Rendered layouts/_spinner.html.haml (0.5ms)
[----] I, [2016-08-09T04:17:12.467985 #27361:18db8e0]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:17:12.468565 #27361:18db8e0]  INFO -- :   Rendered dashboard/_login_more.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:12.471430 #27361:18db8e0]  INFO -- :   Rendered dashboard/login.html.haml within layouts/login (4.7ms)
[----] I, [2016-08-09T04:17:12.471844 #27361:18db8e0]  INFO -- :   Rendered layouts/_doctype.html.haml (0.2ms)
[----] I, [2016-08-09T04:17:12.473030 #27361:18db8e0]  INFO -- :   Rendered layouts/_i18n_js.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:12.474522 #27361:18db8e0]  INFO -- : Completed 200 OK in 18ms (Views: 8.0ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:13.875065 #27376:18c82a4]  INFO -- : Started DELETE "/api/auth" for 127.0.0.1 at 2016-08-09 04:17:13 -0400
[----] I, [2016-08-09T04:17:14.785351 #27361:18e3d10]  INFO -- : Started POST "/dashboard/window_sizes?width=1920&height=879" for 127.0.0.1 at 2016-08-09 04:17:14 -0400
[----] I, [2016-08-09T04:17:14.787913 #27361:18e3d10]  INFO -- : Processing by DashboardController#window_sizes as JS
[----] I, [2016-08-09T04:17:14.788004 #27361:18e3d10]  INFO -- :   Parameters: {"width"=>"1920", "height"=>"879"}
[----] I, [2016-08-09T04:17:14.790749 #27361:18e3d10]  INFO -- : Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:15.906852 #27376:18c82a4]  INFO -- : Processing by ApiController#destroy as JSON
[----] I, [2016-08-09T04:17:15.916478 #27376:18c82a4]  INFO -- : Completed 401 Unauthorized in 9ms (Views: 1.1ms | ActiveRecord: 0.0ms)
[----] I, [2016-08-09T04:17:17.611639 #27361:18db174]  INFO -- : Started GET "/" for 127.0.0.1 at 2016-08-09 04:17:17 -0400
[----] I, [2016-08-09T04:17:17.613353 #27361:18db174]  INFO -- : Processing by DashboardController#login as HTML
[----] I, [2016-08-09T04:17:17.623690 #27361:18db174]  INFO -- :   Rendering dashboard/login.html.haml within layouts/login
[----] I, [2016-08-09T04:17:17.624722 #27361:18db174]  INFO -- :   Rendered layouts/_spinner.html.haml (0.5ms)
[----] I, [2016-08-09T04:17:17.625071 #27361:18db174]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-08-09T04:17:17.625579 #27361:18db174]  INFO -- :   Rendered dashboard/_login_more.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:17.628431 #27361:18db174]  INFO -- :   Rendered dashboard/login.html.haml within layouts/login (4.6ms)
[----] I, [2016-08-09T04:17:17.628705 #27361:18db174]  INFO -- :   Rendered layouts/_doctype.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:17.629871 #27361:18db174]  INFO -- :   Rendered layouts/_i18n_js.html.haml (0.0ms)
[----] I, [2016-08-09T04:17:17.631360 #27361:18db174]  INFO -- : Completed 200 OK in 18ms (Views: 7.6ms | ActiveRecord: 0.0ms)
abonas commented 8 years ago

can you check the evm.log at the same point in time? what did the ui say - was there an error or it just didn't open completely?

hhovsepy commented 8 years ago

UI did not open completely, with service temporary unavailable.

evm.log at that time contain this logs:

[----] I, [2016-08-09T04:14:58.316978 #3048:80f980]  INFO -- : MIQ(MiqScheduleWorker::Runner#do_work) Number of scheduled items to be processed: 1.
[----] I, [2016-08-09T04:15:03.692580 #3048:80f980]  INFO -- : MIQ(MiqQueue.put) Message id: [12570],  id: [], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: []
[----] I, [2016-08-09T04:15:05.358063 #3048:80f980]  INFO -- : MIQ(MiqQueue.put) Message id: [12571],  id: [], Zone: [default], Role: [], Server: [dad4f6a0-5b9d-11e6-9563-fa163ee54d96], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [Session.check_session_timeout], Timeout: [600], Priority: [90], State: [ready], Deliver On: [], Data: [], Args: []
[----] I, [2016-08-09T04:15:13.178492 #3091:1200d90]  INFO -- : MIQ(MiqQueue.put) Message id: [12572],  id: [], Zone: [default], Role: [ems_inventory], Server: [], Ident: [ems_2], Target id: [], Instance id: [], Task id: [], Command: [EmsRefresh.refresh], Timeout: [7200], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [[["ManageIQ::Providers::Hawkular::MiddlewareManager", 2]]]
[----] I, [2016-08-09T04:15:16.531007 #3091:1200d90]  INFO -- : <AuditSuccess> MIQ(EmsCommon.process_emss) userid: [admin] - 'refresh_ems' successfully initiated for 1 Middleware Providers
[----] I, [2016-08-09T04:15:19.484061 #2832:80f980]  INFO -- : MIQ(MiqServer#populate_queue_messages) Fetched 2 miq_queue rows for queue_name=generic, wcount=4, priority=200
[----] I, [2016-08-09T04:15:19.488732 #2832:80f980]  INFO -- : MIQ(MiqServer#populate_queue_messages) Fetched 1 miq_queue rows for queue_name=ems_2, wcount=2, priority=200
[----] I, [2016-08-09T04:15:19.488961 #2832:80f980]  INFO -- : MIQ(MiqServer#monitor_loop) Server Monitoring Complete - Timings: {:server_dequeue=>0.0050356388092041016, :worker_monitor=>23.744043827056885, :worker_dequeue=>0.01598668098449707, :total_time=>23.765491724014282}
[----] I, [2016-08-09T04:15:19.764181 #2996:80f980]  INFO -- : MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [12570], MiqWorker id: [14], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [dequeue], Deliver On: [], Data: [], Args: [], Dequeued in: [21.439205792] seconds
[----] I, [2016-08-09T04:15:19.764504 #2996:80f980]  INFO -- : Q-task_id([job_dispatcher]) MIQ(MiqQueue#deliver) Message id: [12570], Delivering...
[----] I, [2016-08-09T04:15:19.769818 #2996:80f980]  INFO -- : Q-task_id([job_dispatcher]) MIQ(JobProxyDispatcher#dispatch) Complete - Timings: {:pending_container_jobs=>0.0029854774475097656, :container_jobs_to_dispatch_count=>0, :container_dispatching=>0.0030012130737304688, :pending_vm_jobs=>0.0006039142608642578, :vm_jobs_to_dispatch_count=>0, :total_time=>0.004817962646484375}
[----] I, [2016-08-09T04:15:19.770093 #2996:80f980]  INFO -- : Q-task_id([job_dispatcher]) MIQ(MiqQueue#delivered) Message id: [12570], State: [ok], Delivered in [0.005590606] seconds
[----] I, [2016-08-09T04:15:19.830629 #2996:80f980]  INFO -- : MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [12571], MiqWorker id: [14], Zone: [default], Role: [], Server: [dad4f6a0-5b9d-11e6-9563-fa163ee54d96], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [Session.check_session_timeout], Timeout: [600], Priority: [90], State: [dequeue], Deliver On: [], Data: [], Args: [], Dequeued in: [16.133403623] seconds
[----] I, [2016-08-09T04:15:19.830853 #2996:80f980]  INFO -- : MIQ(MiqQueue#deliver) Message id: [12571], Delivering...
[----] I, [2016-08-09T04:15:19.841013 #2996:80f980]  INFO -- : MIQ(MiqQueue#delivered) Message id: [12571], State: [ok], Delivered in [0.010130305] seconds
[----] I, [2016-08-09T04:15:20.379093 #3048:80f980]  INFO -- : MIQ(MiqScheduleWorker::Runner#do_work) Number of scheduled items to be processed: 1.
[----] I, [2016-08-09T04:15:20.413657 #3048:80f980]  INFO -- : MIQ(MiqQueue.put) Message id: [12573],  id: [], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: []
[----] I, [2016-08-09T04:15:24.489466 #2832:80f980]  INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2016-08-09 08:15:24 UTC]...
[----] I, [2016-08-09T04:15:24.537902 #2832:80f980]  INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2016-08-09 08:15:24 UTC]...Complete
abonas commented 8 years ago

@Fryguy any idea regarding the puma exception here? anything else you recommend to check?

hhovsepy commented 7 years ago

@pilhuhn @gtanzillo Still I see this issue on MiQ. Production log: production-log.txt

hhovsepy commented 7 years ago

evm-log.txt

hhovsepy commented 7 years ago

It happens when I add datasource and operation fails.

pilhuhn commented 7 years ago

@miq-bot assign @cfcosta Caina please have a look

cfcosta commented 7 years ago

On it.

cfcosta commented 7 years ago

Hello, @hhovsepy!

I did some research and tried to replicate your error locally with no success. Some resources point that this error is common on websocket connections/actioncable, and we did a change to increase the amount of database connections available for them. Given that your issue is older than this change, can you check if it was fixed by f85a88d3? It was applied on master on Nov 22, so it could be fixed already.

If not, is it possible for you to generate either a test case or a way to reliably replicate the bug? That'd make it a lot easier to fix.

abonas commented 7 years ago

related to https://github.com/ManageIQ/manageiq/pull/14116

abonas commented 7 years ago

given that it's an infra/core issue, reassigning. @miq-bot assign @blomquisg

jrafanie commented 7 years ago

@cfcosta @abonas In #14116 we tried to diagnose this but weren't provided information to work with. We need to see what is consuming database connections. If you can recreate this in production mode as the BZ says, enable the rails debug logging and see what is consuming the database connections. What actions checkout connections and don't return them? We can help track this down but honestly, I have no idea what environment is needed or how I can set it up to recreate it. It might be the actioncable stuff but we haven't done enough diagnostics to say whether this is true or not. I'm not sure @blomquisg will be able to help. Does this only happen on the middleware UI requests? If so, why?

blomquisg commented 7 years ago

Sorry this was off my radar entirely. We've seen issues with the bot not reassigning when it's supposed to. But, haven't figured out why that happens.

I reassigned to @gtanzillo to take a look. But, as @jrafanie said, it's hard to say if they can make any progress without some of the data he's looking for.

jrafanie commented 7 years ago

@cfcosta @abonas bump. Any update on this issue? How can I help? Can you provide logs in production mode on an appliance with rails debug logging enabled with the issue recreated as requested before?

abonas commented 7 years ago

@hhovsepy please see @jrafanie request regarding logs ^^

hhovsepy commented 7 years ago

@jrafanie I am running ManageIQ in a docker container, do you know how can I reload the log level configuration changes? I am changing 'config.log_level = :debug' in config/environments/production.rb but it still logs are in INFO level.

jrafanie commented 7 years ago

@hhovsepy go to configuration/advanced settings, change level_rails to debug. You should start seeing debug messages in log/production.log and can begin your recreation of the issue.

FYI, we've discussed more of this here

Once you get production.log showing these messages and recreate the issue, please provide the production.log and evm.log. Thank you.

hhovsepy commented 7 years ago

@jrafanie I was able to reproduce the issue with debug level of logs. But the messages you mentioned did not appear in logs.

The server becomes unavailable after this line in evm.log: [----] E, [2017-06-08T08:50:38.632768 #694:3f9bded11438] ERROR -- : MIQ(ManageIQ::Providers::Hawkular::MiddlewareManager#add_middleware_datasource) error callback was called, reason: Could not perform [Add] on a [Datasource] given by inventory path [/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~] requested on [2017-06-08T08:50Z]: org.hawkular.dmr.api.OperationFailureException: Could not perform operation [composite]: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.driver-demander.java:/MSSQLXADS is missing [jboss.jdbc-driver.sqlserver]","org.wildfly.data-source.MSSQLXADS is missing [jboss.jdbc-driver.sqlserver]"]}}}

evm.txt production.txt

jrafanie commented 7 years ago

Thanks @hhovsepy, this is exactly what we needed!

@skateman Can you review the production.txt attached above? It looks like actioncable threads are consuming db connections and never checking them back in.

Basically, I looked for all of the log_after lines to see when connections checkout and checkin and looked for thread ids where the check out occurs but the db connection is never checked in. The following threads all never check in their database connection:

3f9bdcc28834
3f9bdedfbb14
3f9bdda5699c
3f9bde3a5c64
3f9bdf2bf024
3f9bdf11dd4c
3f9bded11438

1) Is this expected? It seems so but didn't we go through this process already of figuring out how many connections we need? 2) If so, how many threads per puma process are you expecting to be created and hold onto permanent db connections? 3) Why is this happening in around the POSTs "/middleware_server/add_datasource" and not other places? 4) we have ui, webservice and websocket workers with 8, 8, and 14 connections in the settings.yml, are these correct?

    :ui_worker:
      :connection_pool_size: 8
...
    :web_service_worker:
      :connection_pool_size: 8
...
    :websocket_worker:
       :connection_pool_size: 14
grep -E "3f9bdcc28834|3f9bdedfbb14|3f9bdda5699c|3f9bde3a5c64|3f9bdf2bf024|3f9bdf11dd4c|3f9bded11438" production.txt
[----] D, [2017-06-08T08:48:53.801572 #694:3f9bdcc28834] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 3, in use: 3, waiting_in_queue: 0
[----] D, [2017-06-08T08:48:53.803671 #694:3f9bdcc28834] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (0.4ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:48:53.834382 #694:3f9bdcc28834] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (30.2ms - 1rows)
[----] D, [2017-06-08T08:48:54.337733 #694:3f9bdcc28834] DEBUG -- :   NotificationType Load (0.5ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_failure"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:48:54.338252 #694:3f9bdcc28834] DEBUG -- :   NotificationType Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:48:54.341665 #694:3f9bdcc28834] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:48:54.343768 #694:3f9bdcc28834] DEBUG -- :    (0.4ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:48:54.905757 #694:3f9bdcc28834] DEBUG -- :   SQL (150.1ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 23], ["created_at", "2017-06-08 08:48:54.342314"], ["updated_at", "2017-06-08 08:48:54.342314"], ["options", "---\n:op_name: Add JDBC Driver\n:op_arg: mysql\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:48:54.910237 #694:3f9bdcc28834] DEBUG -- :   SQL (2.7ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 1], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:48:55.173904 #694:3f9bdcc28834] DEBUG -- :    (262.4ms)  COMMIT
[----] D, [2017-06-08T08:48:55.177281 #694:3f9bdcc28834] DEBUG -- :    (0.4ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 1]]
[----] I, [2017-06-08T08:48:55.219848 #694:3f9bdcc28834]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"warning", :created_at=>Thu, 08 Jun 2017 08:48:54 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} has failed to complete. Please check the logs for further details.", :bindings=>{:op_name=>{:text=>"Add JDBC Driver"}, :op_arg=>{:text=>"mysql"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:49:20.528625 #694:3f9bdedfbb14] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 3, in use: 3, waiting_in_queue: 0
[----] D, [2017-06-08T08:49:20.529690 #694:3f9bdedfbb14] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (0.5ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:20.530252 #694:3f9bdedfbb14] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:49:20.590470 #694:3f9bdedfbb14] DEBUG -- :   NotificationType Load (59.2ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_failure"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:20.591185 #694:3f9bdedfbb14] DEBUG -- :   NotificationType Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:49:20.593259 #694:3f9bdedfbb14] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:49:20.595137 #694:3f9bdedfbb14] DEBUG -- :    (0.3ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:49:20.618750 #694:3f9bdedfbb14] DEBUG -- :   SQL (1.0ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 23], ["created_at", "2017-06-08 08:49:20.593963"], ["updated_at", "2017-06-08 08:49:20.593963"], ["options", "---\n:op_name: Add JDBC Driver\n:op_arg: oracle\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:49:20.644755 #694:3f9bdedfbb14] DEBUG -- :   SQL (24.7ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 2], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:49:20.685417 #694:3f9bdedfbb14] DEBUG -- :    (39.3ms)  COMMIT
[----] D, [2017-06-08T08:49:20.730847 #694:3f9bdedfbb14] DEBUG -- :    (43.0ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 2]]
[----] I, [2017-06-08T08:49:20.732233 #694:3f9bdedfbb14]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"warning", :created_at=>Thu, 08 Jun 2017 08:49:20 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} has failed to complete. Please check the logs for further details.", :bindings=>{:op_name=>{:text=>"Add JDBC Driver"}, :op_arg=>{:text=>"oracle"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:49:41.474814 #694:3f9bdda5699c] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 4, in use: 4, waiting_in_queue: 0
[----] D, [2017-06-08T08:49:41.475833 #694:3f9bdda5699c] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (0.5ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:41.476357 #694:3f9bdda5699c] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:49:41.477954 #694:3f9bdda5699c] DEBUG -- :   NotificationType Load (0.7ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_success"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:41.478340 #694:3f9bdda5699c] DEBUG -- :   NotificationType Inst Including Associations (0.1ms - 1rows)
[----] D, [2017-06-08T08:49:41.479941 #694:3f9bdda5699c] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:49:41.481482 #694:3f9bdda5699c] DEBUG -- :    (0.3ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:49:41.485882 #694:3f9bdda5699c] DEBUG -- :   SQL (0.8ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 22], ["created_at", "2017-06-08 08:49:41.480435"], ["updated_at", "2017-06-08 08:49:41.480435"], ["options", "---\n:op_name: Add Datasource\n:op_arg: PostgresXADS\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:49:41.487784 #694:3f9bdda5699c] DEBUG -- :   SQL (0.6ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 3], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:49:41.506508 #694:3f9bdda5699c] DEBUG -- :    (17.9ms)  COMMIT
[----] D, [2017-06-08T08:49:41.508463 #694:3f9bdda5699c] DEBUG -- :    (0.3ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 3]]
[----] I, [2017-06-08T08:49:41.509242 #694:3f9bdda5699c]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"success", :created_at=>Thu, 08 Jun 2017 08:49:41 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} completed successfully.", :bindings=>{:op_name=>{:text=>"Add Datasource"}, :op_arg=>{:text=>"PostgresXADS"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:49:54.456706 #694:3f9bde3a5c64] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 5, in use: 5, waiting_in_queue: 0
[----] D, [2017-06-08T08:49:54.458193 #694:3f9bde3a5c64] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (1.0ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:54.458829 #694:3f9bde3a5c64] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.3ms - 1rows)
[----] D, [2017-06-08T08:49:54.460340 #694:3f9bde3a5c64] DEBUG -- :   NotificationType Load (0.6ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_failure"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:49:54.460842 #694:3f9bde3a5c64] DEBUG -- :   NotificationType Inst Including Associations (0.1ms - 1rows)
[----] D, [2017-06-08T08:49:54.462579 #694:3f9bde3a5c64] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:49:54.464188 #694:3f9bde3a5c64] DEBUG -- :    (0.3ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:49:54.469583 #694:3f9bde3a5c64] DEBUG -- :   SQL (0.9ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 23], ["created_at", "2017-06-08 08:49:54.463131"], ["updated_at", "2017-06-08 08:49:54.463131"], ["options", "---\n:op_name: Add Datasource\n:op_arg: PostgresDS\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:49:54.472230 #694:3f9bde3a5c64] DEBUG -- :   SQL (0.7ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 4], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:49:54.511536 #694:3f9bde3a5c64] DEBUG -- :    (38.0ms)  COMMIT
[----] D, [2017-06-08T08:49:54.514819 #694:3f9bde3a5c64] DEBUG -- :    (0.5ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 4]]
[----] I, [2017-06-08T08:49:54.516106 #694:3f9bde3a5c64]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"warning", :created_at=>Thu, 08 Jun 2017 08:49:54 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} has failed to complete. Please check the logs for further details.", :bindings=>{:op_name=>{:text=>"Add Datasource"}, :op_arg=>{:text=>"PostgresDS"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:50:08.276522 #694:3f9bdf2bf024] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 7, in use: 7, waiting_in_queue: 0
[----] D, [2017-06-08T08:50:08.278766 #694:3f9bdf2bf024] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (1.6ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:08.279693 #694:3f9bdf2bf024] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.3ms - 1rows)
[----] D, [2017-06-08T08:50:08.281717 #694:3f9bdf2bf024] DEBUG -- :   NotificationType Load (0.8ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_success"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:08.282339 #694:3f9bdf2bf024] DEBUG -- :   NotificationType Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:50:08.284827 #694:3f9bdf2bf024] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:50:08.287974 #694:3f9bdf2bf024] DEBUG -- :    (1.1ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:50:08.292722 #694:3f9bdf2bf024] DEBUG -- :   SQL (0.9ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 22], ["created_at", "2017-06-08 08:50:08.285651"], ["updated_at", "2017-06-08 08:50:08.285651"], ["options", "---\n:op_name: Add Datasource\n:op_arg: XAOracleDS\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:50:08.294821 #694:3f9bdf2bf024] DEBUG -- :   SQL (0.6ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 5], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:50:08.367816 #694:3f9bdf2bf024] DEBUG -- :    (71.3ms)  COMMIT
[----] D, [2017-06-08T08:50:08.371581 #694:3f9bdf2bf024] DEBUG -- :    (0.4ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 5]]
[----] I, [2017-06-08T08:50:08.372917 #694:3f9bdf2bf024]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"success", :created_at=>Thu, 08 Jun 2017 08:50:08 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} completed successfully.", :bindings=>{:op_name=>{:text=>"Add Datasource"}, :op_arg=>{:text=>"XAOracleDS"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:50:24.682150 #694:3f9bdf11dd4c] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 7, in use: 7, waiting_in_queue: 0
[----] D, [2017-06-08T08:50:24.683466 #694:3f9bdf11dd4c] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (0.7ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:24.684296 #694:3f9bdf11dd4c] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.3ms - 1rows)
[----] D, [2017-06-08T08:50:24.686342 #694:3f9bdf11dd4c] DEBUG -- :   NotificationType Load (0.9ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_success"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:24.687011 #694:3f9bdf11dd4c] DEBUG -- :   NotificationType Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:50:24.689843 #694:3f9bdf11dd4c] DEBUG -- :    (0.8ms)  BEGIN
[----] D, [2017-06-08T08:50:24.694206 #694:3f9bdf11dd4c] DEBUG -- :    (2.4ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:50:24.699752 #694:3f9bdf11dd4c] DEBUG -- :   SQL (0.8ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 22], ["created_at", "2017-06-08 08:50:24.690577"], ["updated_at", "2017-06-08 08:50:24.690577"], ["options", "---\n:op_name: Add Datasource\n:op_arg: OracleDS\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:50:24.701666 #694:3f9bdf11dd4c] DEBUG -- :   SQL (0.5ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 6], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:50:24.754390 #694:3f9bdf11dd4c] DEBUG -- :    (51.6ms)  COMMIT
[----] D, [2017-06-08T08:50:24.757088 #694:3f9bdf11dd4c] DEBUG -- :    (0.4ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 6]]
[----] I, [2017-06-08T08:50:24.758190 #694:3f9bdf11dd4c]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"success", :created_at=>Thu, 08 Jun 2017 08:50:24 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} completed successfully.", :bindings=>{:op_name=>{:text=>"Add Datasource"}, :op_arg=>{:text=>"OracleDS"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
[----] D, [2017-06-08T08:50:38.634225 #694:3f9bded11438] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 8, in use: 8, waiting_in_queue: 0
[----] D, [2017-06-08T08:50:38.635366 #694:3f9bded11438] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Load (0.5ms)  SELECT  "middleware_servers".* FROM "middleware_servers" WHERE "middleware_servers"."ems_ref" = $1 LIMIT $2  [["ems_ref", "/t;hawkular/f;ca4191af-e7fe-46a2-a968-d42939696443/r;EAP7~~"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:38.636010 #694:3f9bded11438] DEBUG -- :   ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer Inst Including Associations (0.2ms - 1rows)
[----] D, [2017-06-08T08:50:38.637794 #694:3f9bded11438] DEBUG -- :   NotificationType Load (0.9ms)  SELECT  "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = $1 LIMIT $2  [["name", "mw_op_failure"], ["LIMIT", 1]]
[----] D, [2017-06-08T08:50:38.638161 #694:3f9bded11438] DEBUG -- :   NotificationType Inst Including Associations (0.1ms - 1rows)
[----] D, [2017-06-08T08:50:38.639869 #694:3f9bded11438] DEBUG -- :    (0.2ms)  BEGIN
[----] D, [2017-06-08T08:50:38.641520 #694:3f9bded11438] DEBUG -- :    (0.3ms)  SELECT "users"."id" FROM "users"
[----] D, [2017-06-08T08:50:38.646117 #694:3f9bded11438] DEBUG -- :   SQL (0.9ms)  INSERT INTO "notifications" ("notification_type_id", "created_at", "updated_at", "options") VALUES ($1, $2, $3, $4) RETURNING "id"  [["notification_type_id", 23], ["created_at", "2017-06-08 08:50:38.640340"], ["updated_at", "2017-06-08 08:50:38.640340"], ["options", "---\n:op_name: Add Datasource\n:op_arg: MSSQLXADS\n:mw_server: EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)\n"]]
[----] D, [2017-06-08T08:50:38.648056 #694:3f9bded11438] DEBUG -- :   SQL (0.7ms)  INSERT INTO "notification_recipients" ("notification_id", "user_id", "seen") VALUES ($1, $2, $3) RETURNING "id"  [["notification_id", 7], ["user_id", 1], ["seen", "f"]]
[----] D, [2017-06-08T08:50:38.699452 #694:3f9bded11438] DEBUG -- :    (50.5ms)  COMMIT
[----] D, [2017-06-08T08:50:38.702233 #694:3f9bded11438] DEBUG -- :    (0.4ms)  SELECT "notification_recipients"."id", "notification_recipients"."user_id" FROM "notification_recipients" WHERE "notification_recipients"."notification_id" = $1  [["notification_id", 7]]
[----] I, [2017-06-08T08:50:38.703344 #694:3f9bded11438]  INFO -- : [ActionCable] Broadcasting to notifications_1: {:level=>"warning", :created_at=>Thu, 08 Jun 2017 08:50:38 UTC +00:00, :text=>"The operation %{op_name} %{op_arg} on %{mw_server} has failed to complete. Please check the logs for further details.", :bindings=>{:op_name=>{:text=>"Add Datasource"}, :op_arg=>{:text=>"MSSQLXADS"}, :mw_server=>{:text=>"EAP7 (ca4191af-e7fe-46a2-a968-d42939696443)"}}}
skateman commented 7 years ago

@jrafanie I don't know that much about this, but AC is blocking the connection using the LISTEN command and it's possible that it's not going fully through AR (i.e. it leverages the credentials but nothing more). Due to the socket hijacking AC is quite isolated from Puma, I'm not sure how much, but it's possible that it needs its own. The one thing I'm sure about is that these are persistent as the LISTEN is a blocking call.

miq-bot commented 6 years ago

This issue has been automatically marked as stale because it has not been updated for at least 6 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions!

JPrause commented 5 years ago

@hhovsepy it appears this issue can now be closed. If so, can you close. If there's no update by next week, I'll be closing this issue.

JPrause commented 5 years ago

Closing issue. If you feel the issue needs to remain open, please let me know and it will be reopened. @miq-bot close_issue