Toolbox container sometimes executes in debug Pod

Solution Unverified - Updated -

Issue

  • Once toolbox is executed on an OpenShift Container Platform Node, all further toolbox executions place users in the debug Pod instead of the toolbox Pod as expected.

    $ oc debug node/example-node.eu-central-1.compute.internal
    [..]
    sh-4.4# chroot /host
    sh-4.4# toolbox
    # Toolbox works as expected
    sh-4.4# exit
    sh-4.4# toolbox
    # Toolbox does not work as expected, user is instead dropped in the "debug" container
    
  • Also any podman exec -it toolbox-root SOME_COMMAND is executed on the debug pod and not in the running toolbox container

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.7

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