Bug 1226305
| Summary: | Can not install "Fedora 22" into existing LVM-on-RAID partitions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oleg Samarin <osamarin68> | ||||||||||
| Component: | python-blivet | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 22 | CC: | amulhern, anaconda-maint-list, bcl, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2016-07-19 14:22:33 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: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Oleg Samarin
2015-05-29 12:01:40 UTC
Created attachment 1032037 [details]
program.log from anaconda
Created attachment 1032038 [details]
storage.log from anaconda
Created attachment 1032039 [details]
journalctl output
Seems t is an issue of blivet: Blivet.reset() change the udev device tree so /dev/sdb2 appear. Usually it is deleted by mdadm when it assembles arrays. But seems Blivet.reset() forces udev to scan /sdb after mdadm so the extra partitions left and they are the reasons of wrong lvm-over-md behavior When I run python from blivet import Blivet storage=Blivet() storage.reset() I receive the same result: /dev/sda2 and /dev/sdb2 appear python-blivet uses python-parted for manipulating with partitions.
Seems python-parted is not mdadm-safe: the following code
from parted import Device
partedDevice=Device("/dev/sda")
forces appearance of /dev/sda1 and /dev/sda2 that is not good for md raid member sisks. So blived should not call parted.Device() for raid members.
Created attachment 1032535 [details]
A patch that prevents destroying raid members in blivet
This patch solves the problem for me.After updating python-blivet I was able to install Fedora 22 into existing lvm partitions on top of bios raid.
*** Bug 1178181 has been marked as a duplicate of this bug. *** In Fedora 23 this will hopefully become a non-issue as we do not instantiate parted.Device for every block device -- only those that contain valid partition tables and are not members of a fwraid array, multipath, &c. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |