Hide Forgot
Description of problem: Create scaling app and make the app HA via REST api. Then add the cron cartridge to this app. It will show the warning message twice in the output. Version-Release number of selected component (if applicable): devenv_4156 How reproducible: always Steps to Reproduce: 1. Create scaling app 2. Make the app HA via rest api /app_name/events -XPOST -d event=make-ha 3. Add the cron cartridge to the scaling app Actual results: The client message will show twice since there are two gears with haproxy cartridge. Adding cron-1.4 to application 'ruby19s' ... done cron-1.4 (Cron 1.4) ------------------- Scaling: x2 (minimum: 2, maximum: available) on small gears To schedule your scripts to run on a periodic basis, add the scripts to your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/ directories (and commit and redeploy your application). Example: A script .openshift/cron/hourly/crony added to your application will be executed once every hour. Similarly, a script .openshift/cron/weekly/chronograph added to your application will be executed once every week. To schedule your scripts to run on a periodic basis, add the scripts to your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/ directories (and commit and redeploy your application). Example: A script .openshift/cron/hourly/crony added to your application will be executed once every hour. Similarly, a script .openshift/cron/weekly/chronograph added to your application will be executed once every week. Expected results: The message should show only once. Additional info: Refer to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1006712
This can be reproduced on INT(devenv_4158).
https://github.com/openshift/origin-server/pull/4546
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/b90e7fc1e4724070e56838bfec57fb23f0bb210c Bug 1044966 - Show duplicate message when adding cron cartridge to a HA scaling app which has two haproxy gears
Issue fixed on devenv_4256. Adding cron-1.4 to application 'php54s' ... done cron-1.4 (Cron 1.4) ------------------- Scaling: x2 (minimum: 2, maximum: available) on small gears To schedule your scripts to run on a periodic basis, add the scripts to your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/ directories (and commit and redeploy your application). Example: A script .openshift/cron/hourly/crony added to your application will be executed once every hour. Similarly, a script .openshift/cron/weekly/chronograph added to your application will be executed once every week.