kubectl-node-shell icon indicating copy to clipboard operation
kubectl-node-shell copied to clipboard

Error attaching, falling back to logs: Upgrade request required

Open sean-keane25 opened this issue 3 years ago • 1 comments

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

sean-keane25 avatar Dec 12 '20 20:12 sean-keane25

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

kvaps avatar Apr 29 '21 08:04 kvaps