Bug 1231145

Summary: ActionController:RoutingError (No route matches [GET] "/VmOrTemplate/show_timeline/275")
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, hkataria, jhardy, jprause, mfeifer, mpovolny, nachandr, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.4.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.4.3.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 14:32:53 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:

Description Nandini Chandra 2015-06-12 09:14:14 UTC
Description of problem:
------------------------
I came across this error in the production.log file.

Snippet from production.log:

[----] I, [2015-06-10T05:45:08.672777 #24641:41dea8]  INFO -- : Started GET "/VmOrTemplate/show_timeline/275?refresh=n" for 127.0.0.1 at 2015-06-10 05:45:08 -0400
[----] F, [2015-06-10T05:45:08.684368 #24641:41dea8] FATAL -- :
ActionController::RoutingError (No route matches [GET] "/VmOrTemplate/show_timeline/275"):
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/rack/logger.rb:32:in `call_app'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/rack/logger.rb:18:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_dispatch/middleware/static.rb:63:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/engine.rb:484:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/application.rb:231:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/rack/log_tailer.rb:17:in `call'
  thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process'
  thin (1.3.1) lib/thin/connection.rb:78:in `catch'
  thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
  thin (1.3.1) lib/thin/connection.rb:53:in `process'
  thin (1.3.1) lib/thin/connection.rb:38:in `receive_data'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run'
  thin (1.3.1) lib/thin/backends/base.rb:61:in `start'
  thin (1.3.1) lib/thin/server.rb:159:in `start'
  rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
  rack (1.4.5) lib/rack/server.rb:268:in `start'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/commands/server.rb:70:in `start'
  /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/railties/lib/rails/commands.rb:55:in `block in <top (required)>'



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


How reproducible:
-----------------


Steps to Reproduce:
-------------------
Not sure


Actual results:
--------------
Routing error


Expected results:
----------------
No routing error


Additional info:
----------------

Comment 4 Nandini Chandra 2015-07-27 13:45:23 UTC
Dan,

I was able to reproduce this issue on 5.4.1.

Comment 6 CFME Bot 2015-09-03 17:53:01 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c92f379991a1ea44254f49b66d762114cda57fb2

commit c92f379991a1ea44254f49b66d762114cda57fb2
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Wed Sep 2 10:38:18 2015 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Wed Sep 2 10:38:18 2015 -0400

    Added missing route and associated spec test
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1231145

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

Comment 7 CFME Bot 2015-09-03 17:53:11 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=43eda55a2aa967b7d29b119d9a0fb9d1c32744f5

commit 43eda55a2aa967b7d29b119d9a0fb9d1c32744f5
Merge: d09d377 c92f379
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Sep 3 13:51:56 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Sep 3 13:51:56 2015 -0400

    Merge branch 'bz1231145' into '5.4.z'
    
    Added missing route and associated spec test
    
    Not reproducible upstream.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1231145
    
    See merge request !243

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

Comment 9 Nandini Chandra 2015-10-06 16:29:31 UTC
Verified in 5.4.3.0

Comment 11 errata-xmlrpc 2015-10-22 14:32:53 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://rhn.redhat.com/errata/RHBA-2015-1916.html