Bug 981238 - Occurrence error when access "https://broker_domain/broker"
Summary: Occurrence error when access "https://broker_domain/broker"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Master
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-04 09:57 UTC by jzu
Modified: 2013-11-04 01:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-16 13:04:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jzu 2013-07-04 09:57:24 UTC
Description of problem:
When I accessed the address of "https://broker_domain/broker" from a browser,
will meet errors like "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request." in the browser,
and "Exception ActionController::RoutingError in application (No route matches [GET] "/") (process 3575, thread #<Thread:0x00000001e5e100>):
	from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
	from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
	from /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
	from /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
	from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
	from /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
" in the logger of "/var/log/openshift/broker/httpd/error_log "


Version-Release number of selected component (if applicable):
OpenShiftEnterprise/1.2/2013-07-01.1/


How reproducible:
always

Steps to Reproduce:
1. accessed the address of "https://broker_domain/broker" from a browser
2. tailf /var/log/openshift/broker/httpd/error_log 


Actual results:
the respone message is "Internal Server Error"



Expected results:
the respone message is below
Not Found

The requested URL /brokers was not found on this server.


Additional info:

Comment 2 Brenton Leanhardt 2013-08-15 14:56:12 UTC
This is by design.  Do you know of anything that accesses this path?

Comment 3 jzu 2013-08-16 08:57:44 UTC
I agree with you, this is an useless path by design. But maybe someone access it and the browser display error information, which is inappropriate.

Comment 4 Brenton Leanhardt 2013-08-16 13:04:50 UTC
Only the web console is designed to be accessed by a Browser.  The Broker is just the REST API.  Unless you find somewhere in the OpenShift documentation that directs users to access the REST API with a browser we'll close this.


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