Bug 462869 - Alter Channel Subscriptions Internal Server Error
Summary: Alter Channel Subscriptions Internal Server Error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Shannon Hughes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space03
TreeView+ depends on / blocked
 
Reported: 2008-09-19 13:04 UTC by Brian Beaudoin
Modified: 2008-09-19 19:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-19 19:48:26 UTC
Embargoed:


Attachments (Terms of Use)
Copy of the output captured in "catalina.out" (22.30 KB, text/plain)
2008-09-19 13:04 UTC, Brian Beaudoin
no flags Details

Description Brian Beaudoin 2008-09-19 13:04:41 UTC
Created attachment 317189 [details]
Copy of the output captured in "catalina.out"

Description of problem:

After upgrading from 0.1 to 0.2, the Alter Channel Subscriptions page displays "Internal Server Error".

How to reproduce:

1. Install and configure Spacewalk 0.1 and Oracle XE.
2. Log into Spacewalk, create a parent channel with a child channel and an activation key.
3. Register clients with the activation key.
4. Upgrade Spacewalk to version 0.2.
5. Open a system and click on "Alter Channel Subscriptions".

Expected Result:  The "Alter Channel Subscriptions" page would be displayed.

Actual Result:  An "Internal Server Error" page is displayed.

Additional info:

An excerpt from "catalina.out" was attached as "catalina.txt" showing the SQL statements leading up to the exception error, "Could not initialize class com.redhat.rhn.domain.rhnpackage.PackageFactory".

Comment 1 Milan Zázrivec 2008-09-19 13:25:08 UTC
I think the reason you see the error is that you've upgraded your spacewalk
packages but haven't upgraded the database schema.

The schema upgrade scripts you need for Spacewalk 0.2 haven't been released
yet, but will be made available (along with upgrade documentation) to the public
shortly.

Right now the only way you can have running Spacewalk 0.2 is a new installation.

Comment 2 Brian Beaudoin 2008-09-19 13:37:57 UTC
Understood.  There was a previous Traceback email that stated "table or view does not exist"; however, I've been unable to reproduce that error.  Looking forward to the upgrade documentation and scripts.

Comment 3 Clifford Perry 2008-09-19 19:16:14 UTC
Question - so you have upgraded schema now and error gone?

Comment 4 Brian Beaudoin 2008-09-19 19:27:22 UTC
Yes, the upgraded schema works.  Thank you very much for your assistance.


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