Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2242874 - The image is no longer recognized by 'toolbox list --images', etc.
Summary: The image is no longer recognized by 'toolbox list --images', etc.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora Container Images
Classification: Fedora
Component: fedora-toolbox
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
Depends On:
Blocks: F39FinalFreezeException 2216766
TreeView+ depends on / blocked
 
Reported: 2023-10-09 14:18 UTC by Debarshi Ray
Modified: 2023-11-06 15:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-19 10:58:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure pungi-fedora pull-request 1199 0 None None None 2023-10-09 14:23:34 UTC
Fedora Pagure pungi-fedora pull-request 1200 0 None None None 2023-10-09 14:23:50 UTC

Description Debarshi Ray 2023-10-09 14:18:46 UTC
The fedora-toolbox image for Fedora 39 and onwards is missing the com.github.containers.toolbox LABEL that used to be set in the Container/Dockerfile as:
  LABEL com.github.containers.toolbox="true"

See:
https://src.fedoraproject.org/container/fedora-toolbox/blob/f38/f/Dockerfile

It used to show up in 'podman inspect --type image ...' as:
  $ podman inspect --type image registry.fedoraproject.org/fedora-toolbox:38
          "Labels": {
            "com.github.containers.toolbox": "true",
            "license": "MIT",
            ...
            ...
            "vendor": "Fedora Project",
            "version": "38"
          }

Toolbx uses this LABEL to filter images meant to be used with Toolbx from random other OCI images.  Since, the LABEL is missing, the fedora-toolbox:39 and 40 images don't show up in 'toolbox list' and can't be removed with 'toolbox rmi'.

Comment 2 Fedora Blocker Bugs Application 2023-10-09 14:28:33 UTC
Proposed as a Blocker for 39-final by Fedora user rishi using the blocker tracking app because:

 This is a fallout from migrating the `fedora-toolbox` OCI image from being built using OpenShift Build Service from a Dockerfile to being built using Image Factory using `fedora-kickstarts` and `pungi-fedora`, as part of this Change for Fedora 39:
https://fedoraproject.org/wiki/Changes/ToolbxReleaseBlocker

It will be sad to have such a visible regression from a Change that wants to:
"... improve the quality of the containerized interactive command line Toolbx environments on Fedora by adding formal requirements to ensure that they are usable when a new Fedora is released. This will bring them closer to the reliability of similar environments running directly on the host operating system."

Comment 3 Debarshi Ray 2023-10-09 16:17:25 UTC
(In reply to Debarshi Ray from comment #1)
> Pull requests:
> https://pagure.io/pungi-fedora/pull-request/1199 (main)
> https://pagure.io/pungi-fedora/pull-request/1200 (f39)

I am currently waiting for permission to scratch build the images using Image Factory:
https://pagure.io/fedora-infrastructure/issue/11568

... but I suspect anybody who knows how to read pungi-fedora can also review their correctness.

Comment 4 Geoffrey Marr 2023-10-09 17:53:26 UTC
Discussed during the 2023-10-09 blocker review meeting: [0]

The decision to classify this bug as a "RejectedBlocker (Final)" and an "AcceptedFreezeException (Final)" was made as this does not seem to violate the criteria we put in place and probably won't affect 'typical' usage, but it would be good to have it right on release day for folks who might notice, and unblock CI.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-10-09/f39-blocker-review.2023-10-09-16.00.txt

Comment 5 Jens Petersen 2023-10-19 13:29:41 UTC
I can confirm it works for me too:

petersen@localhost-live:~$ toolbox list
IMAGE ID      IMAGE NAME                                    CREATED
ff39b6cc1e44  registry.fedoraproject.org/fedora-toolbox:38  10 days ago
2cbb577df155  registry.fedoraproject.org/fedora-toolbox:39  2 days ago

Thanks!


Note You need to log in before you can comment on or make changes to this bug.