{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/11349","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/11349/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/11349/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/11349/events","html_url":"https://github.com/openshift/origin/issues/11349","id":182732687,"number":11349,"title":"Unable to execute commands as system:admin","user":{"login":"seybi87","id":6516819,"avatar_url":"https://avatars.githubusercontent.com/u/6516819?v=3","gravatar_id":"","url":"https://api.github.com/users/seybi87","html_url":"https://github.com/seybi87","followers_url":"https://api.github.com/users/seybi87/followers","following_url":"https://api.github.com/users/seybi87/following{/other_user}","gists_url":"https://api.github.com/users/seybi87/gists{/gist_id}","starred_url":"https://api.github.com/users/seybi87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seybi87/subscriptions","organizations_url":"https://api.github.com/users/seybi87/orgs","repos_url":"https://api.github.com/users/seybi87/repos","events_url":"https://api.github.com/users/seybi87/events{/privacy}","received_events_url":"https://api.github.com/users/seybi87/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/auth","name":"component/auth","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/question","name":"kind/question","color":"cc317c"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P2","name":"priority/P2","color":"fbca04"}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":1,"created_at":"2016-10-13T09:00:14Z","updated_at":"2016-10-13T12:42:52Z","closed_at":null,"body":"Hi Openshift guys,\r\n\r\nI am using the 1.3 binary release, installed from scratch.\r\n\r\nThe installation is running and I can use the CLI and web console as user 'test'\r\n\r\nI'am trying modify the default user, therefore I'm logging in as system:admin using the admin.kubeconfig\r\n\r\nAs soon as I execute any command I get the follwoing error response:\r\n\r\n`User \"system:anonymous\" cannot get clusterpolicies at the cluster scope`\r\n\r\nWhat am I doing wrong here?\r\n\r\n##### Version\r\noc v1.3.0\r\nkubernetes v1.3.0+52492b4\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n\r\nServer https://localhost:8443\r\nopenshift v1.3.0\r\nkubernetes v1.3.0+52492b4\r\n\r\n##### Steps To Reproduce\r\n1.  create a project 'testproject' as user 'test' via the web console\r\n2. ` oc login -u system:admin -n testproject --config=/opt/openshift-server/openshift.local.config/master/admin.kubeconfig`\r\n\r\n`Logged into \"https://192.168.0.202:8443\" as \"system:admin\" using existing credentials.\r\n\r\nYou have access to the following projects and can switch between them with 'oc project <projectname>':\r\n\r\n  * testproject\r\n    default\r\n    kube-system\r\n    openshift\r\n    openshift-infra\r\n\r\nUsing project \"testproject\".`\r\n\r\n2. `oc describe clusterPolicy testproject`\r\n`Error from server: User \"system:anonymous\" cannot get clusterpolicies at the cluster scope`\r\n\r\nSee below my admin.kubeconfig:\r\n\r\n`\r\napiVersion: v1\r\nclusters:\r\n- cluster:\r\n    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM2akNDQWRLZ0F3$\r\n    server: https://IP:8443\r\n  name: IP:8443\r\n- cluster:\r\n    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM2akNDQWRLZ0F3$\r\n    server: https://HOSTNAME.de:8443\r\n  name: hostname:8443\r\ncontexts:\r\n- context:\r\n    cluster: IP:8443\r\n    namespace: testproject\r\n    user: system:admin/IP:8443\r\n  name: cloudsocket/IP:8443/system:admin\r\n- context:\r\n    cluster: IP:8443\r\n    namespace: default\r\n    user: system:admin/IP:8443\r\n  name: default/IP:8443/system:admin\r\n- context:\r\n    cluster: hostname:8443\r\n    namespace: default\r\n    user: system:admin/IP:8443\r\n  name: default/hostname:8443/system:admin\r\ncurrent-context: testproject/IP:8443/system:admin\r\nkind: Config\r\npreferences: {}\r\nusers:\r\n- name: system:admin/IP:8443\r\n  user:\r\n    client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREVENDQWZXZ0F3SUJ$\r\n    client-key-data: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0NBUUVBcDJ$\r\n\r\n`Thank you in advance for your help!"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/253502096","html_url":"https://github.com/openshift/origin/issues/11349#issuecomment-253502096","issue_url":"https://api.github.com/repos/openshift/origin/issues/11349","id":253502096,"user":{"login":"seybi87","id":6516819,"avatar_url":"https://avatars.githubusercontent.com/u/6516819?v=3","gravatar_id":"","url":"https://api.github.com/users/seybi87","html_url":"https://github.com/seybi87","followers_url":"https://api.github.com/users/seybi87/followers","following_url":"https://api.github.com/users/seybi87/following{/other_user}","gists_url":"https://api.github.com/users/seybi87/gists{/gist_id}","starred_url":"https://api.github.com/users/seybi87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seybi87/subscriptions","organizations_url":"https://api.github.com/users/seybi87/orgs","repos_url":"https://api.github.com/users/seybi87/repos","events_url":"https://api.github.com/users/seybi87/events{/privacy}","received_events_url":"https://api.github.com/users/seybi87/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T12:42:52Z","updated_at":"2016-10-13T12:42:52Z","body":"@mfojtik  thanks for reply.\r\nI also tried this before but it results in the same error message:\r\n`oc describe clusterPolicy test --config=/opt/openshift-server/openshift.local.config/master/admin.kubeconfig\r\nError from server: User \"system:anonymous\" cannot get clusterpolicies at the cluster scope`"}}
{"actor":{"display_login":"seybi87"}}