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

[rhel-9.6] ext.config.shared.var-mount.luks failing #1656

Open
c4rt0 opened this issue Nov 28, 2024 · 2 comments
Open

[rhel-9.6] ext.config.shared.var-mount.luks failing #1656

c4rt0 opened this issue Nov 28, 2024 · 2 comments

Comments

@c4rt0
Copy link
Contributor

c4rt0 commented Nov 28, 2024

When building a rhel-9.4 & 9.6 variants on x86_64, the ext.config.shared.var-mount.luks fails.

[2024-11-28T12:53:38.065Z] --- FAIL: ext.config.shared.var-mount.luks (27.24s)
[2024-11-28T12:53:38.065Z]         harness.go:1823: mach.Start() failed: machine 6fb46fd3-e03d-4132-a88b-c5209d3629ee entered emergency.target in initramfs

In the attached console.txt an error is found:

[   21.257136] ignition[835]: Ignition failed: failed to create luks: binding clevis device: exit status 1: Cmd: "clevis" "luks" "bind" "-f" "-k" "/tmp/ignition-luks-1296438722" "-d" "/run/ignition/dev_aliases/dev/disk/by-partlabel/varlog" "sss" "{\"pins\":{\"tpm2\":{}},\"t\":1}" Stdout: "" Stderr: "/usr/bin/clevis-encrypt-tpm2: line 137: tpm2_getcap: command not found\nUnable to find non-empty PCR algorithm bank, please check output of tpm2_getcap pcrs\nUnable to perform encryption with PIN 'sss' and config '{\"pins\":{\"tpm2\":{}},\"t\":1}'\nError adding new binding to /run/ignition/dev_aliases/dev/disk/by-partlabel/varlog\n"
0;1;31m*[0m[0;31m*    [0m] A start job is running for Ignition (disks) (19s / no limit)
[   21.273424] systemd[1]: ignition-disks.service: Main process exited, code=exited, status=1/FAILURE
[   21.275361] systemd[1]: ignition-disks.service: Failed with result 'exit-code'.
[   21.277132] systemd[1]: Failed to start Ignition (disks).
[0;1;31mFAILED[0m] Failed to start [0;1;39mIgnition (disks)[0m].
See 'systemctl status ignition-disks.service' for details.
[   21.280439] systemd[1]: Dependency failed for Ignition Complete.

Attaching remaining artifacts for completeness:
ignition.json
ignition-virtio-dump.txt

c4rt0 added a commit to c4rt0/os that referenced this issue Nov 28, 2024
rhel-9.4 and rhel-9.6 builds are now failing with the above.
Let's denylist it until resolution is found.

See: openshift#1656
@jlebon
Copy link
Member

jlebon commented Nov 28, 2024

Looks like the RHEL equivalent of coreos/fedora-coreos-tracker#1836 which should be fixed by coreos/ignition#1978.

c4rt0 added a commit to c4rt0/os that referenced this issue Nov 29, 2024
The tpm2_getcap binary is required for Clevis TPM2 operations but was missing from the initrd.

See: openshift#1656
@jlebon
Copy link
Member

jlebon commented Nov 29, 2024

Should be fixed once clevis-21-207.el9 lands.

aaradhak added a commit to aaradhak/fedora-coreos-config that referenced this issue Dec 3, 2024
The multipath.partition test has been failing with the latest kernel
version 6.13.0-0.rc0.20241119git158f238aa69d.2.fc42. Let us snooze this
test for a month till January 6, 2025.

Ref: openshift/os#1656
@c4rt0 c4rt0 changed the title [rhel-9.4] & [rhel-9.6] ext.config.shared.var-mount.luks failing [rhel-9.6] ext.config.shared.var-mount.luks failing Dec 3, 2024
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