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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content