Bug 2047266
| Summary: | Instance i3.large fails to spawn in AWS with kernel 5.15.16 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Raiskup <praiskup> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, copr-team, dustymabe, hdegoede, jarodwilson, jeremy, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, orange, ptalbert, steved |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-core-5.15.18-200.fc35.x86_64 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-03 08:19:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pavel Raiskup
2022-01-27 13:38:39 UTC
If we prepare the image the very same way, but keep the original Kernel, everything works fine (boots in 100% of the cases). Hello. I tried ami-02ace19e7faa2ba49 on i3.large (Fedora-Cloud-Base-35-1.2.x86_64-hvm-ap-southeast-2-gp2-0) Run "sudo dnf update" (this upgrade kernel to 5.15.18-200) and "sudo shutdown -r now", the VM can boot. Would you like to try "sudo dracut --regenerate-all --force" before creating snapshot? I learned that (from bug #2040183) if the kernel was updated before dracut update, the old initramfs will not be regenerated and result in boot failure. You may also try the following steps to see if "xen-blkfront" kernel module is in the initramfs. If it's not in initramfs, i3.large won't boot. sudo dnf -y install binwalk # find out the start of gzip compressed data, like # 31744 0x7C00 gzip compressed data, maximum compression... sudo binwalk /boot/initramfs-5.15.18-200.fc35.x86_64.img mkdir temp cd temp # specify bs according to binwalk output sudo dd if=/boot/initramfs-5.15.18-200.fc35.x86_64.img bs=31744 skip=1 | gzip -d | cpio -idmv find -name xen-blkfront.ko.xz Thank you. (In reply to Orange Kao from comment #2) > I tried ami-02ace19e7faa2ba49 on i3.large > (Fedora-Cloud-Base-35-1.2.x86_64-hvm-ap-southeast-2-gp2-0) > Run "sudo dnf update" (this upgrade kernel to 5.15.18-200) > and "sudo shutdown -r now", the VM can boot. I now tested with 'kernel-core-5.15.18-200.fc35.x86_64' and it seems to work indeed, 4/4 machines started on the first attempt. > Would you like to try "sudo dracut --regenerate-all --force" > before creating snapshot? I learned that (from bug #2040183) if the kernel > was updated before dracut update, the old initramfs will not be regenerated > and result in boot failure. It seems to work now, though. > You may also try the following steps to see if "xen-blkfront" kernel > module is in the initramfs. If it's not in initramfs, i3.large won't > boot. I doubt _this_ is the reason. If it was the boot failure would be 100% reproducible, right? About 20% of machines booted correctly. Take a look at https://bugzilla.redhat.com/show_bug.cgi?id=2040360 and https://github.com/coreos/fedora-coreos-tracker/issues/1066 - I suspect this is your issue. |