Bug 999802
Summary: | Min paramter in manifest file is not working while creating a scaling app | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Ma xiaoqiang <xiama> |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | jialiu, 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: | 2014-01-24 03:23:01 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: |
Description
Ma xiaoqiang
2013-08-22 07:32:12 UTC
Looks like this is working in devenv_3966, seen from mcollective log, Min value takes effect, and it is creating 2 gears. But due to BZ#1024698, app is failed to created. Verified this bug with devenv_devenv_3973, and PASS. Set Min to 2, Max to 10 in maifest file, then create scalable app, app could be created successfully. $ rhc domain show -p redhat Domain jialiu ------------- Created: 1:26 PM Allowed Gear Sizes: small scaphp53app @ http://scaphp53app-jialiu.dev.rhcloud.com/ (uuid: 5271ea0cdefea7db1e000006) ----------------------------------------------------------------------------------------- Domain: jialiu Created: 1:26 PM Gears: 2 (defaults to small) Git URL: ssh://5271ea0cdefea7db1e000006.rhcloud.com/~/git/scaphp53app.git/ SSH: 5271ea0cdefea7db1e000006.rhcloud.com php-5.3 (PHP 5.3) ----------------- Scaling: x2 (minimum: 2, maximum: 10) on small gears haproxy-1.4 (Web Load Balancer) ------------------------------- Gears: Located with php-5.3 You have 1 application in your domain. $ rhc app show -a scaphp53app --gears -predhat ID State Cartridges Size SSH URL ------------------------ ------- ------------------- ----- ------------------------------------------------------------------------ 5271ea0cdefea7db1e000006 started php-5.3 haproxy-1.4 small 5271ea0cdefea7db1e000006.rhcloud.com 851962571337641431662592 started php-5.3 haproxy-1.4 small 851962571337641431662592.rhcloud.com Forget to confirm with developers, so I move this back to it original status. From QE side, this bug is fixed, if devel also think it is already fixed, pls move it to ON_QA status. If this is already fixed and verified. please go ahead and mark it verified/closed. check on puddle [2.0-2013-11-05.1] # rhc app create test1 https://raw.github.com/xiama/pythoncartri/master/metadata/manifest.yml -s # rhc app show test1 --gears ID State Cartridges Size SSH URL ------------------------ ------- ---------------------------- ----- ----------------------------------------------------------------------- 527ae5ffab6546400a000001 started xiama-python-2.6 haproxy-1.4 small 527ae5ffab6546400a000001.com.cn 527ae5ffab6546400a000006 started xiama-python-2.6 haproxy-1.4 small 527ae5ffab6546400a000006.com.cn # rhc app show test1 test1 @ http://test1-xiaom.ose-1105.com.cn/ (uuid: 527ae5ffab6546400a000001) ---------------------------------------------------------------------------- Domain: xiaom Created: 5:59 PM Gears: 2 (defaults to small) Git URL: ssh://527ae5ffab6546400a000001.com.cn/~/git/test1.git/ SSH: 527ae5ffab6546400a000001.com.cn Deployment: auto (on git push) xiama-python-2.6 (Python 2.6) ----------------------------- From: https://raw.github.com/xiama/pythoncartri/master/metadata/manifest.yml Scaling: x2 (minimum: 2, maximum: 4) on small gears (In reply to Ma xiaoqiang from comment #6) > check on puddle [2.0-2013-11-05.1] > # rhc app create test1 > https://raw.github.com/xiama/pythoncartri/master/metadata/manifest.yml -s > # rhc app show test1 --gears > ID State Cartridges Size SSH URL > ------------------------ ------- ---------------------------- ----- > ----------------------------------------------------------------------- > 527ae5ffab6546400a000001 started xiama-python-2.6 haproxy-1.4 small > 527ae5ffab6546400a000001.com.cn > 527ae5ffab6546400a000006 started xiama-python-2.6 haproxy-1.4 small > 527ae5ffab6546400a000006.com.cn > # rhc app show test1 > test1 @ http://test1-xiaom.ose-1105.com.cn/ (uuid: 527ae5ffab6546400a000001) > ---------------------------------------------------------------------------- > Domain: xiaom > Created: 5:59 PM > Gears: 2 (defaults to small) > Git URL: > ssh://527ae5ffab6546400a000001.com.cn/~/git/test1.git/ > SSH: 527ae5ffab6546400a000001.com.cn > Deployment: auto (on git push) > > xiama-python-2.6 (Python 2.6) > ----------------------------- > From: > https://raw.github.com/xiama/pythoncartri/master/metadata/manifest.yml > Scaling: x2 (minimum: 2, maximum: 4) on small gears check it on devenv_3998 # rhc app create phps php-5.3 -s # rhc app show phps --gears ID State Cartridges Size SSH URL ------------------------ ------- ------------------- ----- ----------------------------------------------------------------------- 527aef549d108cc579000005 started php-5.3 haproxy-1.4 small 527aef549d108cc579000005.rhcloud.com 187863129393282555052032 started php-5.3 haproxy-1.4 small 187863129393282555052032.rhcloud.com # rhc app show phps php-5.3 (PHP 5.3) ----------------- Scaling: x2 (minimum: 2, maximum: 3) on small gears |