{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2183","labels_url":"https://api.github.com/repos/openshift/origin/issues/2183/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2183/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2183/events","html_url":"https://github.com/openshift/origin/issues/2183","id":75528733,"number":2183,"title":"Example application issues","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-12T09:06:46Z","updated_at":"2015-05-12T13:23:06Z","closed_at":null,"body":"Couple issues I found today following the sample-app README:\r\n\r\n* `openshift ex registry --create` (step 7.)` does not work until you create a project. Without project, you will get this error message (that won't tell you have to create project to fix it ;-):\r\n\r\n```\r\nError: \"/osapi/v1beta1/deploymentConfigs?namespace=default\" is forbidden because test-admin cannot create on deploymentConfigs in default\r\nError: \"/api/v1beta1/services?namespace=default\" is forbidden because test-admin cannot create on services in default\r\n```\r\n\r\n* When you create project and re-run the command above everything creates successfully but the the deployment fails with this message:\r\n\r\n```\r\n[root@openshiftdev origin]# osc log deploy-docker-registry-14n2hh\r\n2015-05-12T08:50:30.819206516Z F0512 08:50:30.818897       1 deployer.go:64] Get https://192.168.121.138:8443/api/v1beta1/replicationControllers/docker-registry-1?namespace=test: dial tcp 192.168.121.138:8443: no route to host\r\n```\r\n\r\n(This is a new Vagrant box running on libvirt, I also tried to run with`--public-master=localhost` but no luck).\r\nThe workaround for this is to stop the `firewalld`\r\n\r\n* The curl command to check if the Docker Registry is running is incorrect, the correct command is:\r\n\r\n```\r\n$ curl -v -H 'Accept: application/json' `osc get service docker-registry --template=\"{{ .spec.portalIP }}:{{ with index .spec.ports 0 }}{{ .port }}{{ end }}/v2/\" --config=openshift.local.config/master/admin.kubeconfig\r\n```\r\n\r\n( i will fix this in PR )\r\n\r\n* After I start the build, the builder container is not able to reach outside world:\r\n\r\n```\r\n[root@ruby-sample-build-2 openshift]# curl -v https://github.com/mfojtik/ruby-etcd-sample\r\n* About to connect() to github.com port 443 (#0)\r\n*   Trying 192.30.252.129...\r\n```\r\n\r\nSo all builds fail. This is the template I'm using: https://gist.github.com/mfojtik/f09572b86ad7105e7bcf#file-template-json-L28\r\n\r\n* The STI builder is using wrong (old) Docker image when I did pullimages.sh:\r\n\r\n```\r\n[root@openshiftdev origin]# docker images | grep origin-sti\r\ndocker.io/openshift/origin-sti-builder       latest              0c47bf61a0f5        3 hours ago         366.8 MB\r\nopenshift/origin-sti-builder                 latest              438f88cf733f        3 months ago        507.4 MB\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/101273984","html_url":"https://github.com/openshift/origin/issues/2183#issuecomment-101273984","issue_url":"https://api.github.com/repos/openshift/origin/issues/2183","id":101273984,"user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T13:23:06Z","updated_at":"2015-05-12T13:23:06Z","body":"@bparees ^^ "}}