Bug 1152089

Summary: [abrt] initial-setup: bootloader.py:982:GRUB:AttributeError: 'module' object has no attribute 'RAID1'
Product: [Fedora] Fedora Reporter: Laszlo Pal <vlad>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vlad, vpodzime
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a8e5cf2ab0ffe551b9af6e3967365f1d5df7a608
Whiteboard: abrt_hash:b4c8d59303a697511336180951e4292b7b5a1963
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-24 15:00:55 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: backtrace
none
File: dso_list
none
File: environ none

Description Laszlo Pal 2014-10-13 12:51:16 UTC
Version-Release number of selected component:
initial-setup-0.3.10.1-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        python -m initial_setup
executable:     /usr/lib/python2.7/site-packages/initial_setup/__main__.py
kernel:         3.16.3-200.fc20.x86_64
runlevel:       unknown
type:           Python
uid:            0

Truncated backtrace:
bootloader.py:982:GRUB:AttributeError: 'module' object has no attribute 'RAID1'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/initial_setup/__main__.py", line 96, in <module>
    ui.setup(data)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 545, in setup
    self._actions = self.getActionClasses(self._list_hubs())
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 555, in getActionClasses
    standalones = self._collectActionClasses(self.paths["spokes"], StandaloneSpoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/__init__.py", line 146, in _collectActionClasses
    standalones.extend(collect(module_pattern, path, lambda obj: issubclass(obj, standalone_class) and \
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/common.py", line 548, in collect
    __import__(module_pattern % mod_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 66, in <module>
    from pyanaconda.bootloader import BootLoaderError
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 968, in <module>
    class GRUB(BootLoader):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 982, in GRUB
    stage2_raid_levels = [mdraid.RAID1]
AttributeError: 'module' object has no attribute 'RAID1'

Local variables in innermost frame:
__module__: 'pyanaconda.bootloader'
_device_map_file: 'device.map'
name: 'GRUB'
_config_dir: 'grub'
can_update: True
stage2_must_be_primary: False
stage2_bootable: True
_config_file: 'grub.conf'
stage2_device_types: ['partition', 'mdarray']
stage2_is_valid_stage1: True
can_dual_boot: True

Comment 1 Laszlo Pal 2014-10-13 12:51:19 UTC
Created attachment 946363 [details]
File: backtrace

Comment 2 Laszlo Pal 2014-10-13 12:51:20 UTC
Created attachment 946364 [details]
File: dso_list

Comment 3 Laszlo Pal 2014-10-13 12:51:21 UTC
Created attachment 946365 [details]
File: environ

Comment 4 Vratislav Podzimek 2014-10-14 11:54:01 UTC
This seems like some version inconsistency in anaconda+blivet

Comment 5 David Shea 2014-10-14 14:18:08 UTC
Is this a freshly installed system? Please paste the output of the following command:

rpm -q anaconda python-blivet

Comment 6 David Shea 2014-10-23 18:56:19 UTC
Unable to reproduce on F20.

Comment 7 Laszlo Pal 2014-11-24 13:07:23 UTC
No it is not, but it seems this problem occurred only one time

rpm -q anaconda python-blivet
anaconda-20.25.16-1.fc20.x86_64
python-blivet-0.61.4-1.fc20.noarch

Comment 8 David Shea 2014-11-24 15:00:55 UTC
(In reply to Laszlo Pal from comment #7)
> python-blivet-0.61.4-1.fc20.noarch

The last version of python-blivet that was built for Fedora 20 was python-blivet-0.23.9-1. If you are using a newer version, built yourself or using a copr repo, it will not be compatible with the version of anaconda available in Fedora 20.