Bug 2544660

Summary: Mismatched ISO labels leads to unbootable DVD installer and wrong labels in general
Product: [Fedora] Fedora Reporter: Simon de Vlieger <cmdr>
Component: image-builderAssignee: Simon de Vlieger <cmdr>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 46CC: cmdr, go-sig, osbuilders, rvykydal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20261001.n.0/compose/Server/
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-15 20:33:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon de Vlieger 2026-10-01 15:21:43 UTC
The labels for ISOs are not passed explicitly to `image-builder` through the pungi configuration. This means that they are defaulting to the built-in labels. Let's pass the labels explicitly.

This is making the `Server` DVD media unable to boot because the label in the grub2 config (written by `image-builder`) differs from the label `createiso` put onto the ISO after it embedded packages.

Reproducible: Always

Comment 1 Simon de Vlieger 2026-10-01 15:24:23 UTC
Upstream PR to allow configuration of this value: https://github.com/osbuild/image-builder/pull/2735

Comment 2 Simon de Vlieger 2026-10-05 11:15:56 UTC
So, we now have the value configured in pungi but there's still some shenanigans going on:

1. We dropped `arch` and `disctype` from the label, we can't currently substitute `arch` and `disctype` was always wrong.

However, someone (akankovs) told me that `osinfo-detect` actually uses this label. The regular expression seems to be: `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the hardcoded disctype and allow templating in the architecture for this to continue working.

Comment 3 Radek Vykydal 2026-10-09 07:35:42 UTC
(In reply to Simon de Vlieger from comment #2)
 
> However, someone (akankovs) told me that `osinfo-detect` actually uses this
> label. The regular expression seems to be:
> `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the
> hardcoded disctype and allow templating in the architecture for this to
> continue working.

FTR - Anaconda installer ticket to replace a workaround: https://redhat.atlassian.net/browse/INSTALLER-4957.

Comment 4 Simon de Vlieger 2026-10-09 07:43:03 UTC
(In reply to Radek Vykydal from comment #3)
> (In reply to Simon de Vlieger from comment #2)
>  
> > However, someone (akankovs) told me that `osinfo-detect` actually uses this
> > label. The regular expression seems to be:
> > `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the
> > hardcoded disctype and allow templating in the architecture for this to
> > continue working.
> 
> FTR - Anaconda installer ticket to replace a workaround:
> https://redhat.atlassian.net/browse/INSTALLER-4957.

I can't read that ticket, however if you do have a workaround it's probably not necessary for long; I landed the code in rawhide to enable the label templating so we can re-introduce the missing architecture field. I'm just pacing the changes to the ISOs so they each go through OpenQA as single changes instead of large batches where it's harder to figure out if anything goes wrong :)

Comment 5 Radek Vykydal 2026-10-09 07:50:54 UTC
Yep, thank you, the workaround is https://github.com/rhinstaller/kickstart-tests/pull/1777, the JIRA ticket was more for our reference, so sorry for the noise. Will try to make it more visible.

Comment 6 Simon de Vlieger 2026-10-15 20:33:25 UTC
This has been resolved now; 

```
~ € isoinfo -d -i ~/tmp/Fedora-Server-netinst-x86_64-Rawhide-20261015.n.0.iso
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: Fedora-S-dvd-x86_64-rawh
Volume set id:
Publisher id: FEDORA PROJECT
Data preparer id: IMAGE-BUILDER - HTTPS://OSBUILD.ORG/
Application id:
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 706129
El Torito VD version 1 found, boot catalog is in sector 136
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
    Hid 1
    Arch 0 (x86)
    ID ''
    Key 55 AA
    Eltorito defaultboot header:
        Bootid 88 (bootable)
        Boot media 0 (No Emulation Boot)
        Load segment 0
        Sys type 0
        Nsect 4
        Bootoff 89 137
~ € osinfo-detect ~/tmp/Fedora-Server-netinst-x86_64-Rawhide-20261015.n.0.iso
Media is bootable.
Media is an installer for OS 'Fedora Rawhide (x86_64)'
```