No service needs to be restarted. You didn’t bother to say how you installed openshift. You can verify that you have created a user by using the command line: ‘oc get users’ If that doesn’t provide you the details, then there could be other things wrong in your original setup.
From: [email protected] [mailto:[email protected]] On Behalf Of Brian Keyes Sent: Friday, December 01, 2017 12:34 PM To: Anton <[email protected]> Cc: [email protected] Subject: Re: do any services need to be restarted ? On Fri, Dec 1, 2017 at 3:33 PM, Brian Keyes <[email protected]<mailto:[email protected]>> wrote: I am still unable to do an "oc login: with bob or able to login to the GUI On Fri, Dec 1, 2017 at 3:33 PM, Brian Keyes <[email protected]<mailto:[email protected]>> wrote: ok , I have created the user file and associated a user to it 'bob' with the command htpasswd -c /etc/origin/master/htpasswd bob, I can see this file , I can see the contents of this file and they are encryipted next per the instructions I was able to set the password for this with htpasswd -b /etc/origin/master/htpasswd bob password123 then I run these commands [root@ose-master-01-bk master]# oc login -u system:admin Logged into "https://ose-infra-01-bk.int.vizuri.com:8443<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fose-infra-01-bk.int.vizuri.com%3A8443&data=01%7C01%7Clarry.brigman%40arris.com%7C27c7461dd82c4153ffc908d538fb1cd7%7Cf27929ade5544d55837ac561519c3091%7C1&sdata=CggLbuWBwswzpRBAcUFNIQHsN45qJ8AYx6h%2Bqx1R0kM%3D&reserved=0>" as "system:admin" using existing credentials. You have access to the following projects and can switch between them with 'oc project <projectname>': * default kube-system logging management-infra openshift openshift-infra Using project "default". [root@ose-master-01-bk master]# oadm policy add-cluster-role-to-user cluster-admin bob cluster role "cluster-admin" added: "bob" [root@ose-master-01-bk master]# oc login bob error: dial tcp 52.216.164.10:443<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F52.216.164.10%3A443&data=01%7C01%7Clarry.brigman%40arris.com%7C27c7461dd82c4153ffc908d538fb1cd7%7Cf27929ade5544d55837ac561519c3091%7C1&sdata=9zDkZLlfBskrVpYWA8TrHFEAgkLjGHw7xZVBTtnikgc%3D&reserved=0>: i/o timeout On Fri, Dec 1, 2017 at 3:13 PM, Anton <[email protected]<mailto:[email protected]>> wrote: You will need to create a user. Ssh to the master and try 1. cd /etc/origin/master 2. Run command htpasswd -b /etc/origin/master/htpasswd <user> <password> 3. The following requires the user has already logged in using ‘oc login -u system:admin’: oadm policy add-cluster-role-to-user cluster-admin <user> On 2 December 2017 at 09:05, Brian Keyes <[email protected]<mailto:[email protected]>> wrote: I have just installed open shift for the first time out side of the OPEN lab, but when I attempt to login to the gui , no user will work , I also cannot login with "oc login " for any user , but I can ssh into the master and run the oc commands like oc get pods I am perplexed on what could be the issue, please help! [Image removed by sender.] -- Brian Keyes Systems Engineer, Vizuri 703-855-9074<tel:(703)%20855-9074>(Mobile) 703-464-7030 x8239<tel:(703)%20464-7030> (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R. _______________________________________________ users mailing list [email protected]<mailto:[email protected]> http://lists.openshift.redhat.com/openshiftmm/listinfo/users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openshift.redhat.com%2Fopenshiftmm%2Flistinfo%2Fusers&data=01%7C01%7Clarry.brigman%40arris.com%7C27c7461dd82c4153ffc908d538fb1cd7%7Cf27929ade5544d55837ac561519c3091%7C1&sdata=hLpKZhkmCL0PGwwiGiTE2E05NoWRFAYfUi7ynC63WCA%3D&reserved=0> -- Brian Keyes Systems Engineer, Vizuri 703-855-9074<tel:(703)%20855-9074>(Mobile) 703-464-7030 x8239<tel:(703)%20464-7030> (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R. -- Brian Keyes Systems Engineer, Vizuri 703-855-9074<tel:(703)%20855-9074>(Mobile) 703-464-7030 x8239<tel:(703)%20464-7030> (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R. -- Brian Keyes Systems Engineer, Vizuri 703-855-9074(Mobile) 703-464-7030 x8239 (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R.
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
