Bug 534299 (RHQ-1109)

Summary: provide server-cloud setting to disable updates
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core ServerAssignee: John Mazzitelli <mazz>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedKeywords: SubTask
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1109
Whiteboard:
Fixed In Version: 1.2 Doc Type: Bug Fix
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:    
Bug Blocks: 534300    
Attachments:
Description Flags
screenshot-1.jpg none

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)