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.
Created attachment 1672590[details]
logs under /tmp
Description of problem:
Using --reserved-space to specify an amount of space to leave unused in a volume group will cause rhvh 4.4 installation to fail. See errors:
anaconda 29.19.2.16 exception report
Traceback (most recent call first):
File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2277, in execute
request.reserved_space = self.reserved_space
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2205, in execute
v.execute(storage, ksdata, instClass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2859, in doKickstartStorage
ksdata.volgroup.execute(storage, ksdata, instClass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 451, in execute
doKickstartStorage(self.storage, self.data, self.instclass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 74, in setup
spoke.execute()
File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/__init__.py", line 208, in setup
should_schedule = obj.setup(self.ENVIRONMENT)
File "/sbin/anaconda", line 815, in <module>
anaconda._intf.setup(ksdata)
AttributeError: can't set attribute
Partitioning in ks file:
zerombr
clearpart --all
bootloader --location=mbr
reqpart --add-boot
part pv.01 --size=1 --grow
volgroup rhvh pv.01 --reserved-space=20480
logvol swap --fstype=swap --name=swap --vgname=rhvh --recommended
logvol none --name=pool --vgname=rhvh --thinpool --size=1 --grow
logvol / --fstype=ext4 --name=root --vgname=rhvh --thin --poolname=pool --size=6000 --grow
logvol /var --fstype=ext4 --name=var --vgname=rhvh --thin --poolname=pool --size=20000
Version-Release number of selected component (if applicable):
RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200318.0-RHVH-x86_64-dvd1.iso
How reproducible:
100%
Steps to Reproduce:
1. Prepare a ks file containing the above partitioning cmds
2. Install RHVH 4.4 using the ks file
Actual results:
1. Installation failed with the above error
Expected results:
1. Installation should succeed.
2. The free space of vg is the desired value.
Additional info:
This error is raised from our storage library. Not sure if this is caused by a bad configuration from the Anaconda side but we should probably get a reasonable exception so or so.
Test RHEL-8.2.0-20200310.0-BaseOS-x86_64-boot.iso, similar error:
anaconda 29.19.2.16 exception report
Traceback (most recent call first):
File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2277, in execute
request.reserved_space = self.reserved_space
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2205, in execute
v.execute(storage, ksdata, instClass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2859, in doKickstartStorage
ksdata.volgroup.execute(storage, ksdata, instClass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 490, in _doExecute
doKickstartStorage(self.storage, self.data, self.instclass)
File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 516, in _doExecute
raise e
File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run
threading.Thread.run(self)
AttributeError: can't set attribute
Created attachment 1672590 [details] logs under /tmp Description of problem: Using --reserved-space to specify an amount of space to leave unused in a volume group will cause rhvh 4.4 installation to fail. See errors: anaconda 29.19.2.16 exception report Traceback (most recent call first): File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2277, in execute request.reserved_space = self.reserved_space File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2205, in execute v.execute(storage, ksdata, instClass) File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2859, in doKickstartStorage ksdata.volgroup.execute(storage, ksdata, instClass) File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 451, in execute doKickstartStorage(self.storage, self.data, self.instclass) File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 74, in setup spoke.execute() File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/__init__.py", line 208, in setup should_schedule = obj.setup(self.ENVIRONMENT) File "/sbin/anaconda", line 815, in <module> anaconda._intf.setup(ksdata) AttributeError: can't set attribute Partitioning in ks file: zerombr clearpart --all bootloader --location=mbr reqpart --add-boot part pv.01 --size=1 --grow volgroup rhvh pv.01 --reserved-space=20480 logvol swap --fstype=swap --name=swap --vgname=rhvh --recommended logvol none --name=pool --vgname=rhvh --thinpool --size=1 --grow logvol / --fstype=ext4 --name=root --vgname=rhvh --thin --poolname=pool --size=6000 --grow logvol /var --fstype=ext4 --name=var --vgname=rhvh --thin --poolname=pool --size=20000 Version-Release number of selected component (if applicable): RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200318.0-RHVH-x86_64-dvd1.iso How reproducible: 100% Steps to Reproduce: 1. Prepare a ks file containing the above partitioning cmds 2. Install RHVH 4.4 using the ks file Actual results: 1. Installation failed with the above error Expected results: 1. Installation should succeed. 2. The free space of vg is the desired value. Additional info: