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 1971516 - autopart --type thinp fails on system with more than ~16TB of disk space
Summary: autopart --type thinp fails on system with more than ~16TB of disk space
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-blivet
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: ---
Assignee: Vojtech Trefny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1942219
TreeView+ depends on / blocked
 
Reported: 2021-06-14 08:57 UTC by Jan Stodola
Modified: 2022-05-17 13:33 UTC (History)
4 users (show)

Fixed In Version: python-blivet-3.4.0-8.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1949953
Environment:
Last Closed: 2022-05-17 13:20:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RTT-3845 0 None None None 2021-10-11 08:43:09 UTC
Red Hat Issue Tracker RTT-3846 0 None None None 2021-10-11 08:43:15 UTC
Red Hat Product Errata RHBA-2022:2494 0 None None None 2022-05-17 13:21:07 UTC

Description Jan Stodola 2021-06-14 08:57:00 UTC
+++ This bug was initially created as a clone of Bug #1949953 +++

Description of problem:
Kickstart installation with 'autopart --type thinp' fails on system with more than ~16TB of disk space.

Version-Release number of selected component (if applicable):
anaconda-33.16.4.15-1.el8
python3-blivet-3.2.2-10.el8

Steps to Reproduce:
Start automated installation with kickstart containing 'autopart --type thinp' on system with large disk space.
(it happened on system with 12x 4TB drives)

Actual results:
Non interactive installation failed: Process reported exit code 5:   WARNING: Chunk size is smaller then suggested minimum size 256.00 KiB. 
  Selected chunk size 64.00 KiB cannot address more then <15.88 TiB of thin pool data space. 

Expected results:
anaconda or python-blivet should automatically select valid chunk size and the installation should not fail

Additional info:
The bug was found on ppc64le system but I'm expecting the issue to affect all architectures.


--- Additional comment from Jiri Konecny on 2021-04-16 10:14:26 CEST ---

Based on the traceback this seems to be an issue in the blivet. Switching component.


.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 48, in wrapped_func
10:57:19,026 WARNING org.fedoraproject.Anaconda.Modules.Storage:    return func(obj, *args, **kwargs)
10:57:19,026 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 327, in process
10:57:19,026 WARNING org.fedoraproject.Anaconda.Modules.Storage:    action.execute(callbacks)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    return m(*args, **kwargs)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/deviceaction.py", line 333, in execute
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    self.device.create()
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    return m(*args, **kwargs)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/devices/storage.py", line 468, in create
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    self._create()
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    return m(*args, **kwargs)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/devices/lvm.py", line 2190, in decorated
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    found, ret = self._try_specific_call(meth.__name__, *args, **kwargs)  # pylint: disable=no-member
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    return m(*args, **kwargs)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/devices/lvm.py", line 2175, in _try_specific_call
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    ret = getattr(cls, name)(self, *args, **kwargs)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib/python3.6/site-packages/blivet/devices/lvm.py", line 1675, in _create
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    profile=profile_name)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib64/python3.6/site-packages/gi/overrides/BlockDev.py", line 1062, in wrapped
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:    raise transform[1](msg)
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:gi.overrides.BlockDev.LVMError: Process reported exit code 5:   WARNING: Chunk size is smaller then suggested minimum size 256.00 KiB.
10:57:19,027 WARNING org.fedoraproject.Anaconda.Modules.Storage:  Selected chunk size 64.00 KiB cannot address more then <15.88 TiB of thin pool data space.

Comment 4 Jan Stodola 2021-11-30 12:50:10 UTC
Reproduced in a VM with 20 TB disk.
Verified with python3-blivet-3.4.0-8.el9, the installation finished successfully with the following partitioning created:

[root@localhost ~]# lsblk 
NAME                    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
vda                     252:0    0   20T  0 disk 
├─vda1                  252:1    0    1M  0 part 
├─vda2                  252:2    0    1G  0 part /boot
└─vda3                  252:3    0   20T  0 part 
  ├─rhel-pool00_tmeta   253:0    0  9.9G  0 lvm  
  │ └─rhel-pool00-tpool 253:2    0 19.9T  0 lvm  
  │   ├─rhel-root       253:3    0   70G  0 lvm  /
  │   ├─rhel-pool00     253:5    0 19.9T  1 lvm  
  │   └─rhel-home       253:6    0 19.8T  0 lvm  /home
  ├─rhel-pool00_tdata   253:1    0 19.9T  0 lvm  
  │ └─rhel-pool00-tpool 253:2    0 19.9T  0 lvm  
  │   ├─rhel-root       253:3    0   70G  0 lvm  /
  │   ├─rhel-pool00     253:5    0 19.9T  1 lvm  
  │   └─rhel-home       253:6    0 19.8T  0 lvm  /home
  └─rhel-swap           253:4    0  3.4G  0 lvm  [SWAP]
[root@localhost ~]# lvs
  LV     VG   Attr       LSize   Pool   Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home   rhel Vwi-aotz--  19.80t pool00        0.01                                   
  pool00 rhel twi-aotz-- <19.87t               0.02   0.56                            
  root   rhel Vwi-aotz--  70.00g pool00        1.48                                   
  swap   rhel -wi-ao----   3.41g                                                      
[root@localhost ~]#

Comment 7 Jan Stodola 2021-12-06 11:48:15 UTC
python3-blivet-3.4.0-9.el9 is present in RHEL-9.0.0-20211205.3, moving to VERIFIED.

Comment 9 errata-xmlrpc 2022-05-17 13:20:54 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 (new packages: python-blivet), 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-2022:2494


Note You need to log in before you can comment on or make changes to this bug.