| Summary: | Fail to reveal correct messages in happroxy-status page when scale up a scalable app | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Nan Wei <nwei> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.0.0 | CC: | gpei, libra-onpremise-devel, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-16 09:11:04 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: | |
OpenShift Enterprise puddle: 2.0/2013-11-05.1
1. Create a scale app
#rhc app create phps php-5.3 -s
2. Scale up the app, check the gears' status:
#rhc cartridge scale php-5.3 -a phps --min 2
#rhc app show -a phps --gears
5279d675ab6546cffd0000f5 started php-5.3 haproxy-1.4 small 5279d675ab6546cffd0000f5.com.cn
527b05e9ab6546ccc4000133 started php-5.3 haproxy-1.4 small 527b05e9ab6546ccc4000133.com.cn
3. ssh into the app
#cat /var/lib/openshift/5279d675ab6546cffd0000f5/haproxy/conf/haproxy.cfg
server gear-527b05e9ab6546ccc4000133-nweidomain node1.ose-1105.com.cn:38036 check fall 2 rise 3 inter 2000 cookie 527b05e9ab6546ccc4000133-nweidomain
server local-gear 127.1.254.129:8080 check fall 2 rise 3 inter 2000 cookie local-5279d675ab6546cffd0000f5
visit haproxy-status is normal:
https://phps-nweidomain.ose-1105.com.cn/haproxy-status
|
Description of problem: When scale up a scalable app, haproxy-status page reveals only local gear, it doesn't show the scaled-up gears, as follow: balance leastconn server local-gear 127.1.245.129:8080 check fall 2 rise 3 inter 2000 cookie local-52564802dd5387b677000001 But it's ok in devenv environment. OpenShift Enterprise puddle: 2.0/2013-10-08.1 How reproducible: 100% Steps to Reproduce: 1. Create a scale app #rhc app create pps php-5.3 -s 2. Scale up the app, check the gears' status: #rhc cartridge scale php-5.3 -a pps --min 2 #rhc app show -a pps --gears 52564802dd5387b677000001 started php-5.3 haproxy-1.4 small 52564802dd5387b677000001.com 52564946dd5387b677000027 started php-5.3 haproxy-1.4 small 52564946dd5387b677000027.com 3. ssh into the app #cat /var/lib/openshift/$uuid/haproxy/conf/haproxy.cfg Actual results: After scale up, the app only reveals "local-gear" and has no scaled-up gear record in file haproxy.cfg. Expected results: App scale up successfully and it reveals local gear and scale up gears record messages in the file. Additional info: