Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHCOS buildextend-live --osmet fails when mouting because of encryption setup #1424

Closed
dustymabe opened this issue May 5, 2020 · 2 comments

Comments

@dustymabe
Copy link
Member

The relevant bit in the below output is mount: /sysroot: unknown filesystem type 'crypto_LUKS'. I'm assuming we need to account for that in order to get the osmet changes into RHCOS.

 buildextend-live --osmet
Targeting build: 46.82.202005050230-0
+ /usr/bin/ostree ls --repo /srv/tmp/repo --nul-filenames-only 7ff369852ff588d846d822878387002d62ccda1416962b03b60bf77c0e138b85 /usr/lib/modules
+ /usr/bin/ostree checkout --repo /srv/tmp/repo --user-mode --subpath /usr/lib/modules/4.18.0-193.el8.x86_64/vmlinuz 7ff369852ff588d846d822878387002d62ccda1416962b03b60bf77c0e138b85 /srv/tmp/buildpost-live/live/images
+ /usr/bin/ostree checkout --repo /srv/tmp/repo --user-mode --subpath /usr/lib/modules/4.18.0-193.el8.x86_64/initramfs.img 7ff369852ff588d846d822878387002d62ccda1416962b03b60bf77c0e138b85 /srv/tmp/buildpost-live/live/images
Generating osmet file
+ /usr/lib/coreos-assembler/osmet-pack builds/46.82.202005050230-0/x86_64/rhcos-46.82.202005050230-0-metal.x86_64.raw /srv/tmp/buildpost-live/initramfsac5g287v/rhcos-46.82.202005050230-0-metal.x86_64.raw.osmet 89ab0a948a23d217c48f1a81488
47a5d1f621741e3066d1c9fd861931a4c57fb
+ /usr/lib/systemd/systemd-udevd --daemon
+ /usr/sbin/udevadm trigger --settle
+ rootfs=/dev/disk/by-id/virtio-osmet-part4
+ mkdir -p /sysroot
+ mount -o ro /dev/disk/by-id/virtio-osmet-part4 /sysroot
mount: /sysroot: unknown filesystem type 'crypto_LUKS'.
Error running command /usr/lib/coreos-assembler/osmet-pack
@jlebon
Copy link
Member

jlebon commented May 5, 2020

Right yeah, this is tracked at coreos/coreos-installer#224 (see also discussions starting from coreos/coreos-installer#187 (comment)).

Though... yeah I think we need to make #1418 conditional on RHCOS. Maybe let's add a live section to image.yaml and have a boolean osmet knob under it?

@jlebon
Copy link
Member

jlebon commented May 5, 2020

Though... yeah I think we need to make #1418 conditional on RHCOS. Maybe let's add a live section to image.yaml and have a boolean osmet knob under it?

Did this in #1418 now. Will open a corresponding patch against the RHCOS pipeline.

Going to close this issue now as RHCOS support is tracked already at coreos/coreos-installer#224.

@jlebon jlebon closed this as completed May 5, 2020
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

No branches or pull requests

2 participants