Bug 892213 - ValueError: A RAID4 set requires at least 3 members
Summary: ValueError: A RAID4 set requires at least 3 members
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4bcde2dfe4cb64392a89801bf66...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-05 22:03 UTC by Reartes Guillermo
Modified: 2014-02-05 14:26 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 14:26:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda.log (104.41 KB, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: environ (794 bytes, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: ifcfg.log (487 bytes, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: packaging.log (320.59 KB, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: program.log (58.53 KB, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: syslog (75.42 KB, text/plain)
2013-01-05 22:03 UTC, Reartes Guillermo
no flags Details
File: anaconda-tb (1.82 MB, application/octet-stream)
2013-01-05 22:04 UTC, Reartes Guillermo
no flags Details
File: storage.log (1.11 MB, application/octet-stream)
2013-01-05 22:05 UTC, Reartes Guillermo
no flags Details
screenshot of manual parititioning (90.20 KB, image/png)
2013-01-05 22:07 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2013-01-05 22:03:18 UTC
Description of problem:
i selected 'error detection (parity)'  since it was also marked as raid0 to see what does it do. 
i previously restricted the 6gb raid device to the last two disks, so there are just two disks, i wondered why it says +1.5gb for a raid0.
now looking at the error, maybe the caption is wrong or it should not have beeen selectable.
The following was filed automatically by anaconda:
anaconda 18.37.8 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2675, in __init__
    {"raidLevel": self.level, "minMembers": mdraid.get_raid_min_members(self.level)}
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1068, in newMDArray
    return MDRaidArrayDevice(name, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3336, in new_device
    return getattr(self.storage, self.new_device_attr)(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3525, in new_device
    return super(MDFactory, self).new_device(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2295, in newDevice
    **kwa)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 885, in _replace_device
    self.__storage.newDevice(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1106, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2481, in on_apply_clicked
    self._save_right_side(self._current_selector)
ValueError: A RAID4 set requires at least 3 members

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018-TC4\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.8
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18-TC4

Comment 1 Reartes Guillermo 2013-01-05 22:03:26 UTC
Created attachment 673123 [details]
File: anaconda.log

Comment 2 Reartes Guillermo 2013-01-05 22:03:28 UTC
Created attachment 673124 [details]
File: environ

Comment 3 Reartes Guillermo 2013-01-05 22:03:31 UTC
Created attachment 673125 [details]
File: ifcfg.log

Comment 4 Reartes Guillermo 2013-01-05 22:03:42 UTC
Created attachment 673126 [details]
File: packaging.log

Comment 5 Reartes Guillermo 2013-01-05 22:03:46 UTC
Created attachment 673127 [details]
File: program.log

Comment 6 Reartes Guillermo 2013-01-05 22:03:51 UTC
Created attachment 673128 [details]
File: syslog

Comment 7 Reartes Guillermo 2013-01-05 22:04:45 UTC
Created attachment 673129 [details]
File: anaconda-tb

Comment 8 Reartes Guillermo 2013-01-05 22:05:16 UTC
Created attachment 673130 [details]
File: storage.log

Comment 9 Reartes Guillermo 2013-01-05 22:07:12 UTC
Created attachment 673131 [details]
screenshot of manual parititioning

Comment 10 Reartes Guillermo 2013-01-06 01:01:24 UTC
in manual partitioning anaconda sould reject a raid which involves a single disk. (maybe in the future if someday anaconda does support installing to a degraded raid1 for post-install resync/attach)

it crashed uppon 'apply changes', an error (yellow or red) would have been enough.


Package: anaconda-18.37.8
OS Release: Fedora release 18-TC4

Comment 11 Reartes Guillermo 2013-01-06 01:05:25 UTC
just in case ABRT is wrong, i am attaching the error.

anaconda 18.37.8 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2675, in __init__
    {"raidLevel": self.level, "minMembers": mdraid.get_raid_min_members(self.level)}
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1068, in newMDArray
    return MDRaidArrayDevice(name, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3336, in new_device
    return getattr(self.storage, self.new_device_attr)(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3525, in new_device
    return super(MDFactory, self).new_device(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2295, in newDevice
    **kwa)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 885, in _replace_device
    self.__storage.newDevice(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1106, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2481, in on_apply_clicked
    self._save_right_side(self._current_selector)
ValueError: A RAID0 set requires at least 2 members

Comment 12 Chris Lumens 2013-01-23 15:24:00 UTC
Once we are producing a rawhide-based image, can you please test one containing anaconda-19.2 or later and let me know if you are still seeing this problem?  Thanks.

Comment 13 Reartes Guillermo 2013-01-25 16:43:18 UTC
Sure, let me known when rawhide-based images are available for testing.

Thanks.

Comment 14 Fedora End Of Life 2013-12-21 10:12:11 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2014-02-05 14:26:30 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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.


Note You need to log in before you can comment on or make changes to this bug.