Bug 1011766 - Local gear is not registered for scalable app
Summary: Local gear is not registered for scalable app
Keywords:
Status: CLOSED DUPLICATE of bug 1011721
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Mrunal Patel
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-25 06:02 UTC by Lei Zhang
Modified: 2015-05-14 23:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-25 16:17:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
haproxy_ctld.rb.log (9.28 KB, text/plain)
2013-09-25 06:03 UTC, Lei Zhang
no flags Details

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 ***


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