Bug 2266025

Summary: FFU 16to17. System upgrade process is interrupted after undercloud reboot if OS was created from default RHEL 8.4 image
Product: Red Hat OpenStack Reporter: Alex Stupnikov <astupnik>
Component: openstack-tripleo-heat-templatesAssignee: kgilliga
Status: CLOSED CURRENTRELEASE QA Contact: Archana Singh <arcsingh>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: jbadiapa, jpretori, kgilliga, mariel, mburns
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: Some rhel-8.4 images does not have the parameter "GRUB_DEFAULT=saved" in the /etc/default/grub file. Consequence: When the leapp OS upgrade reboots, the "new" reboot is still at rhel-8.4 instead of rhel-9.2 Workaround (if any): Adding the parameter "GRUB_DEFAULT=saved" in /etc/default/grub before doing the OS upgrade Result: The leapp OS upgrade reboot will boot on the rhel-9.2 system.
Story Points: ---
Clone Of:
: 2311465 (view as bug list) Environment:
Last Closed: 2024-04-25 17:00:04 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:
Bug Depends On:    
Bug Blocks: 2311465    

Description Alex Stupnikov 2024-02-26 11:11:11 UTC
Description of problem:
Because of some bug or build system problems RHEL 8.4 images were built without "GRUB_DEFAULT=saved" definition in /etc/default/grub. As a result, Leapp fails to update grub menu properly and after reboot director boots RHEL 8 again instead of RHEL 9.

More details are provided in https://access.redhat.com/solutions/7057531. This problem affects all RHOSP 16.2 director nodes bootstrapped from standard RHEL 8.4 images. I want to ask you to consider adding this information to list of known issues affecting FFU from RHOSP 16.2 to RHEL 17.1.

guestfish --ro -a rhel-8.4-x86_64-kvm.qcow2
><fs> run
><fs> mount /dev/sda3 /
><fs> cat /etc/default/grub
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto"
GRUB_TIMEOUT=0
GRUB_ENABLE_BLSCFG=true