Bug 927231
| Summary: | Blivet crashes on MD RAID on unpartitioned disk | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Safranek <jsafrane> | ||||
| Component: | python-blivet | Assignee: | David Lehman <dlehman> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 19 | CC: | anaconda-maint-list, bcl, dlehman | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-06-11 13:05:31 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: |
|
||||||
Please try this again with python-blivet-0.12-1 or later. It works now, blivet cat show and even create MD RAID on raw disk. Thanks! |
Created attachment 716006 [details] blivet log I have MD RAID array directly on a disk, without partition table: $ mdadm -C -l 0 -n 3 /dev/md0 /dev/sda /dev/sdb{5,6} Blivet throws an exception on blivet.reset() File "tools/blivet_init.py", line 27, in <module> b.reset() File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 401, in reset self.devicetree.populate(cleanupOnly=cleanupOnly) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1787, in populate self._populate() File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1885, in _populate self.addUdevDevice(dev) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 990, in addUdevDevice device = self.addUdevMDDevice(info) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 698, in addUdevMDDevice "devicetree as %s" % (name, device.name)) blivet.errors.DeviceTreeError: MD RAID device None already in devicetree as 0 Version-Release number of selected component (if applicable): python-blivet-0.8-1.fc20.noarch