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 1107744 - ImportError: cannot import name get_raid_level
Summary: ImportError: cannot import name get_raid_level
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:bddf9767520c4ae7550aa592973...
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-06-10 14:00 UTC by satellitgo
Modified: 2014-06-20 20:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-20 20:16:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (311.13 KB, text/plain)
2014-06-10 14:00 UTC, satellitgo
no flags Details
File: anaconda.log (4.02 KB, text/plain)
2014-06-10 14:00 UTC, satellitgo
no flags Details
File: environ (548 bytes, text/plain)
2014-06-10 14:00 UTC, satellitgo
no flags Details
File: journalctl (227.57 KB, text/plain)
2014-06-10 14:00 UTC, satellitgo
no flags Details
File: lsblk_output (2.02 KB, text/plain)
2014-06-10 14:00 UTC, satellitgo
no flags Details
File: nmcli_dev_list (1.98 KB, text/plain)
2014-06-10 14:01 UTC, satellitgo
no flags Details
File: os_info (381 bytes, text/plain)
2014-06-10 14:01 UTC, satellitgo
no flags Details
File: program.log (22.36 KB, text/plain)
2014-06-10 14:01 UTC, satellitgo
no flags Details
File: storage.log (73.33 KB, text/plain)
2014-06-10 14:01 UTC, satellitgo
no flags Details
File: ifcfg.log (2.58 KB, text/plain)
2014-06-10 14:01 UTC, satellitgo
no flags Details

Description satellitgo 2014-06-10 14:00:50 UTC
Description of problem:
boot workstation in virtualbox - click install icon

Version-Release number of selected component:
anaconda-core-21.39-2.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.39-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 53, in <module>
    from blivet.devicefactory import get_raid_level
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/common.py", line 622, in collect
    fo, module_path, module_flags)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/__init__.py", line 159, in _collectActionClasses
    standalones.extend(collect(module_pattern, path, lambda obj: issubclass(obj, standalone_class) and \
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 312, in getActionClasses
    standalones = self._collectActionClasses(self.paths["spokes"], StandaloneSpoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 302, in setup
    self._actions = self.getActionClasses(self._list_hubs())
  File "/sbin/anaconda", line 1240, in <module>
    anaconda._intf.setup(ksdata)
ImportError: cannot import name get_raid_level

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.15.0-1.fc21.x86_64
other involved packages: anaconda-gui-21.39-2.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 satellitgo 2014-06-10 14:00:52 UTC
Created attachment 907272 [details]
File: anaconda-tb

Comment 2 satellitgo 2014-06-10 14:00:54 UTC
Created attachment 907273 [details]
File: anaconda.log

Comment 3 satellitgo 2014-06-10 14:00:55 UTC
Created attachment 907274 [details]
File: environ

Comment 4 satellitgo 2014-06-10 14:00:57 UTC
Created attachment 907275 [details]
File: journalctl

Comment 5 satellitgo 2014-06-10 14:00:59 UTC
Created attachment 907276 [details]
File: lsblk_output

Comment 6 satellitgo 2014-06-10 14:01:00 UTC
Created attachment 907277 [details]
File: nmcli_dev_list

Comment 7 satellitgo 2014-06-10 14:01:01 UTC
Created attachment 907278 [details]
File: os_info

Comment 8 satellitgo 2014-06-10 14:01:03 UTC
Created attachment 907279 [details]
File: program.log

Comment 9 satellitgo 2014-06-10 14:01:05 UTC
Created attachment 907280 [details]
File: storage.log

Comment 10 satellitgo 2014-06-10 14:01:06 UTC
Created attachment 907281 [details]
File: ifcfg.log

Comment 11 satellitgo 2014-06-10 14:30:27 UTC
Another user experienced a similar problem:

liveinst in soas 20140610 root terminal

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-SoaS-x86_64-rawhide- rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         3.15.0-1.fc21.x86_64
other involved packages: anaconda-gui-21.39-2.fc21.x86_64
package:        anaconda-core-21.39-2.fc21.x86_64
packaging.log:  
product:        Fedora
reason:         ImportError: cannot import name get_raid_level
release:        Fedora release 21 (Rawhide)
version:        rawhide

Comment 12 Adam Williamson 2014-06-10 16:53:51 UTC
Another user experienced a similar problem:

Happens on startup of anaconda on 2014-06-10 Xfce x86_64 Rawhide live nightly.

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Xfce-x86_64-rawhide- rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         3.15.0-1.fc21.x86_64
other involved packages: anaconda-gui-21.39-2.fc21.x86_64
package:        anaconda-core-21.39-2.fc21.x86_64
packaging.log:  
product:        Fedora
reason:         ImportError: cannot import name get_raid_level
release:        Fedora release 21 (Rawhide)
version:        rawhide

Comment 13 Adam Williamson 2014-06-10 17:15:48 UTC
Also occurs with Workstation: proposing as an Alpha blocker per criterion "The installer must run when launched normally from the release-blocking images." , https://fedoraproject.org/wiki/Fedora_21_Alpha_Release_Criteria#Installer_must_run .

This is with anaconda-21.39-2.fc21 and python-blivet-0.55-1.fc21 . 

I believe https://git.fedorahosted.org/cgit/anaconda.git/commit/?id=4d41d2cbd4342e1f1e8e853531526954da3b6829 fixes this, and we just need a new build of anaconda for the new blivet. Setting MODIFIED.

Comment 14 lnie 2014-06-11 02:44:32 UTC
Another user experienced a similar problem:

just try to install the rawhide over vnc

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 rd.live.check quiet inst.vnc inst.vncpassword=12345678
hashmarkername: anaconda
kernel:         3.15.0-1.fc21.x86_64
package:        anaconda-21.39-1
product:        Fedora
reason:         ImportError: cannot import name get_raid_level
release:        Cannot get release name.
version:        rawhide

Comment 15 Paul Wieczkowski 2014-06-11 03:44:26 UTC
Another user experienced a similar problem:

Try install to HDD

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         3.15.0-1.fc21.x86_64
other involved packages: anaconda-gui-21.39-2.fc21.x86_64
package:        anaconda-core-21.39-2.fc21.x86_64
packaging.log:  
product:        Fedora
reason:         ImportError: cannot import name get_raid_level
release:        Fedora release 21 (Rawhide)
version:        rawhide

Comment 16 Adam Williamson 2014-06-20 20:16:42 UTC
I believe the fix has gone stable now.


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