Bug 534300 (RHQ-110) - be able to upgrade core agent jars
Summary: be able to upgrade core agent jars
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-110
Product: RHQ Project
Classification: Other
Component: Agent
Version: 1.0.1
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On: RHQ-1026 RHQ-1027 RHQ-1028 RHQ-1029 RHQ-1041 RHQ-1108 RHQ-1109 RHQ-1110 RHQ-1111 RHQ-1112 RHQ-1158 RHQ-1197 RHQ-591
Blocks: RHQ-1280
TreeView+ depends on / blocked
 
Reported: 2008-03-14 18:25 UTC by John Mazzitelli
Modified: 2009-11-10 21:22 UTC (History)
1 user (show)

Fixed In Version: 1.2
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2008-03-14 18:25:00 UTC
It would be really nice if the agent could update/upgrade itself.

If a plugin container, agent or third party dep jar is upgraded, you have to manually upgrade the agent yourself.  It would be cool if we had a "agent upgrade" feature that lets the agent download upgrade jars from the server, in a similar manner how it does it for plugin jars now.

Comment 1 John Mazzitelli 2008-10-10 17:34:39 UTC
should try to get this done for 1.2 release

Comment 2 John Mazzitelli 2008-10-10 17:43:28 UTC
link back to forum thread I started on this: http://forums.rhq-project.org/viewtopic.php?f=5&t=91

Comment 3 John Mazzitelli 2008-10-25 05:55:07 UTC
First round of design discussions complete.

See:

http://support.rhq-project.org/display/RHQ/Design-AgentAutoUpdate

Comment 4 John Mazzitelli 2008-12-12 07:00:55 UTC
svn rev2340 is the first checkin that contains the code where the agent actually spawns another process to run the update. still not done, but I saw it work once, so I know I'm close :)

Comment 5 John Mazzitelli 2008-12-18 02:26:34 UTC
svn rev 2437 - restarts the agent after the update is complete

Comment 6 John Mazzitelli 2008-12-18 17:56:26 UTC
I think with svn rev 2457, that finishes the agent auto-upgrade.

This is just the first attempt, there needs to be alot of testing on this stuff.

Comment 7 John Mazzitelli 2009-01-10 19:57:50 UTC
I tested agent auto-upgrade on windows and linux successfully.

Here's some info on how to test this:

http://support.rhq-project.org/display/RHQ/Design-AgentAutoUpdate#Design-AgentAutoUpdate-Testing

Comment 8 Corey Welton 2009-01-26 18:45:12 UTC
QA Verified, this feature has been tested.


Comment 9 Red Hat Bugzilla 2009-11-10 20:24:10 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-110
This bug is incorporated by RHQ-550



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