Red Hat Bugzilla – Bug 987447
App can't auto scale down when the HAproxy processes running on the head gear are terminated
Last modified: 2015-05-14 20:19:08 EDT
Description of problem:
Given a scalable application is scaled up to 2 gears, when the haproxy processes running on the head gear(first gear) is terminated(killed), the app can not successfully auto scale down after a certain time if there is no traffic to the app.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a scalable application, scale it up to 2 gears
2. ssh into the first gear(head gear) of the app, kill all haproxy processes
3. Do not access the app, wait for some time, then check that the app is auto scaled down
The app won't auto scale down
The app should auto scale down now that multiple load balancers are implemented.
The app will scale down if we don't terminate the haproxy processes on the head gear.
Also can not auto scale up when haproxy processes on head gear are killed.
Multiple load balancers are not automatically implemented. The support is now there in the platform but the cartridge needs to be changed for that.
Based on the work being done in this release, we are now HA capable, just that HA is not provided out of the box.