Bug 534300 (RHQ-110)

Summary: be able to upgrade core agent jars
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: AgentAssignee: John Mazzitelli <mazz>
Status: CLOSED NEXTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: high    
Version: 1.0.1CC: jpviragine
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-110
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 534208, 534209, 534210, 534211, 534225, 534298, 534299, 534301, 534302, 534303, 534353, 534396, 536217    
Bug Blocks: 534488    

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