Description of problem: When I change the ip address of the local gear of a scalable application and then restart the app, the app becomes inaccessible and does not recover automatically. Version-Release number of selected component (if applicable): ami-id: devenv_4053 How reproducible: Always Steps to Reproduce: 1. Create a scalable app 2. ssh into the app and issue the following command: sed -i "s/local-gear .*:8080/local_gear 10.10.10.10:8080/" haproxy/conf/haproxy.cfg 3. restart the app Actual results: The app becomes inaccessible and returns 503 response code Expected results: The app gets recovered in several seconds Additional info:
haproxy.cfg cannot be locked since it needs to be updated during scale up/down operations. See https://bugzilla.redhat.com/show_bug.cgi?id=1012812 for more discussion on locking this file.