Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1245219

Summary: Device type RAID can't be set in custom partitioning
Product: [Fedora] Fedora Reporter: Petr Schindler <pschindl>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, awilliam, bcl, dlehman, robatino, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: blivet-1.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-27 16:56:27 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: 1170819    
Attachments:
Description Flags
program.log
none
storage.log
none
anaconda.log none

Description Petr Schindler 2015-07-21 13:52:05 UTC
Description of problem:
I tried to create a RAID device in custom partitioning. I chose two disks for installation. Then I created root partition and then I chose RAID from Device Type. I left RAID1 as a level (it happens also with RAID0). But it is reset to standard partition right after I click on update settings.

Warning message says: Device reconfiguration failed.
Window with details says: 'NoneType' object has no attribute 'get_size'

Version-Release number of selected component (if applicable):
F23 Live build from 2015-07-17 - https://kojipkgs.fedoraproject.org/work/tasks/3685/10353685/Fedora-Live-Workstation-x86_64-rawhide-20150714.iso
anaconda-23.16-1.fc23.x86_64
python3-blivet-1.9-1.fc23.noarch

How reproducible:
always

Steps to Reproduce:
1. Boot iso, run anaconda and go to partitioning
2. Choose two disks for installation and custom partitioning
3. Create root partition
4. Choose root partition and from list of Device Type choose RAID
5. Click on update settings button

Actual results:
Settings isn't changed

Expected results:
RAID device is properly set

Additional info:
I propose this bug as beta blocker as it violates beta criterion: 
"When using the custom partitioning flow, the installer must be able to: 
* Create mount points backed by ext4 partitions, LVM volumes or btrfs volumes, or software RAID arrays at RAID levels 0, 1 and 5 containing ext4 partitions"

Comment 1 Petr Schindler 2015-07-21 13:53:42 UTC
Created attachment 1054406 [details]
program.log

Comment 2 Petr Schindler 2015-07-21 13:54:07 UTC
Created attachment 1054407 [details]
storage.log

Comment 3 Petr Schindler 2015-07-21 13:54:33 UTC
Created attachment 1054408 [details]
anaconda.log

Comment 4 Adam Williamson 2015-07-21 23:04:43 UTC
openQA RAID test is failing, with I think this same problem, so count that as a semi-confirm :)

Comment 5 David Lehman 2015-07-22 14:58:53 UTC
I think commit 6347b3 on blivet master will fix this.

Comment 6 Adam Williamson 2015-07-23 00:59:14 UTC
This precise bug does appear to be fixed with current git master blivet and anaconda. Note though that it's quite easy to hit https://bugzilla.redhat.com/show_bug.cgi?id=1245446 / https://bugzilla.redhat.com/show_bug.cgi?id=1245854 while trying to set up a software RAID config.

Comment 7 Adam Williamson 2015-07-27 16:56:27 UTC
This is fixed in Alpha TC2, multiple openQA and manual tests have confirmed it.