Red Hat Bugzilla – Bug 595802
During a server upgrade process, changes made on the agent are lost.
Last modified: 2010-08-12 12:48:45 EDT
Take a 1.3 RHQ server and upgrade to 3.0
Remote comm services show exceptions:
2010-05-25 16:26:53,627 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jboss-remoting-servlet-invoker].[ServerInvokerServlet]] Servlet.service() for servlet ServerInvokerServlet threw exception
java.io.InvalidClassException: org.rhq.core.domain.configuration.Configuration; Serializable incompatible with Externalizable
java.io.InvalidClassException: org.rhq.core.domain.measurement.MeasurementReport; Serializable incompatible with Externalizable
This is an expected error. The serial compatibility of many of the domain objects as been broken. The agent, once it is upgrade, is supposed to detect that the .dat file is no good and start up clean.
See log file of https://bugzilla.redhat.com/show_bug.cgi?id=595727
About comment #1: this means that users will loose all measurement data and config changes since shutting down the old server and having started the new one. We need to highlight this in the release notes.
Ok, this is reasonable and just needs to be documentated
Assigning to Deon for documentation purposes.
Deon, please ping me for input.
This is in the release notes as a known issue for upgrade/install:
I also have a warning note alluding to the monitoring data loss in the upgrade section of the install guide:
Changing to ON_QA.
BTW: this has always been documented on our community wiki page here in the yellow box:
"Loss of Data
Loss of minimal monitoring data is inevitable given the down-time involved in shutting down instances of the RHQ Agents during the upgrade process. In addition, if you have a resource in inventory corresponding to the RHQ Server itself, upgrading RHQ will entail the loss of all monitoring data for that resource."
QA Verified these changes.
Mass-closure of verified bugs against JON.