+++ This bug was initially created as a clone of Bug #618214 +++ Created attachment 434408 [details] server log Description of problem: Upgrade JON2.3.1 to 2.4 lost 'SNMP Server Configuration Properties' data ('SNMP protcol version' & 'Trap OID'). Version-Release number of selected component (if applicable): version: 2.4.0.GA_QA (build #78) build number: 10888:29722f6 How reproducible: Always Steps to Reproduce: 1) Install JON 2.3.1 and agent 2) Administration > System Configuration > Settings 3) Set 'SNMP Server Configuration Properties' SNMP Protocol Version: 2c Trap OID: 1.3.6.1.4.1.8072.4.0.1 Community: public 4) Down JON server 2.3.1 (Keep agent running) 5) Upgrade JON 2.3.1 to 2.4 (build #78) 6) Log-in to upgraded JON 2.4 (build #78) 7) Goto Server Settings > Installed Plugins >Server Plugins Configuration > Alert:SNMP 8) Refer Plugin configuration Actual results: Upgrade JON2.3.1 to 2.4 lost 'SNMP Server Configuration Properties' data ('SNMP protcol version' & 'Trap OID'). Expected results: Upgrade JON2.3.1 to 2.4 should not lost 'SNMP Server Configuration Properties' data. Additional info: Please refer attached server log. --- Additional comment from hrupp on 2010-07-26 10:21:34 EDT --- Manual upgrade steps for RHQ 3 are documented in https://bugzilla.redhat.com/show_bug.cgi?id=618214 We will re-visit this in master. --- Additional comment from hrupp on 2010-08-05 07:06:44 EDT --- *argh* Comment 1 has the wrong link. This one is the right one: https://bugzilla.redhat.com/show_bug.cgi?id=618265 --- Additional comment from hrupp on 2010-08-06 12:57:03 EDT --- Code added in master at version 5b29f99 --- Additional comment from rtimaniy on 2010-08-12 09:31:18 EDT --- As discuss with Heiko, the bug will be tested on JON 2.4.1 build, its known issue of JON 2.4
We should see if we can port the fix from master to the release3 branch
The original bug failed QA so this'll have to wait a bit more...
Note: make sure to test this with both postgres and oracle databases. commit db5e575b035e1416d88a0c27169da46bf0cbee65 Author: Lukas Krejci <lkrejci> Date: Wed Dec 1 15:06:31 2010 +0100 BZ 618214 - Create a temporary entry in RHQ_PLUGIN table for the snmp-alert plugin in case we need to add something to its configuration during db-upgrade. Once the server starts up, the temporary entry will get overwritten by the "real stuff".
Verified on jon241 build#34 After upgrade from Jon2.3.1 to Jon2.4.1, the SNMP server configuration properties (SNMP Protocol Version: 2c Trap OID: 1.3.6.1.4.1.8072.4.0.1 Community: public) are displayed at Administration > System Configuration > Settings->Server Plugins Configuration Properties->Configure Server Plugins->Alert:SNMP This is verified on both postgres and oracle databases. Please refer the attached screenshot.
Created attachment 464571 [details] Screenshot
Bookkeeping - closing bug - fixed in recent release.