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 1816050 - RHVH 4.4 installation fails when --reserved-space is used
Summary: RHVH 4.4 installation fails when --reserved-space is used
Keywords:
Status: CLOSED DUPLICATE of bug 1737490
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python-blivet
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 8.2
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-23 09:01 UTC by Qin Yuan
Modified: 2021-09-06 15:48 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-15 08:04:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs under /tmp (162.43 KB, application/gzip)
2020-03-23 09:01 UTC, Qin Yuan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-39719 0 None None None 2021-09-06 15:48:55 UTC

Description Qin Yuan 2020-03-23 09:01:58 UTC
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:

Comment 1 Michal Skrivanek 2020-03-24 08:20:15 UTC
doesn't look like anything in RHVH, looks like anaconda bug. can you try that kickstart with regular RHEL?

Comment 2 Jiri Konecny 2020-03-24 09:30:33 UTC
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.

Comment 3 Qin Yuan 2020-03-24 13:02:24 UTC
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

Comment 4 Vojtech Trefny 2020-04-15 08:04:12 UTC

*** This bug has been marked as a duplicate of bug 1737490 ***


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