{"action":"created","issue":{"url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/230","repository_url":"https://api.github.com/repos/openshift-labs/learn-katacoda","labels_url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/230/comments","events_url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/230/events","html_url":"https://github.com/openshift-labs/learn-katacoda/issues/230","id":351026296,"node_id":"MDU6SXNzdWUzNTEwMjYyOTY=","number":230,"title":"Templates not all loaded for playgrounds.","user":{"login":"GrahamDumpleton","id":507637,"node_id":"MDQ6VXNlcjUwNzYzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/507637?v=4","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T01:48:16Z","updated_at":"2018-08-16T03:54:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When using playgrounds (checked with 3.9), not all templates are being loaded:\r\n\r\n```\r\ntemplates/cakephp-mysql-persistent\r\ntemplates/dancer-mysql-persistent\r\ntemplates/django-psql-persistent\r\ntemplates/jenkins-persistent\r\ntemplates/jenkins-pipeline-example\r\ntemplates/mariadb-ephemeral\r\ntemplates/mariadb-persistent\r\ntemplates/mongodb-persistent\r\ntemplates/mysql-persistent\r\ntemplates/nodejs-mongo-persistent\r\ntemplates/postgresql-persistent\r\ntemplates/rails-pgsql-persistent\r\n```\r\n\r\nThere is a line to wait for project creation, so should not be because of that being slow to be created.\r\n\r\n* https://github.com/openshift-labs/learn-katacoda/blob/master/playgrounds/openshift39/env-init.sh#L6\r\n\r\nAlso, the missing ones aren't from end of the list, some are, but others are from earlier in list before templates which were successfully loaded. So isn't a case of one fails and then all commands after that aren't run.\r\n\r\nNeed to see if this affects 3.6 and 3.7 playgrounds as well."},"comment":{"url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/comments/413417378","html_url":"https://github.com/openshift-labs/learn-katacoda/issues/230#issuecomment-413417378","issue_url":"https://api.github.com/repos/openshift-labs/learn-katacoda/issues/230","id":413417378,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzQxNzM3OA==","user":{"login":"GrahamDumpleton","id":507637,"node_id":"MDQ6VXNlcjUwNzYzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/507637?v=4","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T03:54:09Z","updated_at":"2018-08-16T03:54:09Z","author_association":"CONTRIBUTOR","body":"The issue here is likely because the OpenShift image for 3.9 now pre-loads templates where it didn't use to. Thus the loading of templates by the playground env-init.sh would fail at point where tried to load first template that already existed. The env-init.sh would then fail and stop. Reason that some later templates appeared to be loaded is because the OpenShift image had pre-loaded them anyway."}}
{"actor":{"display_login":"GrahamDumpleton"}}