Bug 534208 (RHQ-1026) - create a servlet that is deployed in the server to server agent update binaries
Summary: create a servlet that is deployed in the server to server agent update binaries
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1026
Product: RHQ Project
Classification: Other
Component: Core Server
Version: unspecified
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-110
TreeView+ depends on / blocked
 
Reported: 2008-10-25 17:35 UTC by John Mazzitelli
Modified: 2009-11-10 21:22 UTC (History)
0 users

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


Attachments (Terms of Use)

Description John Mazzitelli 2008-10-25 17:35:00 UTC
there needs to be a new servlet deployed in the server that will provide HTTP GET access allow clients to know what version the most up-to-date agent is on and to actually download the agent binary.

For more info, see http://support.rhq-project.org/display/RHQ/Design-AgentAutoUpdate

Comment 1 John Mazzitelli 2008-10-26 07:09:23 UTC
svn rev 1846

most of the servlet is done -just need to extract the agent version info and store it so we can serve it back to agents.  either that, or get our build scripts to extract the info for us

Comment 2 John Mazzitelli 2008-10-27 23:57:22 UTC
svn rev 1853

the servlet will look for a file in rhq-downloads/rhq-agent called rhq-agent*.jar. If it finds it, it will use that as the agent update binary that gets streamed to the client when HTTP GET /agenetupdate/download

in that .jar file, servlet will assume it will find a rhq-agent-update-version.properties file - if it finds it, it will use its content (along with the server's version and build number) to create an internal file that we stream to HTTP clients when they HTTP GET /agentupdate/version.



Comment 3 John Mazzitelli 2008-10-27 23:58:33 UTC
for the most part, this servlet is done.  might be able to add more configurability to it later, specifically for the abilty to turn off agent updates.  for now, rhq-server.properties has a setting that, if you set to 0, disables agent updates for that server (i.e. HTTP clients cannot access the agentupdate/[version,download] URLs.

Comment 4 Red Hat Bugzilla 2009-11-10 20:22:08 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1026



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