Bug 1330368

Summary: Routing error while viewing datastores from host summary page
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED DUPLICATE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:datastore
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 14:01:32 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:

Description Nandini Chandra 2016-04-26 04:05:55 UTC
Description of problem:
----------------------

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


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


Steps to Reproduce:
-------------------
1.Navigate to the summary page of a host.
2.In the Relationships section, click the Datastores link


Actual results:
---------------
UI blows up with this error:

Error text:
No route matches {:action=>"x_show", :controller=>"host", :id=>"6"} [host/show]

Snippet from production.log:

[----] I, [2016-04-25T23:50:34.075155 #12506:e85f80]  INFO -- : Started GET "/host/show/2?display=storages" for 127.0.0.1 at 2016-04-25 23:50:34 -0400
[----] I, [2016-04-25T23:50:34.077529 #12506:e85f80]  INFO -- : Processing by HostController#show as HTML
[----] I, [2016-04-25T23:50:34.077642 #12506:e85f80]  INFO -- :   Parameters: {"display"=>"storages", "id"=>"2"}
[----] I, [2016-04-25T23:50:34.615822 #12506:e85f80]  INFO -- :   Rendering host/show.html.haml within layouts/application
[----] I, [2016-04-25T23:50:34.616449 #12506:e85f80]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2016-04-25T23:50:34.616757 #12506:e85f80]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2016-04-25T23:50:34.623363 #12506:e85f80]  INFO -- :   Rendered layouts/quadicon/_storage.html.haml (6.0ms)
[----] I, [2016-04-25T23:50:34.623510 #12506:e85f80]  INFO -- :   Rendered layouts/gtl/_grid.html.haml (6.6ms)
[----] I, [2016-04-25T23:50:34.623591 #12506:e85f80]  INFO -- :   Rendered layouts/_gtl.html.haml (7.4ms)
[----] I, [2016-04-25T23:50:34.623675 #12506:e85f80]  INFO -- :   Rendered host/show.html.haml within layouts/application (7.7ms)
[----] F, [2016-04-25T23:50:34.624002 #12506:e85f80] FATAL -- : Error caught: [ActionController::UrlGenerationError] No route matches {:action=>"x_show", :controller=>"host", :id=>"13"}
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionpack/lib/action_dispatch/journey/formatter.rb:45:in `generate'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionpack/lib/action_dispatch/routing/route_set.rb:643:in `generate'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionpack/lib/action_dispatch/routing/route_set.rb:674:in `generate'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionpack/lib/action_dispatch/routing/route_set.rb:721:in `url_for'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionpack/lib/action_dispatch/routing/url_for.rb:172:in `url_for'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/routing_url_for.rb:90:in `url_for'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/helpers/url_helper.rb:196:in `link_to'
/var/www/miq/vmdb/app/views/layouts/quadicon/_storage.html.haml:33:in `_app_views_layouts_quadicon__storage_html_haml__3969215413099756655_49200600'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/template.rb:158:in `block in render'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/activesupport/lib/active_support/notifications.rb:166:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/template.rb:348:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/template.rb:156:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/partial_renderer.rb:343:in `render_partial'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/partial_renderer.rb:311:in `block in render'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/activesupport/lib/active_support/notifications.rb:164:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/activesupport/lib/active_support/notifications.rb:164:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/partial_renderer.rb:310:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/renderer.rb:47:in `render_partial'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/renderer/renderer.rb:21:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/helpers/rendering_helper.rb:32:in `render'
/opt/rh/cfme-gemset/bundler/gems/jquery-rjs-17772e44831c/lib/jquery-rjs/rendering.rb:8:in `render_with_update'
/var/www/miq/vmdb/app/helpers/quadicon_helper.rb:35:in `block in render_quadicon'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/helpers/capture_helper.rb:39:in `block in capture'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer'
/opt/rh/cfme-gemset/bundler/gems/rails-f0a2edc7fc08/actionview/lib/action_view/helpers/capture_helper.rb:39:in `capture'



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


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

Comment 2 Harpreet Kataria 2016-04-26 14:01:32 UTC

*** This bug has been marked as a duplicate of bug 1329651 ***