Comments (9)
Try running
oc login -u system:admin
before adding the cluster-role.
from installcentos.
thanks, have tried - gives
error: username system:admin is invalid for basic auth
from installcentos.
Have you tried logging in on the server as system:admin can only login on localhost.
from installcentos.
it's an AWS machine, so via ssh connection.
`[centos@ip-172-31-10-24 installcentos]$ oc login localhost:8443
Authentication required for https://localhost:8443 (openshift)
Username: root
Password:
Login successful.
You don't have any projects. You can try to create a new project, by running
oc new-project <projectname>
[centos@ip-172-31-10-24 installcentos]$ oc logout
Logged "root" out on "https://localhost:8443"
[centos@ip-172-31-10-24 installcentos]$ oc login -u system:admin
Authentication required for https://localhost:8443 (openshift)
Username: system:admin
Password:
error: username system:admin is invalid for basic auth - verify you have provided the correct host and port and that the server is currently running.
error: username system:admin is invalid for basic auth
[centos@ip-172-31-10-24 installcentos]$ `
from installcentos.
Have just run on a local Centos VM using VirtualBox, installed as root user and all worked fine, so seems to be something to do with AWS account permissions.... will continue to investigate as this would be great to spin up on demand!
from installcentos.
Going to investigate, thanks for providing the information.
from installcentos.
re-ran in AWS, added a root password and installed as root - all worked fine so this was the issue.
CLI access is fine from both local console and remote, can oc describe node
etc, but now can't access web console (at all... no route),
Hostname is the internal/private 172.x.x.x EC2 address which probably explains it
....which is odd as the previous install did give me the console ok.
On my local machine (not ssh to the EC2 machine) I can oc login to the public IP and the following works, but not in the browser....
`
curl https://18.204.x.x.:8443/version/openshift -k
{
"major": "3",
"minor": "7+",
"gitCommit": "282e43f",
"gitVersion": "v3.7.1+282e43f-42",
}
`
from installcentos.
Did you configure DNS? It's better to use DNS (at least nip.io) to access the console then plain IP address.
from installcentos.
Seems stale, please reopen if need be.
from installcentos.
Related Issues (20)
- all check status of * image pre-pull failed HOT 1
- How to add CNS after installation
- pods can not accessible routing issue. HOT 2
- Two Adapters always tries to use NAT for local HOT 1
- OKD 4? HOT 3
- Letsencrypt autorenewal fails for OKD 3.11 HOT 2
- oc login connection refused HOT 7
- FAILED - RETRYING: Wait for control plane pods to appear HOT 1
- Cluster console shows the testing page of the Apache HTTP server
- failed to login to the internal docker registry: x509: certificate is valid for lz-virtualserver01-centos7-lamp.zhangllc.cloud, not docker-registry-default.apps.169.54.173.22.nip.io
- https://console.xxx.com:8443 not opening HOT 3
- Multi-node installation HOT 1
- Install failed deploy_cluster.yml could not be found HOT 1
- Centos 8 HOT 2
- Anyway to update the default PHP container?
- Stuck at FAILED - RETRYING: Wait for all control plane pods to come up and become ready HOT 4
- Working with Subdomains HOT 1
- Service catalog install failed HOT 1
- Error: timed out waiting for the condition
- Redeployment of certificates fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installcentos.