Bug 1166198 - Callback url routing issue
Summary: Callback url routing issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Dan Clarizio
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1166214
TreeView+ depends on / blocked
 
Reported: 2014-11-20 14:52 UTC by Pete Savage
Modified: 2015-06-16 12:44 UTC (History)
1 user (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1166214 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:44:58 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Pete Savage 2014-11-20 14:52:08 UTC
Description of problem: Callback URLs are not routing


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


How reproducible: 100%


Steps to Reproduce:
1. Attempt a provisioning such as PXE or ISO (real life scenario)
2. Access /miq_request/post_install_callback?task_id=15 on the appliance
3.

Actual results:
Provisioning never finishes as callback is not handled

Expected results:
Callback should be handled

Additional info:
production.log
[----] I, [2014-11-20T14:48:17.987171 #7501:40009c]  INFO -- : Started GET "/miq_request/post_install_callback?task_id=15" for 127.0.0.1 at 2014-11-20 09:48:17 -0500
[----] F, [2014-11-20T14:48:17.995843 #7501:40009c] FATAL -- : 
ActionController::RoutingError (No route matches [GET] "/miq_request/post_install_callback"):
  actionpack (3.2.17) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.17) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.17) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.17) lib/rails/rack/logger.rb:18:in `call'
  actionpack (3.2.17) 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'
  activesupport (3.2.17) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.17) lib/action_dispatch/middleware/static.rb:63:in `call'
  railties (3.2.17) lib/rails/engine.rb:484:in `call'
  railties (3.2.17) lib/rails/application.rb:231:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  railties (3.2.17) 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.0) lib/eventmachine.rb:187:in `run_machine'
  eventmachine (1.0.0) 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'
  railties (3.2.17) lib/rails/commands/server.rb:70:in `start'
  railties (3.2.17) lib/rails/commands.rb:55:in `block in <top (required)>'
  railties (3.2.17) lib/rails/commands.rb:50:in `tap'
  railties (3.2.17) lib/rails/commands.rb:50:in `<top (required)>'
  script/rails:6:in `require'
  script/rails:6:in `<main>'

Comment 3 CFME Bot 2014-11-24 16:17:39 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/283451b56d21fd9f6a9c84b0afc4a64611da3613

commit 283451b56d21fd9f6a9c84b0afc4a64611da3613
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Nov 20 14:23:28 2014 -0800
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Nov 20 14:23:28 2014 -0800

    Add missing GET route for miq_request/post_install_callback.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1166198

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

Comment 5 Pete Savage 2015-03-11 13:57:45 UTC
Verified 5.4.0.0.11

Comment 7 errata-xmlrpc 2015-06-16 12:44:58 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-1100.html


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