Description of problem: Return 503 in web after force-clean-build the installed dependencies for nodejs-0.6/0.10 app Version-Release number of selected component (if applicable): devenv_3921 rhc-1.16.0 (build from devenv_3921) How reproducible: Always Steps to Reproduce: 1. create an nodejs app 2. in local repo, add dependencies in package.json, (eg: "optimist": "0.3.4") 3. git push and deploy 4. visit the app in web 5. dependencies in package.json and touch a force_clean_build marker in .openshift/markers/ 6. git push and deploy 7. visit the app in web again Actual results: step6: root@openshift-ubuntu:~/test/n10a# touch .openshift/markers/force_clean_build root@openshift-ubuntu:~/test/n10a# git add .; git commit -amadd2; git push [master 9c81ca5] add2 Committer: root <root@openshift-ubuntu.(none)> 1 file changed, 1 deletion(-) create mode 100644 .openshift/markers/force_clean_build Counting objects: 9, done. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 446 bytes, done. Total 5 (delta 3), reused 0 (delta 0) remote: Stopping NodeJS cartridge remote: Saving away previously installed Node modules remote: Building git ref 'master', commit 9c81ca5 remote: Building NodeJS cartridge remote: Force-clean builds are enabled. Recreating npm modules remote: npm info it worked if it ends with ok remote: npm info using npm.17 remote: npm info using node.5 remote: npm info preinstall OpenShift-Sample-App.0 remote: npm info build /var/lib/openshift/5264d7a95702a7d8b2000052/app-deployments/2013-10-21_03-32-58.656/repo remote: npm info linkStuff OpenShift-Sample-App.0 remote: npm info install OpenShift-Sample-App.0 remote: npm info postinstall OpenShift-Sample-App.0 remote: npm info prepublish OpenShift-Sample-App.0 remote: npm info ok remote: Preparing build for deployment remote: Prepared deployment artifacts in /var/lib/openshift/5264d7a95702a7d8b2000052/app-deployments/2013-10-21_03-32-58.656 remote: Deployment id is 487d2110 remote: Activating deployment remote: Starting NodeJS cartridge remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://5264d7a95702a7d8b2000052.rhcloud.com/~/git/n10a.git/ 00fad77..9c81ca5 master -> master step7: return 503 in web Expected results: app should be available in web after force-clean the installed dependencies Additional info: 1. after step7, check the app state, it is started. root@openshift-ubuntu:~/test/n10a# rhc app show n10a --state Cartridge nodejs-0.10 is started 2. node.log has attached.
Created attachment 814490 [details] log
https://github.com/openshift/origin-server/pull/3955
test devenv_3937 app can be accessed after force-clean-build the installed dependencies for nodejs-0.6/0.10 app. Move to verified