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

0 votes

Hi Guys,

I am trying to login to the Minishift cluster. But it is showing me the below error.

$ oc login -u system:admin
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

How can I solve this error?

Aug 18, 2020 in DevOps Tools by akhtar
• 38,260 points
2,751 views

1 answer to this question.

0 votes

Hi@akhtar,

Instead of login with the system: admin, you can use the admin account. For that, you have to run the below steps.

$ minishift addon apply admin-user
$ oc login -u admin
Authentication required for https://192.168.99.114:8443 (openshift)
Username: admin
Password:
Login successful.
answered Aug 18, 2020 by MD
• 95,460 points
1 flag

Related Questions In DevOps Tools

0 votes
1 answer

Is it a good choice to go for DevOps from a system admin? What are the basic tools one should know?

Changing one's career from System Administration to ...READ MORE

answered Oct 29 in DevOps Tools by Gagana
• 2,450 points
78 views
0 votes
1 answer

How do you approach chaos engineering, and what tools have you found useful for testing system resilience?

Approach to Chaos Engineering: Chaos engineering is very important in terms of testing a ...READ MORE

answered Nov 3 in DevOps Tools by Gagana
• 2,450 points
46 views
0 votes
1 answer

Error saying "client and server don't have same version (client : 1.19, server: 1.18)"

As of docker-compose 1.4 you can now ...READ MORE

answered Jul 19, 2018 in DevOps Tools by Kalgi
• 2,680 points
1,833 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,474 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP