Closed japokorn closed 8 months ago
Will the role still work on systems that do not have the right version of blivet? That is, for managing older rhel7, rhel8, and rhel9 systems, will the role still need the "old" fstab handling?
Will the role still work on systems that do not have the right version of blivet? That is, for managing older rhel7, rhel8, and rhel9 systems, will the role still need the "old" fstab handling?
No. Both blivet and storage role have to be updated for them to work.
Attention: 8 lines
in your changes are missing coverage. Please review.
Comparison is base (
533145b
) 16.54% compared to head (67944b2
) 13.65%.
Files | Patch % | Lines |
---|---|---|
library/blivet.py | 0.00% | 8 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Will the role still work on systems that do not have the right version of blivet? That is, for managing older rhel7, rhel8, and rhel9 systems, will the role still need the "old" fstab handling?
No. Both blivet and storage role have to be updated for them to work.
We can't break the storage role for rhel7 and rhel8 users. If we want to use the new blivet fstab feature, we will have to change the role to support it, and leave the old fstab handling in the blivet module.
Will the role still work on systems that do not have the right version of blivet? That is, for managing older rhel7, rhel8, and rhel9 systems, will the role still need the "old" fstab handling?
No. Both blivet and storage role have to be updated for them to work.
We can't break the storage role for rhel7 and rhel8 users. If we want to use the new blivet fstab feature, we will have to change the role to support it, and leave the old fstab handling in the blivet module.
The latest changes in blivet fstab handling should allow to keep the storage role as is.
In these circumstances, adapting SR to handle new blivet fstab and also making it working with the older version would mean creating redundancies in the role. The better way is just to let the role always handle the fstab the old way.
I'll give this a bit of grace period to make sure everything actually works. If it does I am going to close this PR.
Blivet can now handle fstab, so handling it in the role became redundant. This adapts the role for the blivet change and removes no longer needed code.
Issue Tracker Tickets: #20182