Bug 862667

Summary: ValueError: raid0 requires at least 2 disks
Product: [Fedora] Fedora Reporter: Jan Sedlák <jsedlak>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bugzilla, g.kaviyarasu, jonathan, mkovarik, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d06d6b71a7e20db43f74c660983e9877fc9367cd312516ed0f6ba283892a4fee
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-15 14:39:19 UTC Type: ---
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 Flags
File: anaconda-tb
none
File: environ
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: program.log
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages none

Description Jan Sedlák 2012-10-03 12:08:35 UTC
Description of problem:
I was choosing the type of the partition in anaconda partitioning GUI and this traceback poped out.

Version-Release number of selected component:
anaconda-18.11-1.fc18.x86_64

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.0-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.11 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/mdraid.py", line 146, in get_member_space
:    % (level, min_members))
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3290, in device_size
:    level=self.raid_level)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1170, in _populate_raid
:    base_size = factory.device_size
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1665, in on_device_type_changed
:    self._populate_raid(new_type, raid_level, size)
:ValueError: raid0 requires at least 2 disks

Comment 1 Jan Sedlák 2012-10-03 12:08:39 UTC
Created attachment 620797 [details]
File: anaconda-tb

Comment 2 Jan Sedlák 2012-10-03 12:08:41 UTC
Created attachment 620798 [details]
File: environ

Comment 3 Jan Sedlák 2012-10-03 12:08:45 UTC
Created attachment 620799 [details]
File: type

Comment 4 Jan Sedlák 2012-10-03 12:08:47 UTC
Created attachment 620800 [details]
File: ifcfg.log

Comment 5 Jan Sedlák 2012-10-03 12:08:49 UTC
Created attachment 620801 [details]
File: storage.log

Comment 6 Jan Sedlák 2012-10-03 12:08:52 UTC
Created attachment 620802 [details]
File: version

Comment 7 Jan Sedlák 2012-10-03 12:08:55 UTC
Created attachment 620803 [details]
File: program.log

Comment 8 Jan Sedlák 2012-10-03 12:08:57 UTC
Created attachment 620804 [details]
File: product

Comment 9 Jan Sedlák 2012-10-03 12:08:59 UTC
Created attachment 620805 [details]
File: anaconda.log

Comment 10 Jan Sedlák 2012-10-03 12:09:01 UTC
Created attachment 620806 [details]
File: hashmarkername

Comment 11 Jan Sedlák 2012-10-03 12:09:05 UTC
Created attachment 620807 [details]
File: cmdline_file

Comment 12 Jan Sedlák 2012-10-03 12:09:10 UTC
Created attachment 620808 [details]
File: release

Comment 13 Jan Sedlák 2012-10-03 12:09:13 UTC
Created attachment 620809 [details]
File: messages

Comment 14 Michal Kovarik 2012-10-03 13:23:00 UTC
On system with one harddrive. On Manul Partitioning screen generate automatic layout, on Root partition select device type RAID.

Package: anaconda-18.11
OS Release: Fedora release 18-Beta-TC1

Comment 15 Chris Murphy 2012-10-10 04:32:07 UTC
Still a problem with 18.14 with two hard drives selected.

Comment 16 David Lehman 2012-11-15 14:39:19 UTC
This should be fixed in the most recent TC. Please reopen if it remains.