Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

ISO install fails to boot #233

Description

@mvo5

The integration tests currently fails during the test/test_build.py::test_iso_installs[quay.io/centos-bootc/fedora-bootc:eln,anaconda-iso] step. When running it locally and booting into the installed image I see:

0a7a7c r/w with ordered data mode. Quota mode: none.

Generating "/run/initramfs/rdsosreport.txt"


Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.


Press Enter for maintenance
(or press Control-D to continue): 

Screenshot from 2024-03-05 09-50-38

When logging in I see:

:/root# systemctl status --no-pager -l ostree-prepare-root
× ostree-prepare-root.service - OSTree Prepare OS/
     Loaded: loaded (/usr/lib/systemd/system/ostree-prepare-root.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-03-05 08:48:16 UTC; 5min ago
       Docs: man:ostree(1)
    Process: 442 ExecStart=/usr/lib/ostree/ostree-prepare-root /sysroot (code=exited, status=1/FAILURE)
   Main PID: 442 (code=exited, status=1/FAILURE)
        CPU: 1ms

Mar 05 08:48:16 localhost systemd[1]: Starting ostree-prepare-root.service - OSTree Prepare OS/...
Mar 05 08:48:16 localhost ostree-prepare-root[442]: Loading usr/lib/ostree/prepare-root.conf
Mar 05 08:48:16 localhost ostree-prepare-root[442]: Resolved OSTree target to: /sysroot/ostree/deploy/default/deploy/fdb3ad563b6c2955fdb32d3380119a2f35abb19458d2dec50f38b9bfb686350d.0
Mar 05 08:48:16 localhost ostree-prepare-root[442]: sysroot.readonly configuration value: 1 (fs writable: 1)
Mar 05 08:48:16 localhost ostree-prepare-root[442]: ostree-prepare-root: composefs: failed to mount: No such file or directory
Mar 05 08:48:16 localhost systemd[1]: ostree-prepare-root.service: Main process exited, code=exited, status=1/FAILURE
Mar 05 08:48:16 localhost systemd[1]: ostree-prepare-root.service: Failed with result 'exit-code'.
Mar 05 08:48:16 localhost systemd[1]: Failed to start ostree-prepare-root.service - OSTree Prepare OS/.
Mar 05 08:48:16 localhost systemd[1]: ostree-prepare-root.service: Triggering OnFailure= dependencies.

To reproduce run:

sudo pytest -s -vv test/test_build.py::test_iso_installs[quay.io/centos-bootc/fedora-bootc:eln,anaconda-iso]

and use the generated image (e.g. by looking at ps afx|grep qemu) to testboot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions