oc debug node command failed with error "unable to extract pod template from type *v1.Node".

Solution Verified - Updated -

Issue

  • While running oc debug node/node-name the command failed with below error
# oc debug node/node-1.redhat.example.com
error: cannot debug node-1.redhat.example.com: unable to extract pod template from type *v1.Node
  • Not getting debug shell for the node after running oc debug node/node-name command from the bastion server.

Environment

  • Red Hat OpenShift Container Platform
    • 4.3
    • 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In