Bug 1107744

Summary: ImportError: cannot import name get_raid_level
Product: [Fedora] Fedora Reporter: satellitgo
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aj.werkman, anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, lnie, pwieczkowski, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bddf9767520c4ae7550aa5929734d9d319543c90e8988ac8c6b4453bafc68e5c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-20 20:16:42 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:
Bug Depends On:    
Bug Blocks: 1043119    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

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.