Bug 1268126
Summary: | system:admin requiring password | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ryan Howe <rhowe> |
Component: | apiserver-auth | Assignee: | Jordan Liggitt <jliggitt> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | weiwei jiang <wjiang> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0.0 | CC: | aos-bugs, salvatore.provvidenza, wsun |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-01-29 20:58:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ryan Howe
2015-10-01 21:22:48 UTC
To switch to an existing credentials, you must use "-u ...". Will look into preventing the 500 error Fixed in origin in https://github.com/openshift/origin/pull/5726 Usernames with colons no longer attempt password auth checked with devenv-centos7_3136, and still not work # oc login Authentication required for https://172.18.8.193:8443 (openshift) Username: system:admin Password: error: username system:admin is invalid for basic auth To switch to an existing credentials, you must use "-u ...". The bug that was fixed was the 500 error encountered if you try to use "system:admin" as a password login. The "username system:admin is invalid for basic auth" error is working correctly if you attempt to use that username for a password login. (In reply to Jordan Liggitt from comment #6) > To switch to an existing credentials, you must use "-u ...". The bug that > was fixed was the 500 error encountered if you try to use "system:admin" as > a password login. > > The "username system:admin is invalid for basic auth" error is working > correctly if you attempt to use that username for a password login. If so should be verified. Hy guys, i have the same problem whit the last version of origin (openshift-origin-server-v1.1.1) when i run this command : oc login localhost:8443 -usystem:admin openshift requires password. I need to system:admin user but i don't know how to get permits to run : oadm policy add-cluster-role-to-user cluster-admin admin Do you have any idea to help me ? thanks in advace. system:admin credentials live in a client certificate. If you get prompted for a password, that means your $KUBECONFIG file does not contain those credentials. You need to locate the admin.kubeconfig file generated at server start and do export KUBECONFIG=/path/to/admin.kubeconfig Then you will be able to run cluster admin commands. thanks, now work fine :D |