Created attachment 1237575 [details] MKS plugin issue Description of problem: "FATAL -- : ActionController::RoutingError (No route matches [POST] "/vm_infra/console/198")" found in production.log file while accessing vm console with MKS plugin Version-Release number of selected component (if applicable): 5.7.0.17.20161219135818_725f92f How reproducible: Very Steps to Reproduce: 1. Manage VSphere provider (say VSphere 6 or 55) 2. Navigate to Configuration ==> Setting ==> change "VMware Console Support " as "VMware MKS Plugin" ==> Save 3. Navigate to Compute ==> Infrastructure ==> Virtual Machine ==> Select any vm 4. In the virtual machine details page ==> click on Access ==> VM Console Actual results: UI: Infinite Spinner log file: Throws routing error in production.log file Refer the screenshot and production.log file for further information Expected results: Should not throw any error message in log file and should open the vm console in UI Additional info: production.log: =============== [----] I, [2017-01-05T05:30:15.332466 #28771:b02e6c] INFO -- : Started POST "/vm_infra/console/198" for 127.0.0.1 at 2017-01-05 05:30:15 -0500 [----] F, [2017-01-05T05:30:15.341225 #28771:b02e6c] FATAL -- : [----] F, [2017-01-05T05:30:15.341354 #28771:b02e6c] FATAL -- : ActionController::RoutingError (No route matches [POST] "/vm_infra/console/198"): [----] F, [2017-01-05T05:30:15.341459 #28771:b02e6c] FATAL -- : [----] F, [2017-01-05T05:30:15.341566 #28771:b02e6c] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' [----] F, [2017-01-05T05:30:15.341645 #28771:b02e6c] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' [----] F, [2017-01-05T05:30:15.341767 #28771:b02e6c] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' [----] F, [2017-01-05T05:30:15.341847 #28771:b02e6c] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:26:in `call' [----] F, [2017-01-05T05:30:15.341915 #28771:b02e6c] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' [----] F, [2017-01-05T05:30:15.341972 #28771:b02e6c] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' [----] F, [2017-01-05T05:30:15.342027 #28771:b02e6c] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in `call' [----] F, [2017-01-05T05:30:15.342080 #28771:b02e6c] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call' [----] F, [2017-01-05T05:30:15.342133 #28771:b02e6c] FATAL -- : activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' [----] F, [2017-01-05T05:30:15.342231 #28771:b02e6c] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' [----] F, [2017-01-05T05:30:15.342297 #28771:b02e6c] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in `call' [----] F, [2017-01-05T05:30:15.342350 #28771:b02e6c] FATAL -- : railties (5.0.0.1) lib/rails/engine.rb:522:in `call' [----] F, [2017-01-05T05:30:15.342409 #28771:b02e6c] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call' [----] F, [2017-01-05T05:30:15.342462 #28771:b02e6c] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request' [----] F, [2017-01-05T05:30:15.342518 #28771:b02e6c] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client' [----] F, [2017-01-05T05:30:15.342570 #28771:b02e6c] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run' [----] F, [2017-01-05T05:30:15.342626 #28771:b02e6c] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
https://github.com/ManageIQ/manageiq-ui-classic/pull/463
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/9ec22ad2f5f2f4091512bc17e505297171c8ab1f commit 9ec22ad2f5f2f4091512bc17e505297171c8ab1f Author: Brian McLaughlin <bmclaugh> AuthorDate: Thu Feb 23 16:43:08 2017 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Thu Feb 23 16:44:14 2017 -0500 Add missing route https://bugzilla.redhat.com/show_bug.cgi?id=1410376 config/routes.rb | 1 + 1 file changed, 1 insertion(+)
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/4fdc75a5309c96d62abf590b50c22854d4482d25 commit 4fdc75a5309c96d62abf590b50c22854d4482d25 Author: Brian McLaughlin <bmclaugh> AuthorDate: Thu Feb 23 16:43:52 2017 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Thu Feb 23 16:44:14 2017 -0500 Spec tests https://bugzilla.redhat.com/show_bug.cgi?id=1410376 spec/routing/vm_infra_routing_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+)
https://github.com/ManageIQ/manageiq-providers-vmware/pull/15 commit 1f20fa0d6d4d39ef6798f6aa2ea9bc2b81595ab2 Author: Brian McLaughlin <bmclaugh> Date: Thu Feb 23 16:49:52 2017 -0500 Fix wrong number of arguments error when opening MKS console https://bugzilla.redhat.com/show_bug.cgi?id=1410376
https://github.com/ManageIQ/manageiq-ui-classic/pull/196
VMware MKS Plugin is no longer supported by CFME. https://bugzilla.redhat.com/show_bug.cgi?id=1443086