Bug 1019571 - [origin_broker_135] Multiplier does not function after it has been set
Summary: [origin_broker_135] Multiplier does not function after it has been set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 06:02 UTC by Jianwei Hou
Modified: 2015-05-15 00:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:35:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jianwei Hou 2013-10-16 06:02:11 UTC
Description of problem:
Set multiplier of a sparse cartridge to 2, and scale up this application several times, only the head gear of the application has haproxy, the rest gears are still only have web_framework cartridges

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

How reproducible:
Always

Steps to Reproduce:
1. Create a scalable application, take php-5.3 for example
rhc create-app php1s php-5.3 -s
2. On broker, set the multiplier of haproxy-1.4 to 2
oo-admin-ctl-app -l jhou -a php1s --cartridge haproxy-1.4 -c set-multiplier --multiplier 2
3. Scale up the application
rhc cartridge-scale php-5.3 -a php1s --min 6 --max -1
4. On node, verify that half of total gears of the application should have haproxy

Actual results:
After step 4, only the first gear of the application has haproxy, the rest gears only have php framework

=== 525e252336500d10f900000c php-5.3+haproxy-1.4
app-deployments
app-root
git
php
=== 667980963568207590850560 php-5.3+haproxy-1.4
app-deployments
app-root
git
php
=== 525e252336500d10f900000b php-5.3+haproxy-1.4
app-deployments
app-root
git
php
=== 525e252336500d10f900000a php-5.3+haproxy-1.4
app-deployments
app-root
git
php
=== 525e252436500d10f900000d php-5.3+haproxy-1.4
app-deployments
app-root
git
php
=== 525e22d736500d3ec3000042 php-5.3+haproxy-1.4
app-deployments
app-root
gear-registry
git
haproxy
php


Expected results:
At least 3 gears of the application should have haproxy 

Additional info:

Comment 1 Rajat Chopra 2013-10-16 22:27:55 UTC
Hey. Did you increase the max? Max by default is '1'.

Comment 2 Jianwei Hou 2013-10-17 02:40:17 UTC
(In reply to Rajat Chopra from comment #1)
> Hey. Did you increase the max? Max by default is '1'.

Thanks, I have forgotten to increase the max of haproxy's manifest, and not it works well.


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