Bug 867071
Summary: | NameError: global name 'anaconda' is not defined | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> | ||||||||||||||||||||||||||||||||
Component: | anaconda | Assignee: | Vratislav Podzimek <vpodzime> | ||||||||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||||||
Version: | 18 | CC: | anaconda-maint-list, awilliam, dan.mashal, dcantrell, dwa, g.kaviyarasu, hamzy, jonathan, robatino, satellitgo, stephent98, tflink, vanmeeuwen+fedora | ||||||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:cc5d05a4b8d49254a9f92b26548c4f21a41ee559d9c6a65acf83c427f6ee2653 AcceptedBlocker | ||||||||||||||||||||||||||||||||||
Fixed In Version: | anaconda-18.18-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||||||
Last Closed: | 2012-10-24 18:41:35 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: | 752660, 846990 | ||||||||||||||||||||||||||||||||||
Attachments: |
|
Description
Jesse Keating
2012-10-16 17:15:18 UTC
Created attachment 628278 [details]
File: release
Created attachment 628279 [details]
File: product
Created attachment 628280 [details]
File: type
Created attachment 628281 [details]
File: storage.log
Created attachment 628282 [details]
File: version
Created attachment 628283 [details]
File: environ
Created attachment 628284 [details]
File: anaconda.log
Created attachment 628285 [details]
File: syslog
Created attachment 628286 [details]
File: hashmarkername
Created attachment 628287 [details]
File: packaging.log
Created attachment 628288 [details]
File: cmdline_file
Created attachment 628289 [details]
File: ks.cfg
Created attachment 628290 [details]
File: anaconda-tb
Created attachment 628291 [details]
File: program.log
Already fixed upstream. Created attachment 628549 [details]
anaconda-tb-iUHPTS (18.17)
Exception while installing bootloader.
hit this on smoke 10.. im guessing smoke 11 will hopefully not have this issue. $ pylint -E ./anaconda-18.16-1/pyanaconda/bootloader.py | grep anaconda No config file found, using default configuration $ pylint -E ./anaconda-18.17-1/pyanaconda/bootloader.py | grep anaconda No config file found, using default configuration E:2143,7:writeSysconfigKernel: Undefined variable 'anaconda' $ rpm -q pylint pylint-0.25.1-1.fc17.noarch $ diff -u ./anaconda-18.16-1/pyanaconda/bootloader.py ./anaconda-18.17-1/pyanaconda/bootloader.py --- ./anaconda-18.16-1/pyanaconda/bootloader.py 2012-10-11 17:37:40.000000000 -0700 +++ ./anaconda-18.17-1/pyanaconda/bootloader.py 2012-10-16 17:09:34.000000000 -0700 @@ -2140,6 +2140,10 @@ f.write("\n") f.write("# DEFAULTKERNEL specifies the default kernel package type\n") f.write("DEFAULTKERNEL=%s\n" % kernel) + if anaconda.id.bootloader.trusted_boot: + f.write("# HYPERVISOR specifies the default multiboot kernel\n") + f.write("HYPERVISOR=/boot/tboot.gz\n") + f.write("HYPERVISOR_ARGS=logging=vga,serial,memory\n") f.close() def writeBootLoader(storage, payload, instClass): [RHEL 6] Configure new-kernel-pkg to keep tboot configuration on updates (#742885) https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-October/001643.html I did a minimal install on an x86_64 VM using the smoke10 test image and saw this during "performing post-install setup tasks" Package: anaconda-18.17 OS Release: Fedora release 18 Discussed at 2012-10-17 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-17/f18beta-blocker-review-4.2012-10-17-16.00.log.txt . This bug seems to be back in 18.17 and affecting straight-through installs, so it is accepted as a Beta blocker under criterion "The installer must be able to complete an installation using automatic partitioning to any sufficiently large target disk, whether unformatted, empty, or containing any kind of existing data" and we're setting it back to ASSIGNED. install of Mate desktop with netinstall smoke10 x86_64 failed at installin bootloader Package: anaconda-18.17 OS Release: Fedora release 18 Fixed by 2f79819d26eb481487ab338a0d211d70d79c6ac4. There is no anaconda object available in writeSysconfigKernel This change was introduced in commit c308c8978e2d27 that is a port from rhel6-branch where we use anaconda.id.bootloader instead of storage.bootloader. http://git.fedorahosted.org/cgit/anaconda.git/commit/?id=2f79819d26eb481487ab338a0d211d70d79c6ac4 Discussed at the 2012-10-24 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-24/f18beta-blocker-review-5.2012-10-24-16.01.log.txt . As we read this the bug has been fixed since at least 18.18 (the date on the commit is prior to 18.18 being built) and no new reports of this have been seen with TC5 or TC6, despite multiple people doing tests that would be expected to hit this bug. 18.19 is stable. Hence we can close this bug. It can be re-opened if anyone hits it again. |