-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.2
-
None
-
None
-
None
-
image-builder
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
+ podman run --rm --tls-verify=false --privileged --pid=host -v /:/target -v /dev:/dev -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t localhost/bootc:beaker bash -c 'bootc install to-existing-root --target-transport containers-storage --root-ssh-authorized-keys /target/root/.ssh/authorized_keys' Installing image: ostree-unverified-image:containers-storage:localhost/bootc:beaker Digest: sha256:565927c1e1999e4b1c7cce8248a006bbbb3f9a22f74d9022385400c5550d9f70 Bootloader: grub ---------------------------- WARNING: This operation will OVERWRITE THE BOOTED HOST ROOT FILESYSTEM and is NOT REVERSIBLE. Waiting 20s to continue; interrupt (Control-C) to cancel. ---------------------------- Initializing ostree layout layers already present: 0; layers needed: 82 (1.9 GB) Deploying container image...done (5 seconds) Injected: etc/tmpfiles.d/bootc-root-ssh.conf Installing bootloader via bootupd error: boot data installation failed: installing component EFI: Updating EFI firmware variables: Failed to find ESP device error: Installing to filesystem: Installing bootloader: Failed to run command: Command { program: "bootupctl", args: [ "bootupctl", "backend", "install", "--write-uuid", "--update-firmware", "--auto", "--src-root", "/target/ostree/deploy/default/deploy/eb910806a314c71b69ff5bf62300dd81f15b915083587b833c0cdeb381cc6ef2.0", "--device", "/dev/sdb", "/target", ], create_pidfd: false, }
What is the impact of this issue to you?
install image mode on a multiple disk system failed
Please provide the package NVR for which the bug is seen:
images.paas.redhat.com/bootc/rhel-bootc:RHEL-10.2-20251119.0
[root@dell-per660-18 switch-pkg-to-image-mode]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 894.3G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 500M 0 part /boot ├─sda3 8:3 0 15.5G 0 part [SWAP] └─sda4 8:4 0 5G 0 part /var/nfsshare sdb 8:16 0 894.3G 0 disk └─sdb1 8:17 0 894.3G 0 part /
How reproducible is this bug?: 100%
Steps to reproduce
1.using container file as below
2. run
podman run --rm --tls-verify=false --privileged --pid=host -v /:/target -v /dev:/dev -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t localhost/bootc:beaker bash -c 'bootc install to-existing-root --target-transport containers-storage --root-ssh-authorized-keys /target/root/.ssh/authorized_keys'
Expected results
system should successfully switch to image mode system
Actual results
+ podman run --rm --tls-verify=false --privileged --pid=host -v /:/target -v /dev:/dev -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t localhost/bootc:beaker bash -c 'bootc install to-existing-root --target-transport containers-storage --root-ssh-authorized-keys /target/root/.ssh/authorized_keys' Installing image: ostree-unverified-image:containers-storage:localhost/bootc:beaker Digest: sha256:565927c1e1999e4b1c7cce8248a006bbbb3f9a22f74d9022385400c5550d9f70 Bootloader: grub ---------------------------- WARNING: This operation will OVERWRITE THE BOOTED HOST ROOT FILESYSTEM and is NOT REVERSIBLE. Waiting 20s to continue; interrupt (Control-C) to cancel. ---------------------------- Initializing ostree layout layers already present: 0; layers needed: 82 (1.9 GB) Deploying container image...done (5 seconds) Injected: etc/tmpfiles.d/bootc-root-ssh.conf Installing bootloader via bootupd error: boot data installation failed: installing component EFI: Updating EFI firmware variables: Failed to find ESP device error: Installing to filesystem: Installing bootloader: Failed to run command: Command { program: "bootupctl", args: [ "bootupctl", "backend", "install", "--write-uuid", "--update-firmware", "--auto", "--src-root", "/target/ostree/deploy/default/deploy/eb910806a314c71b69ff5bf62300dd81f15b915083587b833c0cdeb381cc6ef2.0", "--device", "/dev/sdb", "/target", ], create_pidfd: false, }