openshift - DIY cartridge stops on git push -
i've been developing application weeks, , it's been running in openshift small gear diy 0.1 + postgresql cartridges several days, including ~5 new deployments. ok , new deploy stopped , started in seconds.
nevertheless today pushing master usual stops cartridge , won't start. trace:
counting objects: 2688, done. delta compression using 4 threads. compressing objects: 100% (1930/1930), done. writing objects: 100% (2080/2080), 10.76 mib | 99 kib/s, done. total 2080 (delta 1300), reused 13 (delta 0) remote: stopping diy cartridge fatal: remote end hung unexpectedly fatal: remote end hung unexpectedly logging in ssh , running start action hook manually fails because database stopped. restarting gear makes work again.
the failing deployment has nothing it, since adds few lines of code, nothing configuration or might break boot.
logs (at $openshift_log_dir) reveal nothing. quota usage seems fine:
cartridges used limit ---------------------- ------ ----- diy-0.1 postgresql-9.2 0.6 gb 1 gb any suggestions check?
oh, dumb mistake. last working deployment involved change in binary name, matches gear name. stop script, ps grep , on wrong, not killing application connection. changing fixed issue.
solution inspired this blogpost.
Comments
Post a Comment