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.
Description of problem:
Anaconda when using --grow option for thinpool volume on RHEL 7.4 does not make calculation correctly, whereas RHEL 7.3 did
Anaconda fails with traceback below when trying to create volume
Version-Release number of selected component (if applicable):
RHEL7.4
anaconda 21.48.22.121-1
How reproducible:
every time using attached kickstart file
Steps to Reproduce:
1. Created small vm with 40Gb space
2. install using attached kickstart
3. anaconda errors out
Actual results:
traceback
anaconda 21.48.22.121-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 488, in create
raise errors.DeviceCreateError(str(e), self.name)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 293, in execute
self.device.create()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 373, in processActions
action.execute(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 380, in doIt
self.devicetree.processActions(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 230, in turnOnFilesystems
storage.doIt(callbacks)
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 204, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
File "/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
threading.Thread.run(self, *args, **kwargs)
DeviceCreateError: ('lvcreate failed for vg_system/lv_system_thinpool: running /sbin/lvm lvcreate --thinpool vg_system/lv_system_thinpool --size 9244m --poolmetadatasize 16 --chunksize 64 --config devices { preferred_names=["^/dev/mapper
/", "^/dev/md/", "^/dev/sd"] } failed', 'vg_system-lv_system_thinpool')
Expected results:
Installation to succeed
Additional info:
This disk layout worked on RHEL7.3
Further testing shows that specifying exact size works but using --grow doesn't
e.g.
logvol none --fstype="None" --thinpool --name=lv_system_thinpool --vgname=vg_system --chunksize=64 --size=9212 --metadatasize=16
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, 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-2018:0982
Description of problem: Anaconda when using --grow option for thinpool volume on RHEL 7.4 does not make calculation correctly, whereas RHEL 7.3 did Anaconda fails with traceback below when trying to create volume Version-Release number of selected component (if applicable): RHEL7.4 anaconda 21.48.22.121-1 How reproducible: every time using attached kickstart file Steps to Reproduce: 1. Created small vm with 40Gb space 2. install using attached kickstart 3. anaconda errors out Actual results: traceback anaconda 21.48.22.121-1 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 488, in create raise errors.DeviceCreateError(str(e), self.name) File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 293, in execute self.device.create() File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 373, in processActions action.execute(callbacks) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 380, in doIt self.devicetree.processActions(callbacks) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 230, in turnOnFilesystems storage.doIt(callbacks) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 204, in doInstall turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg) File "/usr/lib64/python2.7/threading.py", line 765, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) DeviceCreateError: ('lvcreate failed for vg_system/lv_system_thinpool: running /sbin/lvm lvcreate --thinpool vg_system/lv_system_thinpool --size 9244m --poolmetadatasize 16 --chunksize 64 --config devices { preferred_names=["^/dev/mapper /", "^/dev/md/", "^/dev/sd"] } failed', 'vg_system-lv_system_thinpool') Expected results: Installation to succeed Additional info: This disk layout worked on RHEL7.3 Further testing shows that specifying exact size works but using --grow doesn't e.g. logvol none --fstype="None" --thinpool --name=lv_system_thinpool --vgname=vg_system --chunksize=64 --size=9212 --metadatasize=16