Bug 626876 - Satellite/Spacewalk upgrade need notes on KS Partitioning change
Summary: Satellite/Spacewalk upgrade need notes on KS Partitioning change
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 540
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Martin Minar
Whiteboard: Fixed in the 5.4.0 Release - GA'd 201...
Depends On:
Blocks: sat540-blockers sat540-upgrades
TreeView+ depends on / blocked
Reported: 2010-08-24 15:47 UTC by Partha Aji
Modified: 2016-07-04 00:55 UTC (History)
5 users (show)

Fixed In Version: rhn-upgrade-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-10-28 15:03:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Partha Aji 2010-08-24 15:47:15 UTC
As of https://bugzilla.redhat.com/show_bug.cgi?id=593896 we moved the Kickstart Partitioning section of a KS profile from it being commands to a blob in rhnKsData. 
To massage the existing data an upgrade script http://git.fedorahosted.org/git/?p=spacewalk.git;a=blob_plain;f=schema/spacewalk/upgrade/spacewalk-schema-1.1-to-spacewalk-schema-1.2/041-update_kickstart_partitions.py was created. We need to add this to be run to the upgrade notes

We also need to ask the user to backup and delete existing kickstart files in /var/lib/rhn/kickstart/wizard ..

Comment 1 Partha Aji 2010-09-09 20:49:44 UTC
This got ported to the sql stored procs.. So this is no longer necessary.. Just make sure that when  we upgrade the partition commands look ok..

Comment 2 Milan Zázrivec 2010-09-09 20:57:56 UTC
Actually, I'd rather keep this in ASSIGNED for now, since the part about
deleting /var/lib/rhn/kickstart/wizard/* is still not part of Sat5.4 upgrades.

Comment 3 Milan Zázrivec 2010-09-22 16:21:16 UTC
Instructions to delete /var/lib/rhn/kickstart/wizard/* have been added
to preparations.txt document (part of rhn-upgrade package).

satellite.git master: 01457e4728111b2c672faf7f06a1e9565243701c

Comment 4 Milan Zázrivec 2010-10-06 11:38:25 UTC
Correction in instructions to delete kickstart files before upgrade:
satellite.git master: c738f34f5e4c651586bbe6d135432c0017a0f8eb

Comment 5 Miroslav Suchý 2010-10-08 09:04:32 UTC
From preparations.txt:
11. Remove Satellite cache and kickstart files:

Run as root:

    rm -fr /var/cache/rhn/*
    [ -d /var/lib/rhn/kickstarts/wizard ] && rm -f /var/lib/rhn/kickstarts/wizard/*

This is done to ensure cache and kickstart files are recreated with newer
structure after the Satellite upgrade is complete.

Comment 6 Clifford Perry 2010-10-28 15:03:42 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 

RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade

RHEA-2010:0803 - RHN Tools enhancement update

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update

RHEA-2010:0800 - RHN Satellite Server 5.4.0

Docs are available:



Note You need to log in before you can comment on or make changes to this bug.