Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-116734

toolbox cannot be used on RHEL

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • toolbox
    • None
    • No
    • None
    • rhel-display-tools-accessibility
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      I tried to install and run RHEL10 UBI image on RHEL10

      What is the impact of this issue to you?

      I was not able to download UBI image

      Please provide the package NVR for which the bug is seen:

      [jhnidek@rhel10 ~]$ toolbox --version
      toolbox version 0.2

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Register the system and install toolbox

      [jhnidek@rhel10 ~]$ sudo subscription-manager register
      
      [jhnidek@rhel10 ~]$ sudo dnf install toolbox
      ...
      Installed:
      ...
      toolbox-0.2-1.el10_0.x86_64                
      
      Complete!
      

      2. Try to create UBI image

      [jhnidek@rhel10 ~]$ toolbox create
      Image required to create Toolbx container.
      Download registry.access.redhat.com/ubi10/toolbox:10.0 ( ... MB)? [y/N]: y
      Error: failed to pull image registry.access.redhat.com/ubi10/toolbox:10.0
      If it was a private image, log in with: podman login registry.access.redhat.com
      Use 'toolbox --verbose ...' for further details.
      

      OK the system is registered, but I can login again as suggested

      [jhnidek@rhel10 ~]$ podman login registry.access.redhat.com
      Username: jhnidek@redhat.com
      Password: 
      Login Succeeded!
      

      Login successful. Let's try get UBI image again

      [jhnidek@rhel10 ~]$ toolbox create
      Image required to create Toolbx container.
      Download registry.access.redhat.com/ubi10/toolbox:10.0 ( ... MB)? [y/N]: y
      Error: failed to pull image registry.access.redhat.com/ubi10/toolbox:10.0
      If it was a private image, log in with: podman login registry.access.redhat.com
      Use 'toolbox --verbose ...' for further details.
      

      Hmm, the same result. Let's try to login again

      [jhnidek@rhel10 ~]$ podman login registry.access.redhat.com
      Authenticating with existing credentials for registry.access.redhat.com
      Existing credentials are valid. Already logged in to registry.access.redhat.com
      

      Already logged in. Let's try run toolbox in verbose mode

      [jhnidek@rhel10 ~]$ toolbox --verbose create -y
      DEBU Running as real user ID 1000                 
      DEBU Resolved absolute path to the executable as /usr/bin/toolbox 
      DEBU Running on a cgroups v2 host                 
      DEBU Looking up sub-GID and sub-UID ranges for user jhnidek 
      DEBU TOOLBX_DELAY_ENTRY_POINT is                  
      DEBU TOOLBX_FAIL_ENTRY_POINT is                   
      DEBU TOOLBOX_PATH is /usr/bin/toolbox             
      DEBU Migrating to newer Podman                    
      DEBU Toolbx config directory is /home/jhnidek/.config/toolbox 
      DEBU Current Podman version is 5.4.0              
      DEBU Creating runtime directory /run/user/1000/toolbox 
      DEBU Old Podman version is 5.4.0                  
      DEBU Migration not needed: Podman version 5.4.0 is unchanged 
      DEBU Setting up configuration                     
      DEBU Setting up configuration: file /home/jhnidek/.config/containers/toolbox.conf not found 
      DEBU Resolving container and image names          
      DEBU Container: ''                                
      DEBU Distribution (CLI): ''                       
      DEBU Image (CLI): ''                              
      DEBU Release (CLI): ''                            
      DEBU Resolved container and image names           
      DEBU Container: 'rhel-toolbox-10.0'               
      DEBU Image: 'toolbox:10.0'                        
      DEBU Release: '10.0'                              
      DEBU Resolving container and image names          
      DEBU Container: ''                                
      DEBU Distribution (CLI): ''                       
      DEBU Image (CLI): ''                              
      DEBU Release (CLI): ''                            
      DEBU Resolved container and image names           
      DEBU Container: 'rhel-toolbox-10.0'               
      DEBU Image: 'toolbox:10.0'                        
      DEBU Release: '10.0'                              
      DEBU Checking if container rhel-toolbox-10.0 already exists 
      DEBU Looking up image localhost/toolbox:10.0      
      DEBU Resolving fully qualified name for image toolbox:10.0 from known registries 
      DEBU Resolved image toolbox:10.0 to registry.access.redhat.com/ubi10/toolbox:10.0 
      DEBU Looking up image registry.access.redhat.com/ubi10/toolbox:10.0 
      DEBU Pulling image registry.access.redhat.com/ubi10/toolbox:10.0 
      Trying to pull registry.access.redhat.com/ubi10/toolbox:10.0...
      Error: copying system image from manifest list: Source image rejected: None of the signatures were accepted, reasons: missing dev.sigstore.cosign/bundle annotation; missing dev.sigstore.cosign/bundle annotation; Signature for identity "registry.redhat.io/ubi10/toolbox:10.0" is not accepted
      Error: failed to pull image registry.access.redhat.com/ubi10/toolbox:10.0
      If it was a private image, log in with: podman login registry.access.redhat.com
      Use 'toolbox --verbose ...' for further details.
      

      Hmm, I still do not know, what is wrong.

      Expected results

      Allow to user to download UBI image or give some more useful error, what is wrong.

      Actual results

      Using sudo or root did not help too

              dray@redhat.com Debarshi Ray
              jhnidek@redhat.com Jiri Hnidek
              Debarshi Ray Debarshi Ray
              Petr Schindler Petr Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: