Description of problem:
If there is a new property in the plugin or resource configuration, it is required to provide a default value in the plugin descriptor otherwise the upgrade of the plugin fails.
I believe that is not the case for all apache plugin properties which can potentially cause problems during upgrade.
Version-Release number of selected component (if applicable):
RHQ 1.3.x to RHQ y
Steps to Reproduce:
1. Inventory some apache instance using RHQ 1.3.1
2. Upgrade the server to RHQ y (where y >= 3), keep the data
The upgrade fails
the upgrade succeeds
the workaround is to uninventory the apache instance before the attempt to upgrade
This has only been fixed in RHQ 4.1.0-SNAPSHOT so the "y" in the repro-steps needs to be at least that version.
Author: Lukas Krejci <email@example.com>
Date: Thu Jun 16 19:31:13 2011 +0200
BZ 711135 - define defaults to all required properties in the apache plugin configuration so that upgrade of the plugin on the server succeeds.
Inventoried Apache in JON231GA build and verified upgrading to Version: 4.1.0-SNAPSHOT Build Number: c57ee65
The upgrade was successful. Marking as verified.
marking VERIFIED BZs to CLOSED/CURRENTRELEASE
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE