Bug 1152089 - [abrt] initial-setup: bootloader.py:982:GRUB:AttributeError: 'module' object has no attribute 'RAID1'
Summary: [abrt] initial-setup: bootloader.py:982:GRUB:AttributeError: 'module' object ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b4c8d59303a697511336180951e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-13 12:51 UTC by Laszlo Pal
Modified: 2014-11-24 15:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-24 15:00:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.86 KB, text/plain)
2014-10-13 12:51 UTC, Laszlo Pal
no flags Details
File: dso_list (64 bytes, text/plain)
2014-10-13 12:51 UTC, Laszlo Pal
no flags Details
File: environ (128 bytes, text/plain)
2014-10-13 12:51 UTC, Laszlo Pal
no flags Details

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.


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