Bug 2004562

Summary: Switch to using the Toolbox-specific UBI image by default
Product: Red Hat Enterprise Linux 8 Reporter: Debarshi Ray <debarshir>
Component: toolboxAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: ajia, dornelas, lfriedma, lmiksik, ogutierr, sbarcomb, smccarty, tpopela, ypu
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: container-tools-rhel8-8050020210920030917.faa19cc5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2004993 (view as bug list) Environment:
Last Closed: 2021-11-09 17:40:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2004993    

Description Debarshi Ray 2021-09-15 14:46:15 UTC
We now have a Toolbox-specific OCI image created out of the UBI RPMs that has a much better interactive user experience than the registry.redhat.io/rhel8/support-tools:latest image. eg., the manual pages, ping(8), fully featured coreutils, etc..

Let's default to that.

This would mean that those who need to use sosreport, will have to install it separately inside the container.

Comment 4 Scott McCarty 2021-09-15 15:16:51 UTC
Debarshi, could you please specify the exact path of the new Toolbox image for Jindrich. I believe it's "registry.access.redhat.com/ubi8/toolbox" but I need you and/or Laurie to verify that.

Comment 5 Debarshi Ray 2021-09-15 17:10:21 UTC
(In reply to Scott McCarty from comment #4)
> Debarshi, could you please specify the exact path of the new Toolbox image
> for Jindrich. I believe it's "registry.access.redhat.com/ubi8/toolbox" but I
> need you and/or Laurie to verify that.

That's also what I know. ie., it should be:
registry.access.redhat.com/ubi8/toolbox:latest

I am waiting for Laurie to confirm that.

Comment 6 Tomas Popela 2021-09-15 17:16:31 UTC
@ajia can we please get qa_ack+ and ITM?

Comment 8 Laurie Friedman 2021-09-15 20:57:40 UTC
The new toolbox images will be in all of the following repos.  I'm not sure which you want to use.  The images are identical in the ubi and rhel repos for each release (i.e. 1 image pushed to 2 places).  All are built with ubi base images.

For 8.5 GA:
ubi8/toolbox
rhel8/toolbox

For 9-Beta:  
ubi9-beta/toolbox
rhel9-beta/toolbox

For 9.0 GA: 
ubi9/toolbox 
rhel9/toolbox

All "rhel" repos are in the authenticated registry: registry.redhat.io/ (authenticated)
All "ubi" repos are in both the authenticated registry and the authenticated registry: registry.redhat.io/ (authenticated) and registry.access.redhat.com (unauthenticated)

Comment 9 Tomas Popela 2021-09-16 06:01:15 UTC
@ajia we need ITM from you as well please.

Comment 12 Laurie Friedman 2021-09-16 15:41:07 UTC
@dornelas registry.redhat.io/rhel8/toolbox and registry.redhat.io/ubi8/toolbox will be identical.  It is the same images released and pushed to 2 repos.  This is the case for all ubi images.  The the previous tool box will not be available there, although I guess they could specify an old unsupported image version.

Comment 14 Laurie Friedman 2021-09-16 20:48:59 UTC
@dornelas Yes, I meant toolbox.  I fixed the comment.  Thanks for noticing.

Comment 19 Alex Jia 2021-09-22 12:45:46 UTC
Using the ubi8/toolbox:latest image by default now.

[root@kvm-06-guest02 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 Beta (Ootpa)

[root@kvm-06-guest02 ~]# rpm -q toolbox podman runc kernel
toolbox-0.0.99.3-0.4.module+el8.5.0+12682+a4eeb084.x86_64
podman-3.3.1-9.module+el8.5.0+12697+018f24d7.x86_64
runc-1.0.2-1.module+el8.5.0+12582+56d94c81.x86_64
kernel-4.18.0-343.el8.x86_64

[root@kvm-06-guest02 ~]# toolbox
No toolbox containers found. Create now? [y/N] y
Image required to create toolbox container.
Download registry.access.redhat.com/ubi8/toolbox:latest (500MB)? [y/N]:

Comment 22 errata-xmlrpc 2021-11-09 17:40:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4154