Bug 1463960

Summary: anaconda fails to start during installation with ModuleNotFoundError: No module named 'pyanaconda.threads'
Product: [Fedora] Fedora Reporter: Sinny Kumari <skumari>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, dowdle, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-27.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-23 09:11:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sinny Kumari 2017-06-22 07:10:28 UTC
Description of problem:
While trying to install a latest rawhide ISO image, anaconda fails to start with 
error message ModuleNotFoundError: No module named 'pyanaconda.threads'
$ anaconda
Starting installer, one moment...
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 282, in <module>
    from pyanaconda import startup_utils
  File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 40, in <module>
    from pyanaconda import kickstart
  File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 22, in <module>
    from pyanaconda.threads import threadMgr
ModuleNotFoundError: No module named 'pyanaconda.threads'


Version-Release number of selected component (if applicable): anaconda-27.14-1.fc27

How reproducible:
* Garb a latest rawhide iso image e.g. https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20170621.n.0/compose/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-Rawhide-20170621.n.0.iso
* Boot the iso and start anaconda installation
* Fails while loading anaconda

Noticed this behavior on both x86_64 and ppc64(le). Haven't checked other arches.

Comment 1 Martin Kolman 2017-06-22 11:42:39 UTC
This should be fixed once anaconda-27.15-1 hits the composes.

Comment 2 Sinny Kumari 2017-06-23 09:11:21 UTC
Rawhide nightly compose from 20170622.n.0 seems to have anaconda-27.15-1 . Anaconda installer starts perfectly and was able to install successfully iso from 20170622.n.0 .

Comment 3 Scott Dowdle 2017-10-03 16:00:29 UTC
I'm getting this same issue on recent Fedora 26 rebuilds with anaconda-26.21.12-1.fc26.x86_64

Comment 4 Scott Dowdle 2017-10-03 16:03:22 UTC
On Fedora 26 it looks like the trouble package update was for python3-blivet-2.1.11-1.fc26.noarch which gives the following error when trying to run liveinst:

Traceback (most recent call last):
  File "/sbin/anaconda", line 577, in <module>
    blivet.enable_installer_mode()
  File "/usr/lib/python3.6/site-packages/blivet/__init__.py", line 127, in enable_installer_mode
    from pyanaconda.anaconda_logging import program_log_lock
ModuleNotFoundError: No module named 'pyanaconda.anaconda_logging'

Comment 5 Scott Dowdle 2017-10-03 16:09:53 UTC
Downgrading python3-blivet on my troubled livemedia fixes it.

Comment 6 Scott Dowdle 2017-10-03 16:32:05 UTC
Nevermind, I see this new bug report (https://bugzilla.redhat.com/show_bug.cgi?id=1497677) and they already have an updated package in updates-testing.