Merge lp://qastaging/~danilo/landscape-charm/service-count-defaults into lp://qastaging/~landscape/landscape-charm/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Данило Шеган | ||||
Approved revision: | 262 | ||||
Merged at revision: | 261 | ||||
Proposed branch: | lp://qastaging/~danilo/landscape-charm/service-count-defaults | ||||
Merge into: | lp://qastaging/~landscape/landscape-charm/trunk | ||||
Diff against target: |
325 lines (+81/-29) 7 files modified
hooks/lib/relations/haproxy.py (+27/-11) hooks/lib/relations/tests/test_haproxy.py (+23/-11) hooks/lib/services.py (+9/-2) hooks/lib/tests/sample.py (+5/-0) hooks/lib/tests/test_services.py (+4/-2) hooks/lib/tests/test_templates.py (+11/-1) templates/landscape-server (+2/-2) |
||||
To merge this branch: | bzr merge lp://qastaging/~danilo/landscape-charm/service-count-defaults | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Glass (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Free Ekanayaka (community) | Approve | ||
Review via email:
|
Commit message
Start up 2 message servers and 2 ping servers on each landscape-server unit
To do this we set values in /etc/defaults/
Description of the change
Start up 2 message servers and 2 ping servers on each landscape-server unit
As discussed in Malta, we start up 2 each of message-server and ping-server on a landscape-server unit by setting the value in /etc/defaults/
To set this up, we move away from a single backend server in the configuration to multiple. Our services, when configured in the defaults file, use up ports starting with hard-coded base ports. We only allow up to 10 processes (otherwise, we'd attempt to run two different services on the same port): this is a limitation of our scripts.
This has been tested with the landscape.yaml from https:/
juju-deployer -vdW -w180 -c landscape.yaml landscape
(two message server and two ping server processes do show up).
You can check out haproxy-monitoring on http://
Command: make ci-test /ci.lscape. net/job/ latch-test/ 830/
Result: Success
Revno: 256
Branch: lp:~danilo/landscape-charm/service-count-defaults
Jenkins: https:/