Bug 1243543

Summary: __init__.py:102:require_version:ValueError: Namespace OSTree not available
Product: [Fedora] Fedora Reporter: Giulio 'juliuxpigface' <juliux.pigface>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, leinfeva, pomidorabelisima, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8bf0d489d7247e43443c928dc30b7428a6e57958
Fixed In Version: anaconda-23.16-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-20 16:04:32 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: 1170817    
Attachments:
Description Flags
File: environ
none
File: os_info
none
Traceback (Output of 'liveinst --updates=updates.img') none

Description Giulio 'juliuxpigface' 2015-07-15 18:17:50 UTC
Description of problem:
anaconda crashes on startup

Steps to reproduce:
1. Download Fedora-Live-Workstation-x86_64-rawhide-20150714.iso.
2. Boot the downloaded live.
3. Launch 'liveinst' (from Gnome Shell or from gnome-terminal).

Actual results:
1. anaconda crashes and abrt catches the issue.

Expected results:
1. anaconda should start properly.

Additional info:
I also encounter it if I use the workaround that adamw suggested on QA's ML {'$ liveinst --updates=www.happyassassin.net/temp/updates.img'). This patch was supposed to fix some bugs, but, since this is the first time I use this paramether, I might have misunderstood the advice.

Version-Release number of selected component:
anaconda-core-23.15-1.fc23


Additional info:
cmdline:        /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base --updates=updates.img
executable:     /sbin/anaconda
kernel:         4.2.0-0.rc2.git0.1.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Comment 1 Giulio 'juliuxpigface' 2015-07-15 18:17:53 UTC
Created attachment 1052401 [details]
File: environ

Comment 2 Giulio 'juliuxpigface' 2015-07-15 18:17:54 UTC
Created attachment 1052402 [details]
File: os_info

Comment 3 Giulio 'juliuxpigface' 2015-07-15 18:30:22 UTC
Created attachment 1052405 [details]
Traceback (Output of 'liveinst --updates=updates.img')

Comment 4 Adam Williamson 2015-07-15 18:51:42 UTC
This looks like a different crash, I hadn't got around to trying the live image yet. I'll see if I can reproduce it here.

Comment 5 Adam Williamson 2015-07-15 19:06:29 UTC
Yep, reproducible on the 2015-07-14 live image for me, I'm guessing a dependency is missing. Proposing as an Alpha blocker: "The installer must run when launched normally from the release-blocking images." - https://fedoraproject.org/wiki/Fedora_23_Alpha_Release_Criteria#Installer_must_run

Comment 6 leinfeva 2015-07-16 06:32:26 UTC
Hi guys, today i've download the 2015-07-15 image (Fedora Mate Compiz)
i give the same output error, but for some reason abrt create a new bug and not take my report as duplicate.

Adam here is my report

https://bugzilla.redhat.com/show_bug.cgi?id=1243705

regards.

Comment 7 Adam Williamson 2015-07-16 07:24:56 UTC
*** Bug 1243705 has been marked as a duplicate of this bug. ***

Comment 9 poma 2015-07-16 11:32:37 UTC
The solution is the same as for 'dracut-live',

- set it as "Requires:" in the Anaconda
  http://pkgs.fedoraproject.org/cgit/anaconda.git/commit/?id=05943e2

- make it redundant - pull it in the 'fedora-live-base.ks' also :)
  https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?id=cf11809


+1 to include such requirements in the Anaconda.

Comment 10 Brian Lane 2015-07-16 15:58:25 UTC
Actually, no, ostree is optional. We just need to move the version check.

Comment 11 Adam Williamson 2015-07-20 16:04:32 UTC
This is fixed in 23.16, the 07-17 nightly live anaconda runs fine.