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

Error attaching, falling back to logs: Upgrade request required #20

Open
sean-keane25 opened this issue Dec 12, 2020 · 1 comment
Open

Comments

@sean-keane25
Copy link

I'm getting the following error when attempting to node-shell to a node.

$ kubectl node-shell aks-test11711-31489578-vmss000000
spawning "nsenter-3qn7ml" on "aks-test11711-31489578-vmss000000"
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs: Upgrade request required
groups: cannot find name for group ID 11
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

mesg: ttyname failed: Success



error: timed out waiting for the condition
pod "nsenter-3qn7ml" deleted
@kvaps
Copy link
Owner

kvaps commented Apr 29, 2021

Hi, sorry for late answer,
Do you still experiencing this error?

If so, please provide me debug output, eg:

sh -x kubectl_node-shell aks-test11711-31489578-vmss000000

BTW, did, you know that now you can use kubectl-debug as well?

 kubectl debug --image=alpine:3.12 node/aks-test11711-31489578-vmss000000 -ti -- chroot /host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants