Hide Forgot
Description of problem: When pushing changes to an application, the deployments are reported to the broker twice Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create app 2. Make a change 3. Git push Actual results: Broker log will show DeploymentsController#create called twice Expected results: Broker log will show DeploymentsController#create called just once Additional info: We report deployments in post_receive and in activate_local_gear, and post_receive ultimately invokes activate_local_gear. It's probably sufficient just to report deployments in activate_local_gear and remove the call from post_receive.
https://github.com/openshift/origin-server/pull/4542
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/274a0067bb6008a49e6fff9e4d2f3c10e8ce7e48 Bug 1025485 - Git push reports deployments to the broker twice
It's fixed, verified on devenv_4263, please refer to the following results: 1. Create app 2. Make a change 3. Git push # tail -f development.log | grep -i DeploymentsController 2014-01-23 06:14:47.138 [INFO ] Processing by DeploymentsController#create as JSON (pid:2673)