Bug 2232618

Summary: ftype=0 xfs filesystems have unattainable storage requirements for LEAPP
Product: Red Hat Enterprise Linux 8 Reporter: Chris Roadfeldt <croadfel>
Component: leapp-repositoryAssignee: Leapp Notifications Bot <leapp-notifications-bot>
Status: CLOSED ERRATA QA Contact: upgrades-and-conversions
Severity: medium Docs Contact: Miriam Portman <mportman>
Priority: unspecified    
Version: ---CC: mmacura, pholica, pstodulk, upgrades-and-conversions
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: leapp-repository-0.19.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 15:35:03 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 Chris Roadfeldt 2023-08-17 14:42:46 UTC
Description of problem:
On systems that contain xfs filesystems with ftype=0 set, the storage requirements for /var/lib/leapp can be unattainable or extremely high without significant mitigations put into place. This prevents most automated upgrades for RHEL 8 systems with this state. For mass migrations off of RHEL 7 and migrating to RHEL 9 before the EOL in June 24. For those systems they would be forced to stay at RHEL 8, thus requiring a second round of upgrades at a later date. 


Version-Release number of selected component (if applicable):
leapp-0.15.1-1


How reproducible:
Create 6-12 xfs ftype=0 filesystems, add them to /etc/fstab, create the mount points, mount them and then attempt to use leapp to upgrade the system.


Steps to Reproduce:
1. Create 6-12 xfs ftype=0 filesystems
2. Create mountpoints for above filesystems
3. Add entries to /etc/fstab for above mounts
4. Mount the above filesystems
5. Attempt to upgrade the RHEL 8 system to RHEL 9 via LEAPP

Actual results:
Most likely will get an inhibitor due to space requirements in /var/lib/leapp or /var/* depending on how filesystems are laid out.


Expected results:
Upgrade completes without issue.


Additional info:
Identical bug for RHEL 7: https://bugzilla.redhat.com/show_bug.cgi?id=1871076

Comment 7 errata-xmlrpc 2023-11-14 15:35:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (leapp-repository bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:7013