Bug 469161 - schema upgrade 0.2 -> 0.3 fails
Summary: schema upgrade 0.2 -> 0.3 fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Milan Zázrivec
URL:
Whiteboard:
Depends On:
Blocks: space03
TreeView+ depends on / blocked
 
Reported: 2008-10-30 11:23 UTC by Milan Zázrivec
Modified: 2009-09-17 07:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:02:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2008-10-30 11:23:25 UTC
Description of problem:
After successful yum upgrade spacewalk:

# spacewalk-schema-upgrade 
Schema upgrade: [spacewalk-schema-0.2.5-1.el5.sw] -> [spacewalk-schema-0.3.4-1.el5.sw]
Searching for upgrade path: [spacewalk-schema-0.2.5-1] -> [spacewalk-schema-0.3.4-1]
Searching for upgrade path: [spacewalk-schema-0.2.5] -> [spacewalk-schema-0.3.4]
Searching for upgrade path: [spacewalk-schema-0.2] -> [spacewalk-schema-0.3]
Was not able to find upgrade path in directory [/etc/sysconfig/rhn/schema-upgrade].

# ls -l /etc/sysconfig/rhn/schema-upgrade/
total 16
lrwxrwxrwx 1 root root    27 Oct 30 11:57 rhn-satellite-schema-5.1-to-spacewalk-schema-0.2 -> satellite-5.1-spacewalk-0.2
drwxr-xr-x 2 root root 12288 Oct 30 11:57 satellite-5.1-spacewalk-0.2
drwxr-xr-x 2 root root  4096 Oct 30 11:57 spacewalk-0.2-spacewalk-0.3

Supposedly spacewalk-schema-upgrade is unable to find upgrade path
because of missing link in /etc/sysconfig/rhn/schema-upgrade
spacewalk-schema-0.2.5-1-to-spacewalk-schema-0.3.4-1 pointing to
spacewalk-0.2-spacewalk-0.3

Version-Release number of selected component (if applicable):
spacewalk-schema-0.3.4-1.el5.sw

Comment 1 Jan Pazdziora 2008-10-30 13:14:24 UTC
Added the missing symlink, commits 04111dcbd0ef4a329a32589180cb85d6b2762506 and
1eb90beaa5a61b34f4ddf5b86ac071b59852f965.

Comment 2 Jan Pazdziora 2008-10-30 13:30:52 UTC
Packages spacewalk-schema-0.3.5-1.el[45].sw tagged and built.

Comment 3 Milan Zázrivec 2008-11-04 14:38:15 UTC
Problem was fixed in spacewalk-schema-0.3.5-1 -> Verified.

Comment 4 Miroslav Suchý 2009-09-17 07:02:25 UTC
Spacewalk has been released for some time.


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