Description of problem: This ticket is filed to back port the fix present in https://github.com/openshift/origin/issues/4884 The HAProxy router does not expose stats even if the stats port is specified. > Is there an issue with haproxy statistics in 3.0.2? > > Just built a new configuration, and haproxy doesn't seem to be exposing statistics. > > Router creation command was: > > # oadm router ose-router --replicas=1 \ > --credentials='/etc/openshift/master/openshift-router.kubeconfig' \ > --service-account=router \ > --stats-password='xxxxxxx' \ > --stats-port=1936 \ > --stats-user='admin' > > >From the Deployment Controller: > - name: STATS_PASSWORD > value: xxxxxxx > - name: STATS_PORT > value: "1936" > - name: STATS_USERNAME > value: admin > > But when I look at /var/lib/haproxy/conf/haproxy.config in the container I see:- > ........ > # Long timeout for WebSocket connections. > timeout tunnel 1h > > > > frontend public > bind :80 > mode http > ......... > Based on the template, the blank space before the "frontend" section is where the "listen stats" section is meant to be. > > Has something changed in 3.0.2 or am I missing something. > Version-Release number of selected component (if applicable): Openshift Enterprise 3.0.2 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Move this bug to varified according to comment 2