dwmkerr / terraform-aws-openshift

Create infrastructure with Terraform and AWS, install OpenShift. Party!
http://www.dwmkerr.com/get-up-and-running-with-openshift-on-aws
MIT License
170 stars 173 forks source link

Not able to login to cluster console #87

Open kenhuang opened 5 years ago

kenhuang commented 5 years ago

After installing OKD 3.11 from the latest master, I am not able to navigate to cluster console.

As showing in the screenshot below, keep getting redirect back to the login screen. I was able to navigate to application console, using oc cli without any issue.

Screen Shot 2019-05-15 at 9 47 30 AM
dwmkerr commented 5 years ago

That is bizarre, will attempt to reproduce shortly...

ddanijel commented 5 years ago

Does anyone have the same problem? After installing OKD 3.11 I am also not able to log in neither to the dashboard nor to oc cli.

dwmkerr commented 5 years ago

QQ did you get any errors after running the make openshift command? I.e. did ansible fail at any steps? Have you tried repeating the command in case a second attempt fixes it? It is likely to be issues with the generation of the user credentials I expect...

dwmkerr commented 5 years ago

I have re-tested with the latest version just from master, just updated. It works fine. Can you delete your resources, run:

rm -rf .terraform
terraform get && terraform init && terraform apply -auto-approve

Wait for 5 mins to make sure instances are alive, then run make openshift. Once this is done, see if make ssh-master works - if it does, you should be ssh-d onto the master node and able to run oc status, then let me know what the output is!