Bug 1341274 - Manifest download returns "AbstractController::ActionNotFound"
Summary: Manifest download returns "AbstractController::ActionNotFound"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: fusor-server
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ga
: 1.0
Assignee: Jesus M. Rodriguez
QA Contact: Landon LaSmith
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-31 15:59 UTC by Thom Carlin
Modified: 2016-08-12 21:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-08 18:38:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thom Carlin 2016-05-31 15:59:21 UTC
Description of problem:

Attempting to download the Customer Portal manifest results in error

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

1.0

How reproducible:

100%

Steps to Reproduce:
1. Install QCI
2. Using the API, attempt to create a deployment and download the manifest
3.

Actual results:

2016-05-31 07:36:32 [F] 
AbstractController::ActionNotFound (The action 'export' could not be found for Fusor::Api::CustomerPortal::CustomerPortalProxiesController):
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

2016-05-31 07:37:55 [F] 
ActionController::RoutingError (uninitialized constant Fusor::Api::V2::RootController):
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

Expected results:

Successful manifest download

Additional info:

Comment 1 Thom Carlin 2016-05-31 17:01:30 UTC
Candlepin devs tested the call directly against Customer Portal successfully.

Comment 2 John Matthews 2016-06-20 18:46:09 UTC
Please re-test, if this is still a problem please provide more information.

Comment 3 Landon LaSmith 2016-07-18 15:13:10 UTC
ISO Media Version: 1468433200.526434

This issue still persists.  Issuing the below requesting against the fusor_api after authenticating a session on the customer portal returns a 404 fails with the same error.  The call is supposed to provide a manifest for download

GET /customer_portal/consumers/#{CONSUMER['uuid']}/export

Output from production.log:
2016-07-18 10:42:41 [app] [I] Started GET "/customer_portal/consumers/<uuid>/export" for 10.10.59.124 at 2016-07-18 10:42:41 -0400
2016-07-18 10:42:41 [app] [F] 
 | AbstractController::ActionNotFound (The action 'export' could not be found for Fusor::Api::CustomerPortal::CustomerPortalProxiesController):
 |   lib/middleware/catch_json_parse_errors.rb:9:in `call'
 | 
 |

Comment 7 Jesus M. Rodriguez 2016-08-08 18:38:15 UTC
We do not expose the /export routine via the API. It is an internal call we make from fusor to the customer portal. That is why you see that error.

To get the manifest, please visit the customer portal, and download the manifest via the webui.


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