Open unusualfor opened 11 months ago
Previous take on this issue: https://github.com/kairos-io/AuroraBoot/pull/36
for a quick woraround you can try to pass the option:
--set netboot.cmdline="rd.neednet=1 ip=dhcp rd.cos.disable netboot nodepair.enable console=tty0 selinux=0"
to auroraboot to see if it fixes it.
@unusualfor were you able to workaround this by setting the netboot.cmdline
that I suggested?
Yes thanks! The workaround worked fine
Kairos version: NAME="Fedora Linux" VERSION="38 (Container Image)" ID=fedora VERSION_ID=38 VERSION_CODENAME="" PLATFORM_ID="platform:f38" PRETTY_NAME="Fedora Linux 38 (Container Image)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:38" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=38 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=38 SUPPORT_END=2024-05-14 VARIANT="Container Image" VARIANT_ID=container KAIROS_NAME="kairos-kairos-fedora" KAIROS_VERSION="v2.4.0-k3sv1.27.3+k3s1" KAIROS_ID="kairos" KAIROS_ID_LIKE="kairos-kairos-fedora" KAIROS_VERSION_ID="v2.4.0-k3sv1.27.3+k3s1" KAIROS_PRETTY_NAME="kairos-kairos-fedora v2.4.0-k3sv1.27.3+k3s1" KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues" KAIROS_HOME_URL="https://github.com/kairos-io/kairos" KAIROS_IMAGE_REPO="quay.io/kairos/kairos-fedora" KAIROS_IMAGE_LABEL="" KAIROS_GITHUB_REPO="kairos-io/provider-kairos" KAIROS_VARIANT="kairos" KAIROS_FLAVOR="fedora"
CPU architecture, OS, and Version: Linux immutable-01c2 6.4.15-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 7 00:25:01 UTC 2023 x86_64 GNU/Linux
Describe the bug During netboot of the official Fedora 38 (Kairos 2.4.0) with auroraboot and a custom cloud-config, the final host gets stuck in booting (keywords: "Unable to fix SELinux security context of /run", "Failed to mount cgroup at /sys/fs/cgroup/systemd", "Failed to mount API filesystems").
To Reproduce
cloud-config.yaml (already with the workaround for https://github.com/kairos-io/kairos/issues/1841)
Expected behavior The final server boots correctly as per auroraboot documentation.
Logs
Additional context Host 1: VM with auroraboot, directly connected on the same L2 segment to the final server Final server: either bare metal server (in my case I tested Dell R740) or VM (in my case KVM with no natting involved)