Bug 1363663

Summary: Datastores: " ActionController::RoutingError " when clicking on reload button
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dclarizi, hkataria, jhardy, jprause, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:button:datastore
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1363891 (view as bug list) Environment:
Last Closed: 2017-01-11 19:52:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
reload none

Description Niyaz Akhtar Ansari 2016-08-03 10:07:52 UTC
Created attachment 1186998 [details]
reload

Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
1.Add Vsphere provider 
2.Navigate to Compute->Infrasructure->Datastores 
3.Click on reload button & see production log 

Actual results:
ActionController::RoutingError in production log.

Expected results:
No error 


Additional info:
Production Log:

[----] I, [2016-08-03T05:51:08.732132 #3025:b71a9c]  INFO -- : Started POST "/storage/reload" for 127.0.0.1 at 2016-08-03 05:51:08 -0400
[----] F, [2016-08-03T05:51:08.742082 #3025:b71a9c] FATAL -- :   
[----] F, [2016-08-03T05:51:08.742187 #3025:b71a9c] FATAL -- : ActionController::RoutingError (No route matches [POST] "/storage/reload"):
[----] F, [2016-08-03T05:51:08.742237 #3025:b71a9c] FATAL -- :   
[----] F, [2016-08-03T05:51:08.742280 #3025:b71a9c] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
[----] F, [2016-08-03T05:51:08.742386 #3025:b71a9c] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-08-03T05:51:08.742441 #3025:b71a9c] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
[----] F, [2016-08-03T05:51:08.742502 #3025:b71a9c] FATAL -- : railties (5.0.0) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-08-03T05:51:08.742564 #3025:b71a9c] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
[----] F, [2016-08-03T05:51:08.742621 #3025:b71a9c] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-08-03T05:51:08.742670 #3025:b71a9c] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in `call'
[----] F, [2016-08-03T05:51:08.742725 #3025:b71a9c] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-08-03T05:51:08.742778 #3025:b71a9c] FATAL -- : activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[----] F, [2016-08-03T05:51:08.742830 #3025:b71a9c] FATAL -- : actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-08-03T05:51:08.742874 #3025:b71a9c] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
[----] F, [2016-08-03T05:51:08.742920 #3025:b71a9c] FATAL -- : railties (5.0.0) lib/rails/engine.rb:522:in `call'
[----] F, [2016-08-03T05:51:08.742976 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call'
[----] F, [2016-08-03T05:51:08.743025 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-08-03T05:51:08.743085 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client'
[----] F, [2016-08-03T05:51:08.743139 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-08-03T05:51:08.743191 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `call'
[----] F, [2016-08-03T05:51:08.743242 #3025:b71a9c] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] F, [2016-08-03T05:51:08.743296 #3025:b71a9c] FATAL -- : logging (2.1.0) lib/logging/diagnostic_context.rb:450:in `call'
[----] F, [2016-08-03T05:51:08.743349 #3025:b71a9c] FATAL -- : logging (2.1.0) lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context'

Comment 2 Roman Blanco 2016-08-15 14:07:18 UTC
https://github.com/ManageIQ/manageiq/pull/10474

Comment 5 Niyaz Akhtar Ansari 2016-10-03 05:11:53 UTC
The bug has been fixed.
Verified in version 5.7.0.3.20160927165516_075d0f3