Current Series Release Notes¶
13.0.0-10¶
Upgrade Notes¶
Ironic Python Agent no longer invokes
sgdisk, so thegptfdiskpackage is not required in the deployment ramdisk any more. See bug 2170355.
Bug Fixes¶
Fixes detection of SELinux when preparing a
bootcdeployment. The agent determined the state by runninggetenforce, which reports what the agent’s own userspace believes. When the agent itself runs inside a container, libselinux reports SELinux as disabled even though selinuxfs is mounted and the kernel is enforcing, so the agent omitted--security-opt label=type:unconfined_tfrom thepodmaninvocation and passed--disable-selinuxtobootc. The install then failed while writing the SELinux labels carried by the image withfsetxattr(security.selinux): Invalid argument. The kernel state is now read from/sys/fs/selinux/enforce, which is what governs the nested container, andgetenforceis only consulted as a fallback when selinuxfs is unreachable.
Fixes
bootcbased container deployments failing to authenticate to a remote registry when the supplied pull secret was not already the base64 encoded dockerconfig.json“auth” value. The value written to podman’s authfileauthfield is now base64 encoded when required, so a rawusername:passwordpair, or a token containing characters outside of the base64 alphabet, no longer causes podman to fail withillegal base64 dataor to silently fall back to an anonymous pull. Credentials already supplied in the documented base64 format continue to be used unchanged. See bug 2168735.
Stop calling
sgdisk -Zwhen destroying disk metadata. The GPT and MBR structures are already removed bywipefs --alland by zeroing the primary and backup GPT areas, which keeps working on disks with corrupt partition tables. See bug 2170355.
Replace
sgdiskwithsfdiskfor GPT verification and backup-header relocation. IPA now usessfdisk --verifyandsfdisk --relocate gpt-bak-std, improving compatibility with systems that do not providegptfdisk. See bug 2170355.
Replace
sgdiskpartition creation withpartedandsfdisk. GPT config-drive partitions now usepartedwith PARTUUID assignment throughsfdisk, while RAID ESP and BIOS-boot partitions usesfdisk --append. RAID partition sizes, alignment, GPT types, and labels are preserved. GPT config-drive creation now usesparted’s FAT32 filesystem type and GPT naming semantics, which may result in a different GPT type and partition name than the previoussgdiskpath. This improves compatibility with systems that do not providegptfdisk. See bug 2170355.
Replace
sgdiskwithsfdiskfor GPT partition UUID lookup and free space detection. This improves compatibility with distributions that no longer provide thegptfdiskpackage. See bug 2170355.