-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel in RHEL 10 drops support of XFS v4 format file systems and such file systems will not be possible to mount there anymore. Also, RHEL 10 systems will be challenged by Y2K38 problem. XFS file system resolves that by `bigtime` feature, however, this feature could be manually disabled when creating the file system and mainly it's available since RHEL 9. So all XFS file systems created earlier will not have this enabled - unless users do it on RHEL 9 manually. Note that this will be problem for all systems with XFS which upgraded from previous RHEL versions. For this reason, inhibit the upgrade if any XFS file systems specified in `/etc/fstab` have old XFS v4 format (detect `crc=0`). Instead of inhibiting upgrade when the `bigtime` feature is disabled (`bigtime=0` or missing) a low severity report is created as there is still time until this issue will be present and other solutions are being worked on. Introduces new model `XFSInfoFacts` which collects parsed information about all XFS file systems specified in /etc/fstab. Note that as we use only a few values from `xfs_info` utility, models specify now just this limited amount of values as well to limit the burden of maintanance and risk of issues. However expected design of the model is already prepared and other expected fields are commented out in the code to make the further extension in future more simple for others. All values of XFS attributes are now represented as strings. JIRA: RHELMISC-8212, RHEL-60034, RHEL-52309
- Loading branch information
Showing
7 changed files
with
1,020 additions
and
167 deletions.
There are no files selected for viewing
24 changes: 17 additions & 7 deletions
24
repos/system_upgrade/common/actors/xfsinfoscanner/actor.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.