Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 575400
Summary: | Preupgrade generated kickstart with an error | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Huffman <bloch> | ||||||||||||||||
Component: | preupgrade | Assignee: | Richard Hughes <richard> | ||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||
Priority: | low | ||||||||||||||||||
Version: | 12 | CC: | alex, awilliam, fedoraproject, inode0, kparal, matt, npajkovs, pedemonte, psj, rhughes, richard | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | preupgrade-1.1.5-1.fc12 | Doc Type: | Bug Fix | ||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | 2010-05-03 16:13:16 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: | 507681 | ||||||||||||||||||
Attachments: |
|
Created attachment 401440 [details]
Anaconda log
Created attachment 401441 [details]
Program log
Created attachment 401442 [details]
Storage log
Created attachment 401444 [details]
Syslog
Created attachment 401446 [details]
X log
*** Bug 578284 has been marked as a duplicate of this bug. *** Created attachment 406585 [details]
screenshot
I have just seen this issue too. My kickstart is exactly same as Adam's (apart from keyboard, lang and disk UUID).
I also attach screenshot of the error message.
This issue has been confirmed by multiple people, proposing as F13Blocker. There's definitely a bug here somewhere. But the preupgrade-generated kickstart isn't necessarily the problem. Anaconda's not supposed to be clearing disks (or asking about which disks to clear) during an upgrade. That should be pretty obvious - you don't want anything to get deleted, you want it to get upgraded. Could you try adding 'clearpart --none' to the kickstart and see if that works? Executing that command tells anaconda to skip the 'Disks to clear' screen - except since 'clearpart --none' is the default, this wasn't necessary in the past. Yes, that fixed the problem, Will, perfect. The only remaining issue is that you don't see anything until you manually switch to VT1. I have reported separate ticket about it: bug 582590. commit 741289d1c95938f3246da266d3bb08bea8685e52 Author: Richard Hughes <richard> Date: Fri Apr 16 11:25:56 2010 +0100 Add 'clearpart --none' to the kickstart, as anaconda no longer defaults to this. Fixes rh#575400 Could you try the preupgrade package here please: http://people.freedesktop.org/~hughsient/fedora/13/i386/ Could you please build package for x86_64? That would save lots of time for me. I'm afraid you forgot an end-of-line. My generated kickstart: # ks.cfg generated by preupgrade lang en_US.UTF-8 keyboard us bootloader --upgrade --location=none clearpart --noneupgrade --root-device=UUID=aaccda74-4c94-463a-8aea-f46d1c22545c reboot %post grubby --remove-kernel=/boot/upgrade/vmlinuz rm -rf /boot/upgrade /var/cache/yum/preupgrade* %end After trying to upgrade I see this error: no such option: --noneupgrade Installed 0:1.1.5-0.2.fc13. Kickstart: # ks.cfg generated by preupgrade lang en_US.UTF-8 keyboard us bootloader --upgrade --location=none clearpart --none --root-device=UUID=aaccda74-4c94-463a-8aea-f46d1c22545c upgrade reboot %post grubby --remove-kernel=/boot/upgrade/vmlinuz rm -rf /boot/upgrade /var/cache/yum/preupgrade* %end Error: no such option: --root-device preupgrade-1.1.5-0.3.fc13.noarch finally looks ok :) Fixed. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Discussed at today's blocker review meeting, we accept this as a blocker: "The installer must be able to successfully complete an upgrade installation from a clean, fully updated default installation of the previous stable Fedora release, either via preupgrade or by booting to the installer manually " https://fedoraproject.org/wiki/Fedora_13_Beta_Release_Criteria We hope the fixed build will be submitted as an update soon. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Yes, preupgrade-1.1.5-0.3.fc13.noarch worked for me as well. Just to point out the obvious, this needs to be built for F12 as well as F13... Where do I find preupgrade-1.1.5-0.3.fc13.noarch? I can't find it in cvs. (In reply to comment #20) > Where do I find preupgrade-1.1.5-0.3.fc13.noarch? I can't find it in cvs. See comment #12. Still not working. $ preupgrade /usr/lib/python2.6/site-packages/yum/__init__.py:215: UserWarning: Use .preconf instead of passing args to _getConfig warnings.warn('Use .preconf instead of passing args to _getConfig') Loaded plugins: blacklist, presto, refresh-packagekit, whiteout Detected in-progress upgrade to Fedora 13 (Branch) preupgrade-main (mirrorlist) url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=$basearch now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=i386 preupgrade (mirrorlist) url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/development/13/$basearch/os now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/development/13/i386/os unknown metadata being downloaded: repomdKIYffCtmp.xml preupgrade-rpmfusion-free-rawhide (mirrorlist) url: http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-rawhide&arch=i386 now: http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-rawhide&arch=i386 unknown metadata being downloaded: repomd9scYmItmp.xml unknown metadata being downloaded: MEMORY Fetched treeinfo from http://errors.secsup.org Failed to download installer metadata Fetched treeinfo from http://errors.secsup.org Failed to download installer metadata (In reply to comment #22) > Still not working. > Nikola, I think you should file a separate bug. as posted on 572148: Discussed at today's blocker meeting. Richard, when do you plan to submit this fix to F12 updates? It's still blocking the release of F13 until that happens. Thanks! -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers preupgrade-1.1.5-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/preupgrade-1.1.5-1.fc12 preupgrade-1.1.5-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update preupgrade'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/preupgrade-1.1.5-1.fc12 I'm still getting a traceback with preupgrade-1.1.5-1.fc12. File "/usr/bin/anaconda", line 817 in <module> import kickstart File "/usr/lib/anaconda/kickstart.py", line 21 in <module> from storage.deviceaction import * File "/usr/lib/anaconda/storage/__init__.py", line 31 in <module> import parted File "/usr/lib64/python2.6/site-packages/parted/__init__.py", line 52 in <module> from partition import Partition File "/usr/lib64/python2.6/site-packages/parted/partition.py", line 249 in <module> partitionFlag[__flag] = _ped.partition_flag_get_name(__flag) ValueError: Invalid flag provided. The kickstart file appears to be as it was intended: # ks.cfg generated by preupgrade lang en_US.UTF-8 keyboard us bootloader --upgrade --location=none clearpart --none upgrade --root-device=UUID=ef202230-5570-4fbf-95f7-fc30760ebda0 reboot %post grubby --remove-kernel=/boot/upgrade/vmlinuz rm -rf /boot/upgrade /var/cache/yum/preupgrade* %end (In reply to comment #27) > I'm still getting a traceback with preupgrade-1.1.5-1.fc12. > > File "/usr/bin/anaconda", line 817 in <module> > import kickstart > File "/usr/lib/anaconda/kickstart.py", line 21 in <module> > from storage.deviceaction import * > File "/usr/lib/anaconda/storage/__init__.py", line 31 in <module> > import parted > File "/usr/lib64/python2.6/site-packages/parted/__init__.py", line 52 in > <module> > from partition import Partition > File "/usr/lib64/python2.6/site-packages/parted/partition.py", line 249 in > <module> > partitionFlag[__flag] = _ped.partition_flag_get_name(__flag) > ValueError: Invalid flag provided. This is a different bug. please don't piggy-back onto this one. If you file it against the parted component I think that is the right place. Kamil, can you please confirm the released 0.1.5 fixes this bug (despite its other problems)? Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers preupgrade-1.1.5-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. (In reply to comment #29) > Kamil, can you please confirm the released 0.1.5 fixes this bug (despite its > other problems)? Thanks. Yes, already confirmed in Bodhi. Problem fixed. |
Created attachment 401439 [details] Kickstart generated by preupgrade Description of problem: Just tried upgrading an F12 laptop to F13 using preupgrade. The package download proceeded normally. When I rebooted, there was quite a long pause with a blank screen, after which an error message appeared: The kickstart configuration file is missing required information that anaconda cannot prompt for. Please add the following sections and try again: Disks to clear Version-Release number of selected component (if applicable): preupgrade-1.1.4-1.fc12.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: