Bug 1246538

Summary: [ActionController::RoutingError] No route matches {:controller=>"vm_or_template", :action=>"launch_html5_console", :id=>1000000000151}
Product: Red Hat CloudForms Management Engine Reporter: ncatling
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, hkataria, jhardy, mfeifer, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1250210 (view as bug list) Environment:
Last Closed: 2015-12-08 13:23:39 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: 1250210    
Attachments:
Description Flags
production.log snippet none

Description ncatling 2015-07-24 14:09:57 UTC
Description of problem:
Accessing remote console fails for a user assigned to an EVM Group using tags as Assigned Filters. Removing the Assigned Filter tags allows user to access console successfully.

UI error produced:
Action not implemented [vm_or_template/html5_console]

Production.log error:
FATAL -- : Error caught: [ActionController::RoutingError] No route matches {:controller=>"vm_or_template", :action=>"launch_html5_console", :id=>1000000000151}
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_dispatch/routing/route_set.rb:540:in `raise_routing_error'
..

Version-Release number of selected component (if applicable):
CFME 5.4.0

How reproducible:


Steps to Reproduce:
1. Create EVM group and configure Assigned Filters with tags
2. Assign user to group
3. Attempt remote console access to VM

Actual results:
Errors produced as above.

Expected results:
Remote console session loaded.

Additional info:

See attached log.

Comment 1 ncatling 2015-07-24 14:11:39 UTC
Created attachment 1055745 [details]
production.log snippet

Comment 4 CFME Bot 2015-08-04 15:02:46 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/52f708b7fbf5c75544246b9976d4af570bf9f786

commit 52f708b7fbf5c75544246b9976d4af570bf9f786
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Aug 4 09:39:45 2015 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Aug 4 09:40:07 2015 -0400

    Add missing console route
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1246538

 config/routes.rb                            | 1 +
 spec/routing/vm_or_template_routing_spec.rb | 1 +
 2 files changed, 2 insertions(+)

Comment 5 Ramesh A 2015-11-18 16:00:14 UTC
Good to go. Verified and working fine in 5.5.0.10-beta2.1.20151110134042_d6f5459

Comment 7 errata-xmlrpc 2015-12-08 13:23:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551