{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5004","labels_url":"https://api.github.com/repos/openshift/origin/issues/5004/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5004/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5004/events","html_url":"https://github.com/openshift/origin/issues/5004","id":110449809,"number":5004,"title":"oc new-app kubernetes/guestbook fails","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-08T13:22:03Z","updated_at":"2015-10-08T17:47:44Z","closed_at":null,"body":"`oc new-app kubernetes/guestbook` fails with:\r\n```\r\n$ oc new-app kubernetes/guestbook\r\nerror: no image or template matched \"kubernetes/guestbook\", specify --allow-missing-images to use this image name.\r\n```\r\nAfter adding `--allow-missing-images` I got:\r\n```\r\n$ oc new-app --allow-missing-images kubernetes/guestbook\r\nI1008 14:58:10.775163    5383 newapp.go:388] Image \"kubernetes/guestbook\" is a builder, so a repository will be expected unless you also specify --strategy=docker\r\nW1008 14:58:10.775250    5383 pipeline.go:246] A service will not be generated for DeploymentConfig \"guestbook\" because no exposed ports were detected. Use 'oc expose dc \"guestbook\" --port=[port]' to create a service.\r\ndeploymentconfigs/guestbook\r\nRun 'oc status' to view your app.\r\n```\r\nBut after downloading the image with `docker pull` it worked smoothly without any problems. \r\n\r\nAdditionally when using release 1.0.6 binary to do above against OSE 3.0.1 we fail with the first message as well. \r\n\r\nMaybe we should either provide so=me incompatible client versions warning.\r\n\r\n@csrwng @marekjelen @bparees \r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/146635965","html_url":"https://github.com/openshift/origin/issues/5004#issuecomment-146635965","issue_url":"https://api.github.com/repos/openshift/origin/issues/5004","id":146635965,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T17:47:44Z","updated_at":"2015-10-08T17:47:44Z","body":"That's not the case for other repositories, which at least have some.  For\nthose that have none, the null itself seems to imply something we can hang\na message off of.  You can also add a message that indicates the docker v2\nhub may not have accurate data.  A v1 fallback prevents us from doing pull\nby id, so I'd rather make people aware the hub is broken and how they can\nfix it (possibly by allowing a cli user to bypass v2)\n\nHow long is this a relevant problem to end users?\n\nOn Oct 8, 2015, at 1:14 PM, Andy Goldstein <notifications@github.com> wrote:\n\nAnd there is no list of alternative tags we could present to the user:\n\n$ curl -v -H \"Authorization: Bearer $token\"\nhttps://registry-1.docker.io/v2/kubernetes/guestbook/tags/list*\nTrying 52.5.5.190...\n* Connected to registry-1.docker.io (52.5.5.190) port 443 (#0)\n* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\n* Server certificate: *.docker.io\n* Server certificate: RapidSSL SHA256 CA - G3\n* Server certificate: GeoTrust Global CA\n> GET /v2/kubernetes/guestbook/tags/list HTTP/1.1\n> Host: registry-1.docker.io\n> User-Agent: curl/7.43.0\n> Accept: */*\n> Authorization: Bearer [redacted]\n>\n< HTTP/1.1 200 OK\n< Content-Type: application/json; charset=utf-8\n< Docker-Distribution-Api-Version: registry/2.0\n< Date: Thu, 08 Oct 2015 15:45:26 GMT\n< Content-Length: 44\n< Strict-Transport-Security: max-age=31536000\n<\n{\"name\":\"kubernetes/guestbook\",\"tags\":null}\n* Connection #0 to host registry-1.docker.io left intact\n\n—\nReply to this email directly or view it on GitHub\n<https://github.com/openshift/origin/issues/5004#issuecomment-146627609>.\n"}}