Bug 1836269
| Summary: | Traceback when installing a system with LUKS and a kickstart | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> | ||||||||
| Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 8.2 | CC: | jkubin, jstodola, pzatko, vtrefny | ||||||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||||||
| Target Release: | 8.0 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | python-blivet-3.2.2-1.el8 | Doc Type: | If docs needed, set a value | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2020-11-04 03:22:25 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: | 1515824 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 1688939 [details]
Anaconda logs
Created attachment 1688940 [details]
Kickstart ported from RHEL7 (basically only repos changed)
Switching to blivet based on the traceback. upstream PR: https://github.com/storaged-project/blivet/pull/848 Created attachment 1714389 [details] Update image based on RHEL 8.2 DVD Boot the system with this as a workaround: inst.updates=http://[...]/rhel-8.2-bz1836269.img *** Bug 1888961 has been marked as a duplicate of this bug. *** 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-2020:4728 |
Description of problem: Trying to install a system using a kickstart used for RHEL7 systems encrypting the root volume group into a luks partition, I get the following backtrace: -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< -------- anaconda 29.19.2.17 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/lib/python3.6/site-packages/blivet/devices/storage.py", line 742, in _set_format self.size = fmt.min_size File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/devices/storage.py", line 785, in <lambda> lambda d, f: d._set_format(f), File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/devices/storage.py", line 145, in __init__ self.format = fmt File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/devices/dm.py", line 84, in __init__ parents=parents, sysfs_path=sysfs_path) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/devices/dm.py", line 253, in __init__ exists=exists, target="crypt") File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/devices/luks.py", line 64, in __init__ uuid=None, exists=exists) 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 1719, in execute parents=request) File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 1421, in execute p.execute(storage, ksdata, instClass) File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2857, in doKickstartStorage ksdata.partition.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 -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< -------- The kickstart was working fine on RHEL7, I don't understand what is going on here. Kickstart and logs attached. Version-Release number of selected component (if applicable): anaconda-29.19.2.17 (RHEL 8.2) How reproducible: Always