Bug 867591

Summary: AttributeError: 'YumBase' object has no attribute 'preconf'
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1ae26c80c030912788d8f8c4bd657f1945e1c5470d616ab80b43fc2fef2c962d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 05:12:49 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Reartes Guillermo 2012-10-17 19:37:22 UTC
Description of problem:
I suspected that sitching INSTALLATION SOURCE while anaconda is resolving dependencies
for a package group is not 100% safe.

While resolving dependecies of a pakage group using CLOSEST MIRROR i swiched to DVD.


Version-Release number of selected component:
anaconda-18.16

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.16 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 600, in _configureBaseRepo
:    self._yum.preconf.releasever = self._getReleaseVersion(url)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 390, in updateBaseRepo
:    self._configureBaseRepo(storage, checkmount=checkmount)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py", line 510, in apply
:    checkmount=False)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 108, in _runSpoke
:    action.apply()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 323, in _on_spoke_clicked
:    self._runSpoke(spoke)
:AttributeError: 'YumBase' object has no attribute 'preconf'

Comment 1 Reartes Guillermo 2012-10-17 19:37:36 UTC
Created attachment 629032 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-10-17 19:37:38 UTC
Created attachment 629033 [details]
File: product

Comment 3 Reartes Guillermo 2012-10-17 19:37:40 UTC
Created attachment 629034 [details]
File: type

Comment 4 Reartes Guillermo 2012-10-17 19:37:43 UTC
Created attachment 629035 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-10-17 19:37:50 UTC
Created attachment 629036 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-10-17 19:37:52 UTC
Created attachment 629037 [details]
File: version

Comment 7 Reartes Guillermo 2012-10-17 19:37:54 UTC
Created attachment 629038 [details]
File: environ

Comment 8 Reartes Guillermo 2012-10-17 19:37:57 UTC
Created attachment 629039 [details]
File: anaconda.log

Comment 9 Reartes Guillermo 2012-10-17 19:38:00 UTC
Created attachment 629040 [details]
File: syslog

Comment 10 Reartes Guillermo 2012-10-17 19:38:02 UTC
Created attachment 629041 [details]
File: hashmarkername

Comment 11 Reartes Guillermo 2012-10-17 19:38:05 UTC
Created attachment 629042 [details]
File: packaging.log

Comment 12 Reartes Guillermo 2012-10-17 19:38:07 UTC
Created attachment 629043 [details]
File: cmdline_file

Comment 13 Reartes Guillermo 2012-10-17 19:38:09 UTC
Created attachment 629044 [details]
File: release

Comment 14 Reartes Guillermo 2012-10-17 19:38:14 UTC
Created attachment 629045 [details]
File: program.log

Comment 15 Reartes Guillermo 2012-10-17 19:52:04 UTC
Enhanced description, reproduced on another guest:

1. accept fate
2. wait some seconds for GNOME to be resolved (to avoid 864737)
3. enter INSTALLATION DESTINATION, select CLOSEST MIRROR.
4. wait for CLOSEST MIRROR to be avaiable.
5. select XFCE Destop, then return to the main hub.
6. while dependencies are being resolved, enter INSTALLATION
DESTINATION and change to DVD and return to the main hub.

Comment 16 Jesse Keating 2012-10-18 04:00:06 UTC
Perhaps we should not let you change source while we're depsolving.

Comment 17 Jesse Keating 2012-10-19 22:13:30 UTC
submitted a patch to lock out the source spoke while checking deps.  It's the easy fix for now, but we should make it thread safe.

Comment 18 Fedora Update System 2012-10-26 01:28:57 UTC
anaconda-18.21-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.21-1.fc18

Comment 19 Fedora Update System 2012-10-26 19:30:48 UTC
Package anaconda-18.21-1.fc18, pykickstart-1.99.21-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.21-1.fc18 pykickstart-1.99.21-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16868/pykickstart-1.99.21-1.fc18,anaconda-18.21-1.fc18
then log in and leave karma (feedback).

Comment 20 Adam Williamson 2012-11-23 05:12:49 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

(in Beta RC1, you definitely can't get into the source spoke while it's checking deps.)

Comment 21 Fedora Update System 2012-11-29 01:24:49 UTC
anaconda-18.32-1.fc18, pykickstart-1.99.22-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/pykickstart-1.99.22-1.fc18,anaconda-18.32-1.fc18

Comment 22 Fedora Update System 2012-12-06 07:26:53 UTC
pykickstart-1.99.22-1.fc18, anaconda-18.35-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.