Bug 471232

Summary: support specifying partition to upgrade via kickstart
Product: [Fedora] Fedora Reporter: Jeremy Katz <katzj>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: andrew_dockery, atodorov, chemobejk, dan, irishmangoes, pjones, rmaximo, rvykydal, stig-redhat-bugzilla, tcallawa, vanmeeuwen+fedora, wwoods
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-17 19:35:45 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: 446451, 473016    
Attachments:
Description Flags
git formatted patch none

Description Jeremy Katz 2008-11-12 15:40:31 UTC
We need to add support to the 'upgrade' keyword for specifying what the rootfs to upgrade is rather than just blindly assuming "first in the list".  This can then get used by preupgrade so that the right rootfs gets upgraded.

Comment 1 Bug Zapper 2008-11-26 05:15:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Jon Stanley 2008-11-26 19:13:41 UTC
Fixing version to align with rawhide again.  Sorry for the noise.

Comment 3 Will Woods 2008-12-05 18:05:11 UTC
*** Bug 474304 has been marked as a duplicate of this bug. ***

Comment 4 Chris Lumens 2008-12-11 22:44:36 UTC
*** Bug 473271 has been marked as a duplicate of this bug. ***

Comment 5 Chris Lumens 2008-12-22 15:15:46 UTC
*** Bug 477509 has been marked as a duplicate of this bug. ***

Comment 6 Chris Lumens 2009-01-07 16:57:01 UTC
This support will be included in the next build of anaconda and pykickstart.

Comment 7 Will Woods 2009-03-13 21:07:26 UTC
This isn't working in anaconda-11.5.0.28; error dialog claims "Kickstart command upgrade does not take any arguments".

Moving to pykickstart; I'm pretty sure that's where this message comes from.

Comment 8 Will Woods 2009-03-16 16:33:30 UTC
Created attachment 335372 [details]
git formatted patch

anaconda's kickstart.py is still using the FC3_Upgrade.parse() method to parse the 'upgrade' command. Attached patch should fix that.

Comment 9 Chris Lumens 2009-03-16 16:45:18 UTC
Well that was stupid of me.

Thanks for the patch.  I've pushed this to master and storage, so we'll make sure to have it regardless of what we do with the storage stuff.

Comment 10 Stefan Becker 2009-03-22 08:06:31 UTC
Any idea when preupgrade will add support to generate --root-device to ks.cfg? I just checked trac and in preugprade/__init__.py@dev,286 generate_kickstart() still hard codes a simple "upgrade".

Comment 11 Radek Vykydal 2009-06-10 13:28:27 UTC
I noticed that the feature seem to be removed with anaconda storage rewrite (commit e1a7fe9887886044b07587b3ec2caa2ff53ebfb2).

Comment 12 Alexander Todorov 2009-06-10 14:37:07 UTC
Radek,
QE is also planning to make use of this feature. Can you add it back to the code please.

Comment 13 Radek Vykydal 2009-07-20 11:56:26 UTC
Should appear in version 12.0-1 of anaconda.

Supports partition name (e.g. 'sda1', or 'Volgroup00-LogVol00') and
UUID specified via 'UUID=<uuid>' (as obtained by blkid command).

Comment 15 Tom "spot" Callaway 2009-09-14 16:22:08 UTC
Can someone confirm that this is present and functional in rawhide? And if so, please close this bug out.

Comment 16 Bug Zapper 2009-11-16 09:35:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping