I had similar issue but with ansible-playbook-installed cluster. The oc client uses
credentials in config.yaml in /etc/origin/master and the error usually means the user
running the script doesn't have permissions to access the yaml file.
hope it helps.
Viet
----- Original Message -----
From: "John Mazzitelli" <mazz(a)redhat.com>
To: "Discussions around Hawkular development"
<hawkular-dev(a)lists.jboss.org>
Sent: Tuesday, February 21, 2017 2:25:22 PM
Subject: [Hawkular-dev] more openshift issues
If I start openshift with "sudo ./openshift start" and then try to log in like
this:
oc login -u system:admin
What would cause this:
Authentication required for
https://192.168.1.15:8443 (openshift)
Username: system:admin
Password:
error: username system:admin is invalid for basic auth
When I start with "oc cluster up" I do not get asked for a password and it
"just works"
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev