Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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