Bug 1170153
Summary: | anaconda gets stuck during creating a partition, when there is some existing partition after that one | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> | ||||||||||||||||||||||||||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||
Version: | 21 | CC: | anaconda-maint-list, ctubbsii, g.kaviyarasu, jonathan, kevin, mattdm, mruckman, robatino, satellitgo, sgallagh, vanmeeuwen+fedora | ||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||
Whiteboard: | AcceptedBlocker | ||||||||||||||||||||||||||||||
Fixed In Version: | anaconda-21.48.21-1.fc21 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||
Last Closed: | 2014-12-05 03:26:48 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: | 1043129 | ||||||||||||||||||||||||||||||
Attachments: |
|
Description
Kamil Páral
2014-12-03 12:34:12 UTC
Created attachment 964114 [details]
mac-screenshot
Created attachment 964115 [details]
mac-anaconda.log
Created attachment 964116 [details]
mac-program.log
Created attachment 964117 [details]
mac-storage.log
Created attachment 964118 [details]
mac-journal
Created attachment 964119 [details]
mac-lsblk
Created attachment 964120 [details]
mac-pstack.out
Created attachment 964121 [details]
lenovo-anaconda.log
Created attachment 964122 [details]
lenovo-program.log
Created attachment 964123 [details]
lenovo-storage.log
Created attachment 964124 [details]
lenovo-journal
Created attachment 964125 [details]
lenovo-lsblk.out
Created attachment 964126 [details]
lenovo-pstack.out
On the Mac with stuck anaconda, I tried to list all partitions with parted and it worked without problems. I tried the Mac again, and it got stuck again. Same symptoms. Proposing as Final blocker. OK, folks, here's the minimum reproducer. You can use bare metal or VM, UEFI or BIOS, gpt or msdos, doesn't matter. 1. Clean the whole disk # parted /dev/vda # mklabel msdos 2. Create a partition *at then end* of the disk. Let's say the whole disk has 10GB, then something like this: # mkpart p ext4 9G 10G 3. Review the layout, e.g.: (parted) p Model: Virtio Block Device (virtblk) Disk /dev/vda: 10.7GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 9000MB 10.0GB 1000MB primary ext4 lba 4. Run anaconda, and use all default options (guided partitioning, no reclaim dialog, just install into the free space). 5. Anaconda freezes during the first step - creating its first partition. It seems this bug occurs every time (and only if) there is some partition *after* the partitions being created. This is also broken in RC1 (anaconda-21.48.18-1.fc21.x86_64), but everything works in TC4 (anaconda-21.48.16-1.fc21.x86_64). According to Vratislav, this is caused by the fix for bug 1166598 - the side effect is that anaconda is trying to change partition numbers even for existing partitions, which doesn't work. Vratislav, what do you think we should do here? (In reply to Kamil Páral from comment #19) > According to Vratislav, this is caused by the fix for bug 1166598 - the side > effect is that anaconda is trying to change partition numbers even for > existing partitions, which doesn't work. Correction, I can't hit this with the single disk use case in F20, but it can be hit using multiple disks use case in F20. Please ignore comment 21, wrong bug. Discussed in 2014-12-03 blocker review meeting. Accepted as a blocker: This bug is a clear violation of the Windows dual boot criterion and can lead to data loss. anaconda-21.48.21-1.fc21, python-blivet-0.61.13-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/FEDORA-2014-15910/anaconda-21.48.21-1.fc21,python-blivet-0.61.13-1.fc21 *** Bug 1169541 has been marked as a duplicate of this bug. *** This is fixed in RC5. anaconda-21.48.21-1.fc21, python-blivet-0.61.13-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |