| Summary: | anaconda can't clear partitions if existing mdraid is in process of resync | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Eugene Kanter <ekanter> |
| Component: | anaconda | Assignee: | Brian Lane <bcl> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | jstodola, mkovarik, nate.dailey, spanjikk |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-blivet-0.61.15.48-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 23:24:13 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1187263 | ||
|
Description
Eugene Kanter
2016-04-10 20:42:02 UTC
This is what I got when reproducing the issue:
anaconda 21.48.22.56-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 405, in destroy
raise FormatDestroyError(msg)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 651, in execute
self.format.destroy()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 377, in processActions
action.execute(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 374, in doIt
self.devicetree.processActions(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 224, in turnOnFilesystems
storage.doIt(callbacks)
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 186, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
File "/usr/lib64/python2.7/threading.py", line 764, 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)
FormatDestroyError: error wiping old signatures from /dev/mapper/vg_system-lv_root: 1
Partitioning layout in ks:
bootloader --location=mbr
zerombr
clearpart --all --initlabel
part /boot --size 500 --fstype=xfs
part raid.12 --size 4000 --grow --asprimary --ondrive=vda
part raid.22 --size 4000 --grow --asprimary --ondrive=vdb
raid pv.1 --fstype xfs --device pv.1 --level=RAID1 raid.12 raid.22
volgroup vg_system --pesize=131072 pv.1
logvol / --fstype=xfs --name=lv_root --vgname=vg_system --grow --size=2000
Reproduced in a virtual machine (with write speed limit for disks set to 6144 kB)
It appears that a resyncing RAID introduces enough delay in the appearance of the LV on top of it that we need to wait for the LV's device node to appear: https://github.com/rhinstaller/blivet/pull/431 *** Bug 1316208 has been marked as a duplicate of this bug. *** *** Bug 1368110 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, 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://rhn.redhat.com/errata/RHEA-2016-2158.html |