Bug 462869

Summary: Alter Channel Subscriptions Internal Server Error
Product: [Community] Spacewalk Reporter: Brian Beaudoin <bbeaudoin>
Component: WebUIAssignee: Shannon Hughes <shughes>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.2CC: cperry, mzazrivec
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-19 19:48:26 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: 456551    
Attachments:
Description Flags
Copy of the output captured in "catalina.out" none

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.