Bug 534299 (RHQ-1109) - provide server-cloud setting to disable updates
Summary: provide server-cloud setting to disable updates
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1109
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-11-12 21:38 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)
screenshot-1.jpg (32.73 KB, image/jpeg)
2008-11-13 04:52 UTC, John Mazzitelli
no flags Details

Description John Mazzitelli 2008-11-12 21:38:00 UTC
We need to add a setting to the SystemConfiguration (RHQ_SYSTEM_CONFIG) - a flag that turns on and off the agent's ability to download the agent updates.


Comment 1 John Mazzitelli 2008-11-13 04:52:12 UTC
to test that this functionality works:

1) go to Administration > ServerConfiguration and choose the "no" radio button for the "Enable Agent Auto-Updates:" (i.e. disable auto-updates)

2) point your browser to http://localhost:7080/agentupdate/download and see that you get a HTTP error code 403 "Agent Updates Has Been Disabled" (see attached screen snapshot for the kind of thing you should see)

3) Go back to the UI and choose the "yes" radio buttno (enable auto-updates)

4) go back to your browser, submit a request to that URL again and see that you can download the binary with an HTTP status code of 200.

Comment 2 Red Hat Bugzilla 2009-11-10 20:24:09 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1109
Imported an attachment (id=368493)



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