Hide Forgot
Created attachment 797308 [details] Patch to fix the issue. Description of problem: If the syntax of the **/etc/openshift/quickstarts.json** file is wrong this file it will fail to load without warning. How reproducible: [ {"quickstart": { "id": "1", "name":"Django", "website":"https://www.djangoproject.com/", "initial_git_url":"git://github.com/openshift/django-example.git", "cartridges":["python-2.7"], "summary":"A high-level Python web framework that encourages rapid development and clean, pragmatic design. Administrator (NOTE LINE BREAK HERE) user name and password are written to $OPENSHIFT_DATA_DIR/CREDENTIALS.", "tags":["python","django","framework"], "admin_tags":[] }} ] Uploading a patch to fix this issue (it should be reviewed by engineering to see if there is a better way of handling this).
https://github.com/openshift/origin-server/pull/4948
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/2c6f3a34551739a9aa82b41c68e2306f88de1289 Bug 1007830 - Better error handling around quickstarts.json loading
Verified on devenv_4509 Remove the /etc/openshift/quickstarts.json, and retrieve quickstarts via 'curl -k https://localhost:8118/api/v1/quickstarts/promoted.json', There was a warning in development.log: '2014-03-13 23:15:06.302 [WARN ] /etc/openshift/quickstarts.json not found! (pid:15335)'