Bug 1166214

Summary: Callback url routing issue
Product: Red Hat CloudForms Management Engine Reporter: Dave Johnson <dajohnso>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: bdunne, dclarizi, gblomqui, mfeifer, psavage, snansi
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.2 Doc Type: Bug Fix
Doc Text:
In the earlier version of CloudForms Management Engine, provisioning a virtual machine never finished if a callback URL was called during provisioning. This was due to missing routing information for the callback URL. This was fixed by adding the missing routing information. Administrators are now able to provision virtual machines when using the callback feature.
Story Points: ---
Clone Of: 1166198 Environment:
Last Closed: 2015-01-14 19:43:41 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:
Bug Depends On: 1166198    
Bug Blocks:    

Comment 1 CFME Bot 2014-11-24 16:16:45 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7f2efc95c3276683e0c6170a64bb1b67bb73844d

commit 7f2efc95c3276683e0c6170a64bb1b67bb73844d
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Nov 20 14:23:28 2014 -0800
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Nov 21 13:34:30 2014 -0800

    Add missing GET route for miq_request/post_install_callback.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1166214
    (cherry picked from commit 283451b)

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

Comment 3 Nandini Chandra 2015-01-06 02:35:21 UTC
Verified from the logs that this issue doesn't occur anymore in the 
5.3.2.5 build.

[----] I, [2015-01-05T23:58:55.910328 #2315:d2882c]  INFO -- : Started GET "/miq_request/post_install_callback?miq_request_id=10000000000003" for 127.0.0.1 at 2015-01-05 18:58:55 -0500
[----] I, [2015-01-05T23:58:55.916561 #2315:d2882c]  INFO -- : Processing by MiqRequestController#post_install_callback as HTML
[----] I, [2015-01-05T23:58:55.916834 #2315:d2882c]  INFO -- :   Parameters: {"miq_request_id"=>"10000000000003"}
[----] I, [2015-01-05T23:58:55.934888 #2315:d2882c]  INFO -- :   Rendered text template (0.0ms)
[----] I, [2015-01-05T23:58:55.941361 #2315:d2882c]  INFO -- : Completed 200 OK in 24.3ms (Views: 1.0ms | ActiveRecord: 1.4ms)

Comment 5 errata-xmlrpc 2015-01-14 19:43:41 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/RHSA-2015-0028.html