Bug 1011555
Summary: | AttributeError: 'YumBase' object has no attribute 'preconf' | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Todorov <atodorov> | ||||||||||||
Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | high | ||||||||||||||
Version: | 20 | CC: | admiller, anaconda-maint-list, atodorov, dshea, ffesti, firas.alkafri, g.kaviyarasu, jonathan, jstodola, mbanas, mkolman, mruckman, packaging-team-maint, pholica, robatino, sbueno, vanmeeuwen+fedora, vpodzime, zpavlas | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | abrt_hash:a14d6cb9a854aae9f28e82b6bdf1b809a0e8f99b7c187002b79324d4fdacf2c0 | ||||||||||||||
Fixed In Version: | python-blivet-0.23.7-1.fc20 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | 882279 | Environment: | |||||||||||||
Last Closed: | 2013-11-29 13:56:59 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
Alexander Todorov
2013-09-24 14:17:06 UTC
Created attachment 802263 [details]
console.log
Created attachment 802264 [details]
anaconda.log
Created attachment 802265 [details]
program.log
Created attachment 802266 [details]
storage.log
Created attachment 802267 [details]
sys.log
Does that really happen on Fedora? With some non-custom image? What are the steps to reproduce the bug? (In reply to Vratislav Podzimek from comment #7) > Does that really happen on Fedora? With some non-custom image? What are the > steps to reproduce the bug? Yeah, didn't you see the failed test job? The distro is a daily snapshot available in BRQ and it shoudn't be customized at all as far as I know. To reproduce just clone the test job from comment #6. Possibly happens only on ibm-x3550m3-04-g3.lab.eng.brq.redhat.com The YumBase object is supposed to have the _preconf attribute. Reassigning to yum. Very likely a dupe of BZ 860022 (_getConfig() re-entry due to a) recursive access to .conf from plugin setup code, or b) multi-threaded acess to .conf property without proper locking). See comment 18, 19 and 24. Reassigning back to anaconda. Brian, can you please have a look at this one? Radek, does this error look familiar? ** (anaconda:1036): CRITICAL **: nm_ip6_route_set_prefix: assertion 'prefix > 0' failed I'm speculating that something blew up in a thread and the others carried on and the preconf TB is a side-effect of that. If this only happens on ibm-x3550m3-04-g3.lab.eng.brq.redhat.com, then what is different about it? Sorry, it does not ring any bell. Maybe we could try to configure eth0 to --noipv6 in kickstart and see if it reproduces. The traceback occurs quite close after eth0 is connected: 06:17:32,846 INFO anaconda: setting <pyanaconda.ui.gui.spokes.network.NetworkSpoke object at 0x7f2580b7ec90> status to: Connected: enp0s10f0, eth0 06:17:33,204 INFO anaconda: Thread Done: AnaCustomStorageInit (139799013037824) 06:17:33,225 INFO anaconda: Running kickstart %%traceback script(s) 06:17:33,226 INFO anaconda: All kickstart %%traceback script(s) have been run The ipv6 (auto)configuration messages are suspicious. (eg 03:12:50,623 ERR NetworkManager: <error> [1379992370.623429] [rdisc/nm-lndp-rdisc.c:184] send_rs(): (eth0): cannot send router solicitation: -99.) but I can't say if they are at the root of the traceback. went into "Installation source" spoke, selected "CD/DVD drive", crashed cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Beta-TC6\x20x86_64 quiet inst.text BOOT_IMAGE=vmlinuz hashmarkername: anaconda kernel: 3.11.6-301.fc20.x86_64 package: anaconda-20.25.4-1 product: Fedora reason: AttributeError: 'YumBase' object has no attribute 'preconf' release: Cannot get release name. version: 20-Beta-TC6 went into "Installation source" spoke, selected "CD/DVD drive", crashed cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Beta-TC6\x20i386 quiet inst.text BOOT_IMAGE=vmlinuz hashmarkername: anaconda kernel: 3.11.6-301.fc20.i686 package: anaconda-20.25.4-1 product: Fedora reason: AttributeError: 'YumBase' object has no attribute 'preconf' release: Cannot get release name. version: 20-Beta-TC6 Both of the above were generated by attempting a text install from the 20 Beta TC6 DVD, and going into the "Installation source" spoke and selecting "CD/DVD drive". This is the default for a DVD install, so one normally wouldn't go into that spoke anyway, but still, this shouldn't happen. F20 TC6 text based installation on bare metal from a USB stick created by DD. Filled out spokes until "Installation Source," without a problem. Upon selecting CD/DVD for the installation source, yum threw an error. "Exception yum.Errors.RepoError: RepoError() in <bound method YumBase.__del__ of <yum.YumBase object at 0x7fb8f8e62f90>> ignored " Installation couldn't continue due to installation spoke not being complete - eventually crashed (after 30 minutes or so). cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Beta-TC6\x20x86_64 quiet inst.text BOOT_IMAGE=vmlinuz BOOT_IMAGE=vmlinuz hashmarkername: anaconda kernel: 3.11.6-301.fc20.x86_64 package: anaconda-20.25.4-1 product: Fedora reason: AttributeError: 'YumBase' object has no attribute 'preconf' release: Cannot get release name. version: 20-Beta-TC6 (In reply to Andre Robatino from comment #16) > Both of the above were generated by attempting a text install from the 20 > Beta TC6 DVD, and going into the "Installation source" spoke and selecting > "CD/DVD drive". This is the default for a DVD install, so one normally > wouldn't go into that spoke anyway, but still, this shouldn't happen. If you can, please give this updates.img a try against RC2 http://bcl.fedorapeople.org/updates/1011555.img I was able to generate what seems to be the same error using the 20 Beta RC2 i386 DVD and your updates.img. Unfortunately, I couldn't see the numbers of the choices I was offered, since a call trace happened after printing the numbers, and when I tried to scroll up to see them, they weren't there. I just guessed and entered "1", and it created a new bug https://bugzilla.redhat.com/show_bug.cgi?id=1028245 . I don't know if that means it's a different problem. Thanks, it's the same general problem, but caused in a different way. I have updated the 1011555.img, if you have a chance, please try it again. With the new 1011555.img, I can't reproduce the crash in bug 1028245 (see https://bugzilla.redhat.com/show_bug.cgi?id=1028245#c14 ). This bug I only hit without the updates.img, so can't test it without an updated install image. anaconda-20.25.10-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/anaconda-20.25.10-1.fc20 Package anaconda-20.25.10-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-20.25.10-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21928/anaconda-20.25.10-1.fc20 then log in and leave karma (feedback). Package python-blivet-0.23.6-1.fc20, anaconda-20.25.11-1.fc20, pykickstart-1.99.48-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-blivet-0.23.6-1.fc20 anaconda-20.25.11-1.fc20 pykickstart-1.99.48-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21928/pykickstart-1.99.48-1.fc20,python-blivet-0.23.6-1.fc20,anaconda-20.25.11-1.fc20 then log in and leave karma (feedback). python-blivet-0.23.7-1.fc20, anaconda-20.25.12-1.fc20, pykickstart-1.99.48-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |