Description of problem: During an application creation, if 2+ gears are being specified for the web_framework cartridge, then the post-configure is being called on the secondary gears (non app-dns gears) as well. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create an app with min-scale equal to 2 or more 2. 3. Actual results: Post-configure being called for secondary web_framework gears Expected results: Post-configure should not be called for secondary web_framework gears Additional info:
Fixed with --> https://github.com/openshift/origin-server/pull/4055
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/a064589672bfd615abba2ca7ea79700255bfb90c Fix for bug 1025033
Verified on devenv_3973, the post-configure script is being called on primary gear. Tested with cartridge https://raw.github.com/jhou1/openshift-custom-perl/master/metadata/manifest.yml 2013-10-31 05:33:36.115 [DEBUG] DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"haproxy-1.4", :action=>"post-configure", :args=>{"--with-app-uuid"=>"527223c783b701f533000169", "--with-app-name"=>"perl1s", "--with-container-uuid"=>"527223c783b701f533000169", "--with-container-name"=>"perl1s", "--with-namespace"=>"jhou", "--with-uid"=>6886, "--with-request-id"=>"8471d69b7162b0c247184d7f18088147", "--cart-name"=>"haproxy-1.4", "--component-name"=>"web_proxy", "--with-software-version"=>"1.4", "--cartridge-vendor"=>"redhat"}}, ip-10-82-221-10, {'identity' => ip-10-82-221-10}) (Request ID: 8471d69b7162b0c247184d7f18088147) (pid:14900) 2013-10-31 05:33:39.237 [DEBUG] DEBUG: MCollective Response Time (execute_direct: post-configure): 3.122525853s (Request ID: 8471d69b7162b0c247184d7f18088147) (pid:14900) 2013-10-31 05:33:41.873 [DEBUG] DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"1jhou-perl-5.10", :action=>"post-configure", :args=>{"--with-app-uuid"=>"527223c783b701f533000169", "--with-app-name"=>"perl1s", "--with-container-uuid"=>"527223c783b701f533000169", "--with-container-name"=>"perl1s", "--with-namespace"=>"jhou", "--with-uid"=>6886, "--with-request-id"=>"8471d69b7162b0c247184d7f18088147", "--cart-name"=>"perl-5.10", "--component-name"=>"1jhou-perl-5.10", "--with-software-version"=>"5.10", "--cartridge-vendor"=>"1jhou"}}, ip-10-82-221-10, {'identity' => ip-10-82-221-10}) (Request ID: 8471d69b7162b0c247184d7f18088147) (pid:14900) 2013-10-31 05:33:44.425 [DEBUG] DEBUG: MCollective Response Time (execute_direct: post-configure): 2.552847308s (Request ID: 8471d69b7162b0c247184d7f18088147) (pid:14900)