Skip to content

Include fix for bcvk - #113

Merged
alicefr merged 5 commits into
bootc-dev:mainfrom
alicefr:builb-bcvk-source
Aug 13, 2026
Merged

Include fix for bcvk#113
alicefr merged 5 commits into
bootc-dev:mainfrom
alicefr:builb-bcvk-source

Conversation

@alicefr

@alicefr alicefr commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Include fix in bcvk: bootc-dev/bcvk#313. Also, install virtiofs and openssl dependencies and enable hvc0 console.

This should hopefully fix bootc-dev/bootc-operator#136 . Since now the digest printed by the node images matches with the one use by bootc into the bcvk VM

We need a fix for unlocking our CI which requires the commit in:
  bootc-dev/bcvk#313
afterwards the commit inside the disk image should match with the one of
the corresponding node image.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Printing the digest of the node image should help us to validate if it
is the same digest used by bootc inside the bcvk VM.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr
alicefr force-pushed the builb-bcvk-source branch from e7a9a13 to b4bf404 Compare August 13, 2026 06:08
bcvk uses virtiofsd to expose the bootc OCI image's root filesystem
to the ephemeral VM via virtio-fs. Without it the kernel boots past
BIOS and GRUB but hangs waiting for its root device, so SSH never
becomes available and the 240s timeout fires.

virtiofsd is only a weak/recommended dependency of qemu-kvm, so
--setopt=install_weak_deps=0 silently dropped it. Add it explicitly.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
bcvk's console log capture reads from the virtio console (hvc0), but
the kernel cmdline only listed tty0 and ttyS0.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
bcvk generates an SSH keypair via ssh-keygen before starting QEMU. The
openssl-client was missing.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr
alicefr force-pushed the builb-bcvk-source branch from 00c29c5 to b863f2a Compare August 13, 2026 11:21
@alicefr alicefr changed the title DNM: Include fix for bcvk Include fix for bcvk Aug 13, 2026
@alicefr

alicefr commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

@alicefr

alicefr commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

Bink CI is pretty flaky unfortunately, but I do really want to get this merged since it fixed bootc-operator ci. We can investigate the CI stability in a later PR

@Johan-Liebert1

Johan-Liebert1 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

So, I tested bootc-dev/bcvk#313 locally and it didn't seem to solve the issue as the manifest changes with oci dir too. I have bootc-dev/bcvk#314 which might fix it

@Johan-Liebert1 Johan-Liebert1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -1,7 +1,16 @@
ARG FEDORA_VERSION=44
ARG BCVK_REF=main

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Containerfile has ARG BCVK_REF=main but the Makefile pins BCVK_REF ?= 9005...

I think it will make difference when someone uses makefile or podman build. like they will have different thing pinned/unpinned

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you use podman build you should know what to put as build argument otherwise, it will take it from main which is fine IMO

@alicefr

alicefr commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

@Johan-Liebert1 it does seems to fix the ostree one since the digest matches. During the installation for composefs, I'm not able to see any reported digest. This is for sure an improvement we could also implement

@alicefr

alicefr commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

I'm going to merge this as it seems fixing the ostree build and it should unblock the bootc-operator CI. It will help also when the fix for composefs lands since we now have the ability to build bcvk from source

@alicefr
alicefr merged commit b8bcb86 into bootc-dev:main Aug 13, 2026
34 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken CI because of bink node image with wrong digest

3 participants