Bug 466785
Summary: | option to upgrade is missing from install media | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> | ||||
Component: | pungi | Assignee: | David Cantrell <dcantrell> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | dcantrell | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-10-23 20:24:11 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
John Reiser
2008-10-13 16:07:47 UTC
We probably are scanning for systems that could potentially be upgraded, but not finding any that we like and therefore skipping showing the screen. Can you attach /tmp/anaconda.log to this bug report? What's on the installed systems, and does adding the upgradeany option make the screen appear? Created attachment 320214 [details]
/tmp/anaconda.log when no upgrade offered
The anaconda log for default boot "Install or upgrade ..." with no additional parameters on kernel command line.
Adding " upgradeany" to the kernel boot command line does insert an Install/Upgrade dialog after the dialog for "choose keyboard", and the drop-down list box has 17 choices (all root partitions with a Linux system installed.) One harddrive has these systems: f9-32 f9-64 f10-32 "alpha" ub804-32 f10-64 "beta" f10-32 "beta" The other harddrive has: ub704-32 SuSE10.2-32 fc6-32 fc6-64 f7-32 f7-64 Cent50-32 Cent50-64 debian-64 f8-64 f8-32 The fact that upgradeany works, combined with the mount messages in your log file indicate we are correctly scanning the partitions. We determine if an install is upgradable by checking that the product name as provided in /etc/redhat-release on the installed system matches the product name in /.buildstamp in the anaconda image. So, "Fedora" can upgrade "Fedora". Similarly, "Fedora" can upgrade "Fedora Core" because we allow that too. The DVD images/install.img contains a /.buildstamp with "Fedora-Beta"; /etc/redhat-release from the f10-32 system has "Fedora release 9.92 (Rawhide)". Do these match? Or does the name "Fedora-Beta" on the DVD or CD mean that only a system with "Fedora-Beta" in /etc/redhat-release can be upgraded? If I re-ran pungi using "name Fedora" on the command line instead of "name Fedora-Beta", then would I be able to test upgrad install? Right, "Fedora release 9.92" does not start with "Fedora-Beta" and isn't an upgrade path that we explicitly allow in our checks so that's the problem. I believe that using a name of "Fedora" when running pungi would correct the problem. If we're going to continue using Fedora-Beta in future releases AND we plan on having an upgrade to the beta being a supported path, we need to correct this in anaconda. Otherwise we need to make sure we're using the right name when we compose. This string in .buildstamp is just the value of --product that's passed into buildinstall and therefore into mk-treeinfo and mk-images. Reassigning to pungi for now since that's what calls buildinstall, but perhaps this was just a one-time problem? Today it works for me if I compose via pungi with "--name Fedora" [note missing "-Beta"]: I am offered a chance to upgrade Fedora 9, Fedora-Beta 9.92, Red Hat 4, Red Hat 5. This is using: pungi-2.0.6-1.fc10.norach anaconda-11.4.1.50-1.x86_64 If I compose via pungi with "--name Fedora-Beta" (which is the suggested default) then I am not offered a chance to upgrade anything, not even Fedora-Beta 9.92. Suggested default? Where is this suggested? [In reply to Comment #9] During the Fedora 10 beta cycle, one of the .rpms for pungi had a manual page with the EXAMPLE "pungi -c /usr/share/pungi/rawhide-fedora.ks --destdir=/data/Fedora --name Fedora-Beta --ver 10". I copied that into my command shell command line. Er, the man page doesn't have that, and never had that. The Example line remains untouched from it's introduction into the source repository. I'm going to close this bug. |