Bug 1193863

Summary: Getting Network Error 404 while accessing the apidocs on sat6 server
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: APIAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: jcallaha, ohadlevy
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 08:48:34 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:
Attachments:
Description Flags
Network Error 404 while accessing the apidocs on sat6 server none

Description Sachin Ghai 2015-02-18 12:46:48 UTC
Created attachment 993079 [details]
Network Error 404 while accessing the apidocs on sat6 server

Description of problem:
I'm getting so many failures while accessing https://<sat61_hostname>/apidoc on sat6 server itself.

--
Processing by Apipie::ApipiesController#index as HTML
  Parameters: {"version"=>"stylesheets", "resource"=>"bundled", "method"=>"bootstrap.min.css"}
API doc cache not found for '/apidoc/stylesheets/bundled/bootstrap.min.css.html'. Perhaps you have forgot to run `rake apipie:cache`
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as HTML
  Parameters: {"version"=>"stylesheets", "resource"=>"bundled", "method"=>"prettify.css"}
API doc cache not found for '/apidoc/stylesheets/bundled/prettify.css.html'. Perhaps you have forgot to run `rake apipie:cache`
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as HTML
  Parameters: {"version"=>"stylesheets", "resource"=>"application.css"}
API doc cache not found for '/apidoc/stylesheets/application.css.html'. Perhaps you have forgot to run `rake apipie:cache`
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as HTML
  Parameters: {"version"=>"stylesheets", "resource"=>"bundled", "method"=>"bootstrap-responsive.min.css"}
Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as */*
  Parameters: {"version"=>"javascripts", "resource"=>"bundled", "method"=>"bootstrap-collapse.js"}
Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as */*
  Parameters: {"version"=>"javascripts", "resource"=>"bundled", "method"=>"prettify.js"}
API doc cache not found for '/apidoc/javascripts/bundled/prettify.js.html'. Perhaps you have forgot to run `rake apipie:cache`
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
Processing by Apipie::ApipiesController#index as */*
  Parameters: {"version"=>"javascripts", "resource"=>"apipie.js"}
API doc cache not found for '/apidoc/javascripts/apipie.js.html'. Perhaps you have forgot to run `rake apipie:cache`
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
--

Version-Release number of selected component (if applicable):
sat6.1 beta snap3
Satellite-6.1.0-RHEL-6-20150217.0

How reproducible:
always

Steps to Reproduce:
1. access sat6 URL: https://<sat61_hostname>/apidoc
2.
3.

Actual results:
lotz of Network_error 404

Expected results:
no error

Additional info:

Comment 2 Ohad Levy 2016-03-07 13:22:24 UTC
not reproducible with 6.2 builds, setting on qe

Comment 4 jcallaha 2016-04-05 19:34:58 UTC
Verified in Satellite 6.2 Beta Snap 6 Compose 1.

Comment 6 errata-xmlrpc 2016-07-27 08:48:34 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://access.redhat.com/errata/RHBA-2016:1500