Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56600

The toolbox package built in rhcos-9.6.20250514-0 can't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.19.0
    • RHCOS
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • Approved
    • None
    • Done
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      In a 4.19.0-0.nightly-2025-05-19-005500 cluster, try to run "toolbox" command on the node:
      
      sh-5.1# toolbox 
      Error: failed to get the current user's default shell
      
      sh-5.1# rpm -qf /usr/bin/toolbox
      toolbox-0.1.1-1.el9.x86_64
      
      sh-5.1# rpm-ostree status
      State: idle
      Deployments:
      * ostree-unverified-registry:quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:bb63b13cb9cd0b8c4398f17498f004aff2e7ad770f28c84dc532069ae3a76526
                         Digest: sha256:bb63b13cb9cd0b8c4398f17498f004aff2e7ad770f28c84dc532069ae3a76526
                        Version: 9.6.20250514-0 (2025-05-14T23:44:17Z)
      
      Noticed that there's also a toolbox-0.1.2-1.rhaos4.19.el9.noarch shipped in the OCP-4.19 repo, so install this version of toolbox on the node and it works. 
      
      sh-5.1# dnf install toolbox --transient
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use subscription-manager to register.
      
      Last metadata expiration check: 0:00:14 ago on Thu May 22 02:32:26 2025.
      Package toolbox-0.1.1-1.el9.x86_64 is already installed.
      Dependencies resolved.
      ============================================================================================================================
       Package                Architecture          Version                              Repository                          Size
      ============================================================================================================================
      Upgrading:
       toolbox                noarch                0.1.2-1.rhaos4.19.el9                ci-ocp19-rhel9-rpms                 16 k
      
      ...
      
        Verifying        : toolbox-0.1.2-1.rhaos4.19.el9.noarch                                                               1/2 
        Verifying        : toolbox-0.1.1-1.el9.x86_64                                                                         2/2 
      Installed products updated.
      
      Upgraded:
        toolbox-0.1.2-1.rhaos4.19.el9.noarch                                                                                      
      
      Complete!
      sh-5.1# which toolbox 
      /usr/bin/toolbox
      sh-5.1# rpm -qf /usr/bin/toolbox
      toolbox-0.1.2-1.rhaos4.19.el9.noarch
      sh-5.1# 
      sh-5.1# toolbox 
      Checking if there is a newer version of registry.redhat.io/rhel9/support-tools available...
      Spawning a container 'toolbox-root' with image 'registry.redhat.io/rhel9/support-tools'
      Detected RUN label in the container image. Using that as the default...
      c33bb068673559a04ac2941756ed7f61c13ffd0246271206aeda9f6b0420d33d
      toolbox-root
      Container started successfully. To exit, type 'exit'.
      [root@anliaz22-tgfqr-worker-westus-vrbnw /]# 
      
      
      
          

      Version-Release number of selected component (if applicable):

      9.6.20250514-0
      toolbox-0.1.1-1.el9.x86_64
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Run "toolbox" command on the node
      
          

      Actual results:

      
          

      Expected results:

      
          

      Additional info:

      
          

              travier@redhat.com Timothée Ravier
              rh-ee-gpei Gaoyun Pei
              None
              None
              Michael Nguyen Michael Nguyen
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: