Bug 1011766

Summary: Local gear is not registered for scalable app
Product: OpenShift Online Reporter: Lei Zhang <lzhang>
Component: ContainersAssignee: Mrunal Patel <mpatel>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-25 16:17:24 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:
Embargoed:
Attachments:
Description Flags
haproxy_ctld.rb.log none

Description Lei Zhang 2013-09-25 06:02:32 UTC
Description of problem:
Create one scalable app(e.g.myperl510s), access the home page of scalable app though browser,"503 Service Unavailable" error shows. When checking the haproxy-status page of scalable app, found no 'local gear' item registered.


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

How reproducible:
always

Steps to Reproduce:
1.Create one scalable app
#rhc app create myperl510s perl-5.10 -s
2.Access the home page of scalable app though browser
3.Check haproxy-status page of the scalable app though browser

Actual results:
"503 Service Unavailable" shows when access the home page of scalable app though browser, and no local gear item found in haproxy-status page

Expected results:
The home page of scalable app can be accessed and local gear should be found in haproxy-status page.

Additional info:
/var/lib/openshift/myperl510s-chunchen/haproxy/conf/haproxy.cfg

defaults
    mode                    http
    log                     global
    option                  httplog
    option                  dontlognull
    option http-server-close
    #option forwardfor       except 127.0.0.0/8
    option                  redispatch
    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          1m
    timeout server          1m
    timeout http-keep-alive 10s
    timeout check           10s
    maxconn                 128
listen stats 127.1.244.3:8080
    mode http
    stats enable
    stats uri /
listen express 127.1.244.2:8080
    cookie GEAR insert indirect nocache
    option httpchk GET /
    balance leastconn

Comment 1 Lei Zhang 2013-09-25 06:03:09 UTC
Created attachment 802567 [details]
haproxy_ctld.rb.log

Comment 2 Mrunal Patel 2013-09-25 16:17:24 UTC

*** This bug has been marked as a duplicate of bug 1011721 ***