Bug 616855 - Upgrade JON2.3.1 to JON2.4GA_QA with postgres is missing embedded JBossAS data (like alert)
Summary: Upgrade JON2.3.1 to JON2.4GA_QA with postgres is missing embedded JBossAS dat...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: Database
Version: 3.0.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: jon-sprint12-bugs 614432
TreeView+ depends on / blocked
 
Reported: 2010-07-21 14:39 UTC by Rajan Timaniya
Modified: 2010-07-21 17:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-21 15:53:25 UTC
Embargoed:


Attachments (Terms of Use)
server log (488.21 KB, text/x-log)
2010-07-21 14:39 UTC, Rajan Timaniya
no flags Details

Description Rajan Timaniya 2010-07-21 14:39:04 UTC
Created attachment 433439 [details]
server log

Description of problem:
Upgrade JON2.3.1 to JON2.4GA_QA with postgres is missing embedded JBossAS data (like alert).

Version-Release number of selected component (if applicable):
JON2.4 (build #71) version: 2.4.0.GA_QA build number: 10860:2ca5643

How reproducible:

Steps to Reproduce:
1) Install JON 2.3.1 and agent with Postgres 8.4
2) Perform operations on JON 2.3.1
 (i) Create alerts (for embedded JBossAS JVM):
     a)Name: JVM Alert  Type: JBoss AS JVM (Server)
	If Condition:  	 Availability goes DOWN
	Dampening Rule: 	Each time condition set is true
	Action Filters: 	Disable alert until re-enabled manually or by   
        recovery alert : false 
3) Stop/Down all JON2.3.1 servers
4) Keep agent running
7) Upgrade one server from JON2.3.1 to JON 2.4 (build #71) (with same
database-Postgres 8.4)
8) Verify all embedded JBossAS data
  
Actual results:
Upgrade JON2.3.1 to JON2.4GA_QA with postgres is missing embedded JBossAS data (like alert).

Expected results:
Upgrade JON2.3.1 to JON2.4 should migrate embedded JBossAS data.

Additional info:
Please refer attached server log.

JON2.3.1- Resource Key: /jon/jon2.3.1/jon-server-2.3.1.GA/jbossas/server/default

JON2.4- Resource Key: /jon/jontag71/jon-server-2.4.0.GA_QA/jbossas/server/default

Comment 1 Heiko W. Rupp 2010-07-21 15:53:25 UTC
pilhuhn: as we are "killing" the old and starting new resources for the new server, this VM is a new resource
[17:26] pilhuhn: and the installer can not know in advance which resource id it will get to migrate alerts over
and we have always said that customers will loose data on the old rhq server like collected metrics etc.

So closing...

Comment 2 John Mazzitelli 2010-07-21 17:39:31 UTC
this is documented here:

http://rhq-project.org/display/JOPR2/Upgrading+the+Server

in the big yellow box that says, in part:

"if you have a resource in inventory corresponding to the RHQ Server itself, upgrading RHQ will entail the loss of all data for that RHQ Server resource."


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