Current Series Release Notes¶
13.0.0-19¶
New Features¶
Adds support for LVM based images in MD (software RAID) scenario.
Upgrade Notes¶
UEFI local-boot partition images must include valid EFI boot assets in the root filesystem when GRUB installation is disabled. Images without a usable EFI loader can no longer rely on IPA to install one during deploy.
Ironic Python Agent no longer invokes
sgdisk, so thegptfdiskpackage is not required in the deployment ramdisk any more. See bug 2170355.
Bug Fixes¶
A
bootcdeployment no longer shares the agent’s container store with the image being deployed. Previously the store was bind mounted into the container andbootcresolved the image through containers-storage, which meant the store had to be openable from inside that image. On a ramdisk the store sits on overlayfs, and containers-storage refuses the overlay driver over overlayfs unless it finds a mount program, so the deployed image had to shipfuse-overlayfsor the install failed with'overlay' is not supported over overlayfs. The image is now exported to an OCI layout and passed tobootcwith--source-imgref, so/var/lib/containersis no longer shared at all. Note that the export is a second copy of the image for the duration of the install, and it is removed oncebootcfinishes.
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.
When GRUB installation is disabled, the agent now preserves pre-installed EFI assets from a partition image onto the target EFI system partition. This supports UEFI local boot without running GRUB tools from the deployed image. Symlinked EFI entries are skipped so preservation cannot follow links out of the mounted image.
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.
Fixes deployments on software RAID failing in the
deploy.prepare_instance_bootstep withThis disk is currently in usewhen creating the EFI system partitions (UEFI) or BIOS boot partitions (BIOS on GPT) on the RAID member disks.sfdiskis now called with--no-reread, since the member disks are always in use by the RAID device at this point, and the new EFI system partition is made visible to the kernel by runningpartprobeon the member disk.