Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openshift #3509

Open
imtiazahmed93 opened this issue Feb 4, 2021 · 1 comment
Open

Openshift #3509

imtiazahmed93 opened this issue Feb 4, 2021 · 1 comment

Comments

@imtiazahmed93
Copy link

imtiazahmed93 commented Feb 4, 2021

After the upgrading Kubectl, i am unable to login on openshift cluster.

When i am trying to login with "oc login " command it is reverting the below error message:

Error: unknown command "login" for "kubectl"

Did you mean this?

logs

plugin

Run 'kubectl --help' for usage.

Below are the some details of version from machine where i have the login issue________________

kubectl version

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}

error: You must be logged in to the server (the server has asked for the client to provide credentials)

----Below are the some details of version from machine where i have no issue , i am able to login and didn't upgrade kubectl version_____

kubectl version

Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+$Format:%h$", GitCommit:"$Format:%H$", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.2+f2384e2", GitCommit:"f2384e2", GitTreeState:"clean", BuildDate:"2020-06-16T03:21:27Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}


Additional: i have checked by downgrade the kubectl versions , but getting same error on that machine where i unable to login using "oc login"

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/stale label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant