Bug 1038332

Summary: haproxy fails to route to local gear on port 8081
Product: OpenShift Online Reporter: Ben Parees <bparees>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bperkins, dmcphers, dwalsh, jhonce, mgrepl, xtian
Target Milestone: ---Keywords: UpcomingRelease
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-11 21:50:37 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:

Description Ben Parees 2013-12-04 22:28:01 UTC
Description of problem:
When a cartridge binds to port 8081 (and likely many other ports), haproxy cannot route to the local gear on that port due to selinux restrictions on outbound connections

Steps to Reproduce:
1.rhc app create debugapp https://github.com/bparees/debug-cartridge/raw/master/metadata/manifest.yml -s 
2. attempt to access the application, you will get a 503
3. change the manifest.yml endpoint to port 8080
4. deploy a new app, it will work successfully