Bug 2139189

Summary: [RHEL-9] device is too small for new format
Product: Red Hat Enterprise Linux 9 Reporter: Jan Stodola <jstodola>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: blivet-maint-list, pberanek, release-test-team-automation, vtrefny
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-3.6.0-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2139187 Environment:
Last Closed: 2023-05-09 07:36:35 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: 2123711, 2129768    
Attachments:
Description Flags
kickstart none

Description Jan Stodola 2022-11-01 18:33:35 UTC
Also on RHEL-9.2.0-20221101.d.0 with anaconda-34.25.2.1-1.el9, python3-blivet-3.6.0-2.el9.


+++ This bug was initially created as a clone of Bug #2139187 +++

Description of problem:
Kickstart installation fails with the following error:

==========
Failed to save storage configuration
The following problem occurred on line 9 of the kickstart file:

device is too small for new format
==========


The partitioning defined in the kickstart file:

bootloader --location=mbr
zerombr
clearpart --all --initlabel
part swap --recommended
part / --grow
reqpart --add-boot
part raid.01 --size=100
part raid.02 --size=100
raid /raid --level=0 --device=raid-test raid.01 raid.02

The same kickstart works fine on RHEL-8.7.


Version-Release number of selected component (if applicable):
RHEL-8.8.0-20221101.d.1
anaconda-33.16.8.1-1.el8
python3-blivet-3.6.0-2.el8

How reproducible:
Always

Steps to Reproduce:
1. Run a kickstart installation with the partitioning commands above.

Actual results:
Error: device is too small for new format

Expected results:
A successful installation.

Comment 1 Jan Stodola 2022-11-01 18:36:16 UTC
Created attachment 1921562 [details]
kickstart

Comment 4 Vojtech Trefny 2022-11-02 11:54:19 UTC
We've increased the min size for XFS in blivet 3.6[1] to 300 MiB to match the new filesystem size limits implemented in xfsprogs 5.19. RHEL is still on xfsprogs 5.0 so this limit doesn't apply here so I will revert this change.

[1] https://github.com/storaged-project/blivet/pull/1070

Comment 8 Petr Beranek 2022-11-14 11:45:43 UTC
Checked that python-blivet-3.6.0-3.el9 is in nightly compose RHEL-9.2.0-20221110.2
There's no documentation needed for this bug - not checking
No further testing is needed during verification based on comment 3

Moving to VERIFIED

Comment 10 errata-xmlrpc 2023-05-09 07:36:35 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 (python-blivet 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:2230