Dnia Czwartek, 8 Czerwca 2017 19:40 Jessica Forrester <[email protected]> napisał(a)

When you "oc login -u system:admin' from the CLI in the minishift env you are using an existing context file that is not using username/password authentication, its using client cert authentication.  What is the username and password you are using to log into the console with?  Are you logging in with username "system" and password of "admin" ?  If you refer to the docs it explains that is not actually the system admin user when you do that [1]
 
If that is the case then you need to actually grant your "system" user the cluster admin role. For more info on creating a cluster admin user see [2]
 
Yup, that was a problem in my case (I consused system:admin with user system with password admin...). It's just my test environment, so the security is not a problem and the mentioned command helped:
 
> oc adm policy add-cluster-role-to-user cluster-admin system
 
Thanks Jessica and Cesar!
 
Marcin
 
 
 
 
 
 
 

On Thu, Jun 8, 2017 at 1:07 PM, Marcin Zajączkowski <[email protected]> wrote:

Dnia Czwartek, 8 Czerwca 2017 19:04 Jessica Forrester <[email protected]> napisał(a)

If you are using the same user this can't happen.  Is there a chance you were running as the system admin when you were using the CLI?
Yes system:admin both from CLI and UI. It's Minishift and I haven't changed anything with users there.
Marcin

On Thu, Jun 8, 2017 at 12:28 PM, Marcin Zajączkowski <[email protected]> wrote:
Hi,

Projects created with CLI are not visible in the UI console. Is it possible to add them there?

OpeShift 1.5.1, Minishift 1.1.0.

Marcin

--
http://blog.solidsoft.info/ - Working code is not enough



_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



--

http://blog.solidsoft.info/ - Working code is not enough


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



--

http://blog.solidsoft.info/ - Working code is not enough

 


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to