{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/13447","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/13447/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/13447/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/13447/events","html_url":"https://github.com/openshift/origin/issues/13447","id":215316372,"number":13447,"title":"oc adm registry broken for older servers","user":{"login":"csrwng","id":5834976,"avatar_url":"https://avatars2.githubusercontent.com/u/5834976?v=3","gravatar_id":"","url":"https://api.github.com/users/csrwng","html_url":"https://github.com/csrwng","followers_url":"https://api.github.com/users/csrwng/followers","following_url":"https://api.github.com/users/csrwng/following{/other_user}","gists_url":"https://api.github.com/users/csrwng/gists{/gist_id}","starred_url":"https://api.github.com/users/csrwng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csrwng/subscriptions","organizations_url":"https://api.github.com/users/csrwng/orgs","repos_url":"https://api.github.com/users/csrwng/repos","events_url":"https://api.github.com/users/csrwng/events{/privacy}","received_events_url":"https://api.github.com/users/csrwng/received_events","type":"User","site_admin":false},"labels":[{"id":200493322,"url":"https://api.github.com/repos/openshift/origin/labels/component/cli","name":"component/cli","color":"0052cc","default":false},{"id":118251699,"url":"https://api.github.com/repos/openshift/origin/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false},{"id":210151819,"url":"https://api.github.com/repos/openshift/origin/labels/priority/P1","name":"priority/P1","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars1.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},"assignees":[{"login":"mfojtik","id":44136,"avatar_url":"https://avatars1.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}],"milestone":null,"comments":2,"created_at":"2017-03-20T02:09:44Z","updated_at":"2017-03-20T09:55:12Z","closed_at":null,"body":"Running an older (non-master) server (as with 'cluster up'), creating the registry fails because the `oc adm registry` command tries to use the new api groups. \r\n\r\nRunning with `--loglevel=8`, you can see it's trying to post to the new api groups:\r\n\r\n`POST https://127.0.0.1:8443/apis/authorization.openshift.io/v1/clusterrolebindings`\r\n`POST https://127.0.0.1:8443/apis/apps.openshift.io/v1/namespaces/default/deploymentconfigs`\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/287715394","html_url":"https://github.com/openshift/origin/issues/13447#issuecomment-287715394","issue_url":"https://api.github.com/repos/openshift/origin/issues/13447","id":287715394,"user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars1.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},"created_at":"2017-03-20T09:55:12Z","updated_at":"2017-03-20T09:55:12Z","body":"This is definitely caused by the cache being out of date. I've hit the same problem when stress testing the new deployments endpoint. The cache was built with apps/v1beta1.Deployments on (the k8s one) and then I disabled just them and retry kubectl operation and it obviously failed due to not having that resource. Wouldn't it make sense to refresh cache (entire or partial) in those cases? @liggitt @deads2k ?"}}
{"actor":{"display_login":"soltysh"}}