Bug 1343003 - When clicked on reload button it throws an error in log:RoutingError (No route matches [POST] "/miq_capacity/reload")
Summary: When clicked on reload button it throws an error in log:RoutingError (No rou...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Martin Povolny
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard: ui:button
Depends On:
Blocks: 1353258
TreeView+ depends on / blocked
 
Reported: 2016-06-06 10:20 UTC by Niyaz Akhtar Ansari
Modified: 2017-01-12 05:15 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1353258 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:20:04 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (64.52 KB, image/png)
2016-06-20 11:51 UTC, Niyaz Akhtar Ansari
no flags Details

Description Niyaz Akhtar Ansari 2016-06-06 10:20:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Version: 5.6.0.9-rc2.20160531154046_b4e2f6d


How reproducible:
100%

Steps to Reproduce:
1.Navigate to Optimize->Bottlenecks
2.Click On Reload Button 

Actual results:
Error displayed in production log When clicking on reload button.

Expected results:
No error 

Additional info:


Production Log:

[----] I, [2016-06-06T06:03:36.555329 #3061:f96cd0]  INFO -- : Started POST "/miq_capacity/reload" for 127.0.0.1 at 2016-06-06 06:03:36 -0400
[----] F, [2016-06-06T06:03:36.559428 #3061:f96cd0] FATAL -- :   
[----] F, [2016-06-06T06:03:36.559501 #3061:f96cd0] FATAL -- : ActionController::RoutingError (No route matches [POST] "/miq_capacity/reload"):
[----] F, [2016-06-06T06:03:36.559582 #3061:f96cd0] FATAL -- :   
[----] F, [2016-06-06T06:03:36.559658 #3061:f96cd0] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-41f47090a7cd/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
[----] F, [2016-06-06T06:03:36.559730 #3061:f96cd0] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-41f47090a7cd/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-06-06T06:03:36.559828 #3061:f96cd0] FATAL -- : railties (5.0.0.rc1) lib/rails/rack/logger.rb:36:in `call_app'
[----] F, [2016-06-06T06:03:36.559900 #3061:f96cd0] FATAL -- : railties (5.0.0.rc1) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-06-06T06:03:36.559977 #3061:f96cd0] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
[----] F, [2016-06-06T06:03:36.560073 #3061:f96cd0] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-41f47090a7cd/actionpack/lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-06-06T06:03:36.560148 #3061:f96cd0] FATAL -- : rack (2.0.0.rc1) lib/rack/method_override.rb:22:in `call'
[----] F, [2016-06-06T06:03:36.560219 #3061:f96cd0] FATAL -- : rack (2.0.0.rc1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-06-06T06:03:36.560294 #3061:f96cd0] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-41f47090a7cd/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[----] F, [2016-06-06T06:03:36.560366 #3061:f96cd0] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-41f47090a7cd/actionpack/lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-06-06T06:03:36.560436 #3061:f96cd0] FATAL -- : rack (2.0.0.rc1) lib/rack/sendfile.rb:111:in `call'
[----] F, [2016-06-06T06:03:36.560511 #3061:f96cd0] FATAL -- : railties (5.0.0.rc1) lib/rails/engine.rb:522:in `call'
[----] F, [2016-06-06T06:03:36.560581 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call'
[----] F, [2016-06-06T06:03:36.560701 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-06-06T06:03:36.560768 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client'
[----] F, [2016-06-06T06:03:36.560833 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-06-06T06:03:36.560899 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `call'
[----] F, [2016-06-06T06:03:36.560963 #3061:f96cd0] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] F, [2016-06-06T06:03:36.561047 #3061:f96cd0] FATAL -- : logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `call'
[----] F, [2016-06-06T06:03:36.561113 #3061:f96cd0] FATAL -- : logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'

Comment 3 Niyaz Akhtar Ansari 2016-06-20 11:51:16 UTC
Created attachment 1169857 [details]
screenshot

Hi David,

The button does exist. please see attached screenshot.

Thanks
~Niyaz

Comment 5 Niyaz Akhtar Ansari 2016-06-22 05:21:10 UTC
Hi,

The button is required and exists in 5.5  version also. This issue seems to be reproducible in 5.5 too.

Thanks
~Niyaz

Comment 8 Martin Povolny 2016-06-22 13:53:55 UTC
Upstream PR: https://github.com/ManageIQ/manageiq/pull/9353

Comment 10 CFME Bot 2016-06-24 08:56:19 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a683026c74fdacffccce9afa90b99100e1127bdf

commit a683026c74fdacffccce9afa90b99100e1127bdf
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Jun 22 14:47:41 2016 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Wed Jun 22 15:51:50 2016 +0200

    Implement trivial reload action for C&U.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1343003

 app/controllers/miq_capacity_controller.rb | 5 +++++
 1 file changed, 5 insertions(+)

Comment 13 Niyaz Akhtar Ansari 2016-10-03 06:41:20 UTC
Verified in version 5.7.0.3.20160927165516_075d0f3


Note You need to log in before you can comment on or make changes to this bug.